Tuesday, October 1, 2013

Apache Tomcat Not Showing in Eclipse Server Runtime Environments

I have tomcat 5.5 installed, running and verifiable at http://localhost:8080/. The Tomcat menu option appears in the Eclipse menu bar and I can start and stop Tomcat from there. In Eclipse, it does not show as a Server Runtime Environment in Window - Preferences - Server - Runtime Environments, nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library In my case I needed to install "JST Server Adapters". I am running Eclipse 3.6 Helios RCP Edition. Here are the steps I followed: Help -> Install New Software Choose "Helios - http://download.eclipse.org/releases/helios" site Expand "Web, XML, and Java EE Development" Check JST Server Adapters (version 3.2.2) After that I could define new Server Runtime Environments. EDIT: With Eclipse 3.7 Indigo Classic, the steps are the same but you need both JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options. Also works with Eclipse 4.2 M6. Don't forget to install the "JST Server Adapters Extenstion"