• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring Tomcat5.5 in Eclipse3.6

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks in advance.

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I also don't see a Server tab in Window->Show View.


I suspect that you downloaded the wrong Eclipse package. You need "Eclipse IDE for Java EE Developers".
 
Kv Payal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

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.

Thanks
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can get tomcat working with your existing eclipse with the sysdeo plugin http://www.eclipsetotale.com/tomcatPlugin.html
Else get the EE version Peter mentioned from
http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr2
 
Kv Payal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Maneesh,

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?

 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Kv Payal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

 
Kv Payal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Kv Payal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

http://www.eclipsetotale.com/tomcatPlugin.html

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?

Thanks in advance.
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic