I'm new to tomcat and I've been tearing my hair out for the past week trying to get the simplest examples to run.
I'm running a clean install of tomcat 4.1.27, and have been able to run the struts-examples, the admin webapp (to my great surprise), and even some of the examples from my struts textbook.
the problem i've been having is understanding the error messages so that i can figure out what's wrong.
Is there any way of getting better/different errors than simply just the HTTP/50x messages? Is there a way to trace execution through the program? How difficult is it to set up a debugger to work with tomcat, so that I can see what line is causing the server to choke?
this is my log file from a recent attempt at playing with struts, can someone please help, and tell me what this means:
2003-10-01 04:57:14 StandardManager[/test]: Starting 2003-10-01 04:57:14 StandardManager[/test]: Force random number initialization starting 2003-10-01 04:57:14 StandardManager[/test]: Seeding random number generator class java.security.SecureRandom 2003-10-01 04:57:14 StandardManager[/test]: Seeding of random number generator has been completed 2003-10-01 04:57:14 StandardManager[/test]: Force random number initialization completed 2003-10-01 04:57:14 StandardManager[/test]: Start: Loading persisted sessions 2003-10-01 04:57:14 StandardManager[/test]: Loading persisted sessions from SESSIONS.ser 2003-10-01 04:57:14 StandardManager[/test]: Creating custom object input stream for class loader WebappClassLoader available: delegate: false repositories: required: ----------> Parent Classloader: sun.misc.Launcher$AppClassLoader@(protected)
2003-10-01 04:57:14 StandardManager[/test]: Loading 0 persisted sessions 2003-10-01 04:57:14 StandardManager[/test]: Finish: Loading persisted sessions 2003-10-01 04:57:14 StandardContext[/test]: Reloading this Context is completed 2003-10-01 04:57:14 HTMLManager: list: Listing contexts for virtual host 'localhost' 2003-10-01 04:57:14 WebappLoader[/test]: BACKGROUND THREAD Starting 2003-10-01 04:57:17 StandardContext[/test]: Mapping contextPath='/test' with requestURI='/test/index.jsp' and relativeURI='/index.jsp' 2003-10-01 04:57:17 StandardContext[/test]: Trying exact match 2003-10-01 04:57:17 StandardContext[/test]: Trying prefix match 2003-10-01 04:57:17 StandardContext[/test]: Trying extension match 2003-10-01 04:57:17 StandardContext[/test]: Mapped to servlet 'jsp' with servlet path '/index.jsp' and path info 'null' and update=true 2003-10-01 04:57:17 StandardWrapperValve[jsp]: Servlet jsp is currently unavailable 2003-10-01 04:57:18 StandardContext[/test]: Mapping contextPath='/test' with requestURI='/test/index.jsp' and relativeURI='/index.jsp' 2003-10-01 04:57:18 StandardContext[/test]: Trying exact match 2003-10-01 04:57:18 StandardContext[/test]: Trying prefix match 2003-10-01 04:57:18 StandardContext[/test]: Trying extension match 2003-10-01 04:57:18 StandardContext[/test]: Mapped to servlet 'jsp' with servlet path '/index.jsp' and path info 'null' and update=true 2003-10-01 04:57:18 StandardWrapperValve[jsp]: Servlet jsp is currently unavailable 2003-10-01 04:57:22 StandardContext[/test]: Mapping contextPath='/test' with requestURI='/test/' and relativeURI='/' 2003-10-01 04:57:22 StandardContext[/test]: Trying exact match 2003-10-01 04:57:22 StandardContext[/test]: Trying prefix match 2003-10-01 04:57:22 StandardContext[/test]: Trying extension match 2003-10-01 04:57:22 StandardContext[/test]: Trying default match 2003-10-01 04:57:22 StandardContext[/test]: Mapped to servlet 'default' with servlet path '/' and path info 'null' and update=true 2003-10-01 04:57:22 StandardContext[/test]: Mapping contextPath='/test' with requestURI='/test/index.jsp' and relativeURI='/index.jsp' 2003-10-01 04:57:22 StandardContext[/test]: Trying exact match 2003-10-01 04:57:22 StandardContext[/test]: Trying prefix match 2003-10-01 04:57:22 StandardContext[/test]: Trying extension match 2003-10-01 04:57:22 StandardContext[/test]: Mapped to servlet 'jsp' with servlet path '/index.jsp' and path info 'null' and update=true 2003-10-01 04:57:22 StandardWrapperValve[jsp]: Servlet jsp is currently unavailable 2003-10-01 04:58:20 WebappLoader[/test]: Stopping background thread 2003-10-01 04:58:20 WebappLoader[/test]: BACKGROUND THREAD Stopping 2003-10-01 04:58:20 WebappLoader[/test]: Starting background thread 2003-10-01 04:58:20 WebappLoader[/test]: BACKGROUND THREAD Starting 2003-10-01 04:58:24 StandardContext[/test]: Mapping contextPath='/test' with requestURI='/test/index.jsp' and relativeURI='/index.jsp' 2003-10-01 04:58:24 StandardContext[/test]: Trying exact match 2003-10-01 04:58:24 StandardContext[/test]: Trying prefix match 2003-10-01 04:58:24 StandardContext[/test]: Trying extension match 2003-10-01 04:58:24 StandardContext[/test]: Mapped to servlet 'jsp' with servlet path '/index.jsp' and path info 'null' and update=true 2003-10-01 04:58:24 StandardWrapperValve[jsp]: Servlet jsp is currently unavailable
--------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)