aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How can i add tomcat server to Eclipse Galileo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How can i add tomcat server to Eclipse Galileo" Watch "How can i add tomcat server to Eclipse Galileo" New topic
Author

How can i add tomcat server to Eclipse Galileo

Nagarajan Thangapandi
Greenhorn

Joined: Mar 18, 2008
Posts: 9
Hi
I am using Eclipse version:
Eclipse Java EE IDE for Web Developers.
Build id: 20100218-1602

I have problem to add tomcat server to eclipse. I am using Ubuntu OS. Can you please provide the steps to Add tomcat server to Eclipse.
Details:
Tomcat Installtion directory:
/user/share/tomcat6

Screenshot:


Thanks in Advance.
Nagarajan T
9843860807
Aaron Liu
Greenhorn

Joined: Apr 16, 2010
Posts: 15
download the tomcat plugins named "tomcatPluginV321.zip". you can get it by google. if any question, you can send pm to me.
Nagarajan Thangapandi
Greenhorn

Joined: Mar 18, 2008
Posts: 9
yup i download the plugin you mention, how to add the plugin into eclipse, can you please tell me the steps...



Aaron Liu wrote:download the tomcat plugins named "tomcatPluginV321.zip". you can get it by google. if any question, you can send pm to me.
Aaron Liu
Greenhorn

Joined: Apr 16, 2010
Posts: 15
do you have msn?
mine is aaronliu1982@hotmail.com. you can talk with me directly.
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
hi,
At first, download the tomcat server appropriate for your development process. then unpack it on any place, suppose C:/ drive. so you will get the tomcat server on C:/apache-tomcat-XXX.

Now, just go to "windows->preference" on eclipse gallelio. click on that. on left side you found servers(+)->runtime environments.click on "runtime environments". you found a list on right side that, which servers are already installed on eclipse. now, click on search button and browse the path of tomcat, in this case c:/apache-tomcat-XXX. eclipse search it automatically for you. then click ok.

now your eclipse is ready to use tomcat server.

thanks
Nagarajan Thangapandi
Greenhorn

Joined: Mar 18, 2008
Posts: 9
ok, but i am using Ubuntu 9.10 OS. i configure and able to run in windows. i have doubt in Eclipse in Linux.
My tomcat folder :
/usr/share/tomcat6

i cant able to start the server. it is in Stopped state,

Mohammad Ashrafuddin Ferdousi wrote:hi,
At first, download the tomcat server appropriate for your development process. then unpack it on any place, suppose C:/ drive. so you will get the tomcat server on C:/apache-tomcat-XXX.

Now, just go to "windows->preference" on eclipse gallelio. click on that. on left side you found servers(+)->runtime environments.click on "runtime environments". you found a list on right side that, which servers are already installed on eclipse. now, click on search button and browse the path of tomcat, in this case c:/apache-tomcat-XXX. eclipse search it automatically for you. then click ok.

now your eclipse is ready to use tomcat server.

thanks
Aaron Liu
Greenhorn

Joined: Apr 16, 2010
Posts: 15
you are using ubuntu, and i guess you have used apt-get to install tomcat.
the reason is that the diretory structure "/usr/share/tomcat6" is not suitable for eclipse.

so, you should download an zip file or tar file formatted tomcat.
note that: may be, you should modify server.xml to change to listern port.
Nagarajan Thangapandi
Greenhorn

Joined: Mar 18, 2008
Posts: 9
Thank you, i downloaded the tomcat with .tar format and follow the link
http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/
Now it's working fine.

Aaron Liu wrote:you are using ubuntu, and i guess you have used apt-get to install tomcat.
the reason is that the diretory structure "/usr/share/tomcat6" is not suitable for eclipse.

so, you should download an zip file or tar file formatted tomcat.
note that: may be, you should modify server.xml to change to listern port.
Aaron Liu
Greenhorn

Joined: Apr 16, 2010
Posts: 15
It's my pleasure
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i add tomcat server to Eclipse Galileo
 
Similar Threads
Developing servlets using Eclipse 3.3.2
Tomcat and multiple eclipse projects ... desperate ! please help ...
Unable to use El in custom tags
Weblogic 8.1 download
The absolute uri: http://java.sun.com/jstl/core cannot be resolve