Tomcat Extensions for JDeveloper 11g

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. Note -for JDeveloper 11.1.2 and onward get this version)
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:


set CATALINA_HOME=C:\apache-tomcat-6.0.18


set CATALINA_HOME=C:\apache-tomcat-6.0.18


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.


P.S. - looking for tips on getting ADF 11g to work on Tomcat see Dana's blog, and this OTN Thread.

Here is the video showing the extension in action:


That's great. Tomcat is much light-weighted for debugging. Thanks!

Posted by Jesse Hu on January 07, 2009 at 10:27 AM PST #

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 on January 08, 2009 at 06:29 AM PST #

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 on January 24, 2009 at 04:50 PM PST #

Would it run on Linux?

Posted by Adeel Ansari on January 28, 2009 at 03:52 PM PST #

hi Shay Looks like the support matrix has changed regarding Tomcat support by JDeveloper 11g. See also this forum message regards Jan Vervecken

Posted by Jan Vervecken on February 02, 2009 at 05:23 AM PST #

Hi, i have JDeveloper 11g and apache tomcat, i follow all your instructions but... When i go to start apache tomcat and i have a shell that says: Catalina Home variable is not defined correctly, and bla bla bla

Posted by butty_0 on December 16, 2009 at 06:46 AM PST #

butty_0, make sure you defined this environment variable in the scripts you created to start the server. Make sure the script works outside of JDeveloper before you try to start it from inside JDeveloper.

Posted by shay on December 16, 2009 at 06:50 AM PST #

Does this support hot deploy like with the integrated weblogic server? i.e. to make code changes while debugging?

Posted by Don on June 17, 2010 at 06:47 AM PDT #

Hello Shay, congratulations for your work, really helpful. I wonder if you can offer us a version of that extension to glassfish, because I'm having trouble adapting it. Sincerely, Milani.

Posted by João Milani on December 08, 2010 at 10:32 PM PST #

Nice work on JDev! Will this extension be updated, too? I notice it isn't (yet) available through the update facility.

Posted by dcbyron on June 08, 2011 at 06:39 AM PDT #

I don't have any option "Tomcat" in Tools>Preferences after installing extension form zip archive.

Posted by guest on June 11, 2011 at 06:51 AM PDT #

Guest - not enough details to help you here. Which version of JDeveloper are you using? how did you install the extension? Does it appear in your tools->preferences->extensions?

DCbyron - I still need to do a little work on the extension to get it to work with the new infrastructure of 11.1.2.

Posted by Shay on June 13, 2011 at 07:26 AM PDT #

i download the extensions and i use JDeveloper 11g
how can i install extentions and add them to Jdeveloper

Posted by guest on August 17, 2011 at 12:07 PM PDT #

guest - in general you can use the help->check for update and point to the local zip file - this will install the extension.
Note that this extension hasn't been updated to support the 11.1.2 version of JDeveloper.

Posted by Shay on August 22, 2011 at 06:55 AM PDT #

Note - the new version for JDeveloper 11.1.2 is now available here -
Thanks to John Brock from

Posted by Shay on August 24, 2011 at 09:06 AM PDT #

Hi~It is a good extension
I have follow the video but I can not see
Deploy->webapp->to tomcat
How to get it?

Posted by guest on August 28, 2011 at 03:07 AM PDT #

guest - to get the deploy to tomcat option - first define a connection to a Tomcat server in the "Application Server Navigator".

Posted by Shay on August 29, 2011 at 10:25 AM PDT #

Hello Shay,

Good job on the extension. Is it possible to post the source for the 11.1.2 version of the extension? It looks like the source is posted for the original version of the plugin, but not for the updated version. Thanks.

Posted by sgj109 on September 21, 2011 at 07:36 AM PDT #

I have managed to set up my and it works!!!

Posted by guest on February 14, 2013 at 11:26 PM PST #


tomcat server is running in Unix,and jdev is running in windows machine.
can i debug tomcat in jdev.
if so how..??

Posted by guest on June 10, 2013 at 10:40 PM PDT #


down vote
favorite I am a newbie. I am trying to publish procedures which return refcursor as webservice. As webservices do not support ref cursor return type so I chnaged the return type to pl/sql table. I created the jax rpc in Jdeveloper studio and tested it. This runs ok. I need to deploy it on tomcat server and am failing completely. I copied the war file generated by Jdeveloper to the webapps directory in Tomcat and started Tomcat but this didnot work. java.lang.ClassCastException: omsdevconn.MyWebServicetomcatUser cannot be cast to javax.servlet.Servlet

If someone has done it then can I get the steps for the process to deploy it on Tomcat 6.0.37

Thanks in advance Subodh

Posted by guest on June 11, 2013 at 03:23 AM PDT #

guests - I think you should be able to get remote debugging working with a tomcat server remotely as long as you define the server and port number correctly.

guest2 - I'm not sure which class is missing but it seems to be some class loading order on your tomcat server.

Posted by shay on June 11, 2013 at 09:35 AM PDT #

Thanks a lot! It happened I had to use JDeveloper to upgrade some java web projects quickly. Your post helped me to solve my issues.

Posted by Alexey Slepov on October 24, 2013 at 06:49 AM PDT #

I have Jdev and I installed the extension from the Jdeveloper Help--> Check for updates and found tomcat extension and it said jdeveloper needs to be restarted for that. After restart, it does not do anything. Couldn't find it in prefreces also. So, i guess it didn't install?

Posted by guest on July 28, 2015 at 01:52 PM PDT #

I have Jdev May I know the extension can be used with it?

Posted by guest on December 08, 2015 at 11:13 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

I'm a Director of Product Management for the Oracle Mobile and Development Tools.
Follow me:

« February 2016