I'm proud to introduce the Tomcat extension for JDeveloper (which can be used for other servers too*).

Here is a little video of the extension at work.
This extension will let you start/stop and start in debug mode an external server such as Tomcat directly from inside JDeveloper.
You can then use the regular one-click deploy and remote debug to run/debug your application on that server.
To install the extension just use help->check for update from inside JDeveloper 11g. (or get it from Here)
Then go into Tools->Preferences->Tomcat and insert the names of 3 bat files that will start/stop/and start debug your server.
An example of these files on my machines are:
mystart.bat
set CATALINA_HOME=C:\apache-tomcat-6.0.18
C:\apache-tomcat-6.0.18\bin\startup.bat
myshutdown.bat
set CATALINA_HOME=C:\apache-tomcat-6.0.18
C:\apache-tomcat-6.0.18\bin\shutdown.bat
mystartdbg.bat
SET JPDA_ADDRESS=4000
SET JPDA_TRANSPORT=dt_socket
SET CATALINA_HOME=C:\apache-tomcat-6.0.18
C:\apache-tomcat-6.0.18\bin\catalina jpda start
I built this extension mostly as another sample for extension development capabilities. I'll post another blog entry highlighting some of the things it shows about extension development. You can download a JDeveloper project with the source for the extension from here - feel free to improve it (especially the Tomcat icons).
*While the extension is called the tomcat extension, you can use it for any other server that you can invoke with bat files - just point to them in the tomcat preferences.
Enjoy,
Shay
P.S. - looking for tips on getting ADF 11g to work on Tomcat see Dana's blog, and this OTN Thread.
Comments (5)
That's great. Tomcat is much light-weighted for debugging. Thanks!
Posted by Jesse Hu | January 7, 2009 6:27 PM
Posted on January 7, 2009 18:27
Hi Shay,
I heard some rumours that Oracle has some ideas to open source adf and adf bc else there is no need to use tomcat. WLS is really the best and you get the ADF runtime license with WLS for free.
thanks Edwin
Posted by Edwin Biemond | January 8, 2009 2:29 PM
Posted on January 8, 2009 14:29
Sweet, I am downloading Jdeveloper and having the extension will help as I want to run the project I am developing in Tomcat (being light weight). Thanks.
Posted by Madhukar | January 25, 2009 12:50 AM
Posted on January 25, 2009 00:50
Would it run on Linux?
Posted by Adeel Ansari | January 28, 2009 11:52 PM
Posted on January 28, 2009 23:52
hi Shay
Looks like the support matrix has changed regarding Tomcat support by JDeveloper 11g.
See also this forum message http://forums.oracle.com/forums/message.jspa?messageID=3251034#3251034
regards
Jan Vervecken
Posted by Jan Vervecken | February 2, 2009 1:23 PM
Posted on February 2, 2009 13:23