Saturday, August 21, 2010

Eclipse & Tomcat

Eclipse- It's one of my favorite IDE to work in Java. It not only has support to Java/J2EE but also to SOA which is a technology on demand. So start using eclipse to make your java/j2ee coding easier as it displays code snippets along with your favorite webserver-TOMCAT.
Installation of Eclipse with Tomcat Plugin made Easier





  • Download Eclipse Ganymede from the below site
  • http://www.eclipse.org/ganymede/
  • Extract the zip file,that's it eclipse is ready to use.
  • Double click on the "Eclipse" icon (Eclipse.exe) to open Eclipse  
  • Now to install the webserver tomcat
  • Follow the link :www.eclipsetotale.com/tomcatPlugin.html
  • Extract the sysdeo tomcat plugin to your eclipse plugin folder (for eg. C:/Program Files/eclipse/plugins)
  • Now, quit your eclipse incase if it's running and restart by typing the folowing in cmd prompt
  • Move to the folder where eclipse in installed C:/Program files/Eclipse > Eclipse.exe -clean
  • This will restart eclipse and now you can see your tomcat plugin installed by traversing through
  • Windows >Preference >Tomcat
  • Now, select the version of tomcat 5.x
  • Set the context declaration mode as :Context Files
  • and context directory as C:\Program Files\tomcat\apache-tomcat-5.5.29\conf\Catalina\localhost
  • Now, You can see 3 icons appearing in the tools bar of eclipse(start,stop and restart tomcat)
  • you can start the tomcat by clicking on start tomcat button
  • Open a browser and type http://localhost:8080/, if you see the tomcat startup page then that's it VOILA!!!!!! 
  • Your tomcat is set with eclipse.


No comments:

Post a Comment