Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does Eclipse look for the tomcat server

 
Priety Sharma
Ranch Hand
Posts: 156
Android Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look inside the workspace/.metdata directory. You will probably find something there.
 
Priety Sharma
Ranch Hand
Posts: 156
Android Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter,

I looked inside the directory you mentioned. There seems to be noting about tomcat there.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic