File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Where does Eclipse look for the tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Where does Eclipse look for the tomcat server" Watch "Where does Eclipse look for the tomcat server" New topic
Author

Where does Eclipse look for the tomcat server

Priety Sharma
Ranch Hand

Joined: Jun 10, 2008
Posts: 156

I have Eclipse 3.3
I had created a dynamic web application in Eclipse.
I added tomcat as my server for that application.

Now I have removed the folder "Apache Software Foundation" from my C drive. My machine has only a single drive.
When I run a jsp in the my application still tomcat manages to start and the output of the jsp is displayed.
How is this possible?

Where is Eclipse finding tomcat to run the jsp?


Priety.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Look inside the workspace/.metdata directory. You will probably find something there.


JBoss In Action
Priety Sharma
Ranch Hand

Joined: Jun 10, 2008
Posts: 156

Hi Peter,

I looked inside the directory you mentioned. There seems to be noting about tomcat there.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Then use Task Manager (Vista or Win 7) or Process Explorer from sysinternals (all Windows variations, and highly recommended) to look at the javaw.exe process used to launch Tomcat. Part of the command line for javaw.exe will mention the Tomcat location.

For Task Manager you will have to add the "Command Line" column as it does not appear by default.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where does Eclipse look for the tomcat server