WTP Web App Tutorial doesn't work --- where are Tomcat logs? [message #105866] |
Wed, 28 September 2005 22:12 |
Eclipse User |
|
|
|
Originally posted by: kuro.bhlab.com
I installed WTP plugin and other plugins it depends on, and
followed the web app development tutorial at
http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html
I couldn't follow it completely because plugins behaved somewhat
differently probably because version differences. For example,
I didn't get a choice of J2EE Web Project. Instead, I had to
pick the only choice, Dynamic Web Project. But things look
similar enough to what the tutorial describes except that I was
not given a chance to enter the "context root".
I deployed it with Tomcat 5.5. No errors were reported.
But I don't get to invoke the snoop servlet. Because I didn't
enter the context root, I first tried:
http://localhost:8080/snoop
This didn't work. I tried
http://localhost:8080/tutorial/snoop/
http://localhost:8080/snoop/
http://localhost:8080/webapps/snoop/
and all those permutations. Nothing worked.
In all cases, Tomcat reports "resource not found" in the browser.
So I thought I should check the Tomcat log to see where it is
trying to find the resource. But I noticed the logs in the
logs directory of Tomcat installation are not updated if I start
Tomcat from within Eclipse.
Some posts suggested
metadata/.plugins/org.ecplipse.tomcat/logs
in the workspace, but no such directory was found.
Where can I find the Tomcat logs?
|
|
|
Powered by
FUDForum. Page generated in 0.07932 seconds