File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes having  problem  with  tomcat ecllipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "having  problem  with  tomcat ecllipse" Watch "having  problem  with  tomcat ecllipse" New topic
Author

having problem with tomcat ecllipse

piyal sengupta
Greenhorn

Joined: Apr 17, 2010
Posts: 8
Hi,

I want to use tomcat server with eclipse ide.I have downloaded the tomcat plug in and placed it in eclipse plug in folder.But i am not able to debug my application.tomcat is getting started with the default eclipse run command(run icon) .After that when I am trying to hit default tomcat homepage with url http://localhost808 on browser,it can't open the required.Where as I tried it with star.bat file from tomcat folder. it's working fine.

After putting the plug ins i tried with the icon appears on the eclipse(it is not the default for eclipse.after putting the plugins it did appear.(run,stop,refresh)).then also it is working fine.but i am not able to debug.

so please suggest me a way where i can run tomcat with debug mode.

i have attached the screen shot so that people may not get confused with icons i have mentioned

thanks in advance


[Thumbnail for tomcat_eclipse.JPG]

Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
Which version of Eclipse? Are you using Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers. I use both. For web applications I use Eclipse IDE for Java EE Developers and do not need to download any plugins. Debugging with Tomcat just works "out of the box".
piyal sengupta
Greenhorn

Joined: Apr 17, 2010
Posts: 8
I am using Eclipse IDE for Java EE Developers version 1.2.0.20090621-0820 .

Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
That version looks really old. My version is

Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 1
Build id: 20100917-0705

As I said, this version allows me to debug Tomcat without having to download any plugins. Are you able to upgrade?
piyal sengupta
Greenhorn

Joined: Apr 17, 2010
Posts: 8
@ Tom, can you share the download url.
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
http://www.eclipse.org/downloads/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: having problem with tomcat ecllipse