This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have Eclipse3.6(Helios) Version in which I installed plugins for AppEngine and GWT. I also want to configure Tomcat5.5 but dont know what plugin to install. I have Tomcat already installed in my system and it is working fine outside eclipse. I also don't see a Server tab in Window->Show View. How can I get that. With that can I configure any other server like Weblogic, JBoss etc. Please help.
I have downloaded eclipse from www.eclipse.org site. The Helios version(eclipse3.6). The link you've provided in your answer is giving error while downloading. Please let me know correctly where should I download eclipse from and from where should I get the plugins and also which version I can use with Tomcat. The link you've given is I think for MyEclipse.
From the link you gave, I could download the plugins and Tomcat could be configured in my eclipse. Thank You very much. I could see three Tomcat icons in the toolbar after installing-Start Tomcat, Stop Tomcat and Restart Tomcat. Anyways, I still don't see any Servers tab in Show View. Is it only visible in MyEclipse? How can I deploy my files into Tomcat webapps folder automatically from eclipse?
Kv Payal wrote: Anyways, I still don't see any Servers tab in Show View. Is it only visible in MyEclipse? How can I deploy my files into Tomcat webapps folder automatically from eclipse?
With the sysdeo plugin, the server tab doesnt come into the picture. Just configure your plugin for your tomcat installation (check the installation part in the link I provided). Then use the three icons to start/stop/restart. The output will be visible in your eclipse console.
To deploy your war you will need an ant script. You cannot do it with the plugin. It will only build the war for you.BUT, in dev environment, you need not deploy your war at all. The plugin hotlinks to Tomcat so your code is already being served from Tomcat. Check out the Hello World tutorial in the link
Joined: Apr 17, 2011
As mentioned in the Hello World tutorial link to create Tomcat project, I dont see that option in my eclipse. I only have Java Project and Web Application project(which is only allowing me to create GWT project). When I created Java project, it is not creating all the WEB-INF etc folders. Do I have to do it manually? Or how can I get that link of Tomcat Project?
Huh? Why are you trying to create a new Tomcat project?
Your original question was how to configure tomcat with eclipse. Did you follow the link? Did you configure your tomcat after installing the plugin. If you click start tomcat button does your server start?
Joined: Apr 17, 2011
My original question "how to configure tomcat with eclipse" is resolved by following the link you gave. Yes I configured the Tomcat version and Home directory and it is starting when I click on start Tomcat button.
Since you asked me to "Check out the Hello World tutorial in the link". When I was checking that link, there it asked to create Tomcat project and I don't have that option( That's why I asked that question)
Though I have an option to create Web Project in File Menu but it is only allowing me to create GWT projects. Thats why I am confused as to how to create a web project to run on tomcat server with all the folders WEB-INF etc created automatically. Do we have to to run ant scripts for getting them also? or do we need to do them manually?
I don't know how to get and run ant scripts. Probably that is why I am not getting any option for creating .war or .ear files in my eclipse menus.
The reason I am confused about that is because in my office, in eclipse3.3, they configured JBoss server and I could get options to create .war and .ear files and an option to create web applications, enterprise applications(which is not possible in Tomcat though) etc and it was automatically creating the tree structure needed while deploying.
Sorry if I am deviating from the original question and extending the same thread. However, Thanks for giving a resolution to my original question.
Joined: Apr 17, 2011
I am trying again to configure tomcat in another system with the same sysdeo plugin link provided by Manish. It worked well in my system but now it is giving error.
I clicked Help->Install New Software and in the Work with field, I pasted
and clicked Add. It is asking to Add Repository Name and Location. What should I type there? It didn't ask that last time. If I type anything, it is giving the error, not a software location.
Can somebody help me with the steps to configure sysdeo plugin in eclipse3.6?