Localhost.log: Dec 28, 2011 2:19:18 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Dec 28, 2011 2:19:18 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized()
localhost_access.log is empty at startup until I click on one of the apps in the manager page, then it has: 172.31.255.154 - admin [28/Dec/2011:02:37:27 +0000] "GET /manager/html HTTP/1.1" 200 15821 172.31.255.154 - - [28/Dec/2011:02:37:27 +0000] "GET /manager/images/asf-logo.gif HTTP/1.1" 404 952 172.31.255.154 - - [28/Dec/2011:02:37:27 +0000] "GET /manager/images/tomcat.gif HTTP/1.1" 404 952 172.31.255.154 - - [28/Dec/2011:02:37:27 +0000] "GET /favicon.ico HTTP/1.1" 404 952 172.31.255.154 - - [28/Dec/2011:02:37:31 +0000] "GET /docs HTTP/1.1" 302 - 172.31.255.154 - - [28/Dec/2011:02:37:31 +0000] "GET /docs/ HTTP/1.1" 404 952 172.31.255.154 - - [28/Dec/2011:02:37:31 +0000] "GET /favicon.ico HTTP/1.1" 404 952 I don't know why the one log references Java in the Windows folder...that folder does not exist. I have added Java to the system path (it wasn't there before) so now that log file has this line: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre6\bin;. My Java version is 1.6.0_30 I did stop Tomcat and was able to manually delete the logs and work folders and then I restarted. Windows lets me delete these files but does prompt me asking that I will need to be an administrator which it allows me to do. Tomcat is running as a service, could it be that it doesn't have enough rights to do something? It is creating contents in both the log and work folders... This is running on OS - Windows 7 64bit Enterprise VM. Thanks, -Dave On Tue, Dec 27, 2011 at 5:43 PM, Konstantin Kolinko <knst.koli...@gmail.com> wrote: > 2011/12/28 David Hoffer <dhoff...@gmail.com>: >> Yes that was a full log of that file. >> >> The only change I made was in the Manager App's config I increased the >> size of the max file size because one of my apps is bigger than 50MB, >> so I just made a change to the web.xml in the manager app. >> >> The http://IP:8080/manger/html page shows the correct list of apps but >> if you click on any of the applications (path) I get the 404 >> error...and I have undeployed all my apps so the problem exists with >> the standard sample apps too. >> > > You cited only one of log files. What is in other log files? What is > in localhost*.log? What is in access log? > > Try to stop Tomcat and delete everything from the work directory. (I > wonder whether *.class files for the JSPs are there. That is, whether > the directory is writable.) > > The same with logs directory. Clear it, move old logs somewhere. > > What Java version are you using? (It is a bit odd that the path shown > in the log is "C:\Windows\Sun\Java\bin"). > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org