tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joey Geiger" <j...@staff.onmilwaukee.com>
Subject Tomcat 5.5.15 Context Reloading issue
Date Tue, 07 Feb 2006 14:46:17 GMT
I've run into an issue with Tomcat 5.5.15 and the Context reloading. When I
change a file in my application, I have the context set to automatically
restart. This was working fine with 5.5.12, but there seems to be an issue
after I upgraded to 5.5.15.

 

The host is configured as:

<Host name="application.com" appBase="C:\web\application" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"
reloadable="true">

<Context path="" docBase="" debug="1" reloadable="true">

<Manager pathname="" />

</Host>

 

I've tried to add log4j 1.2.9 to both the common/lib and server/lib with no
success. If I stop the server and restart, it works properly.

Any help you can provide would be appreciated. Thank you.

 

 

My stack trace is:

 

INFO: Illegal access: this web application instance has been stopped
already.  Could not load org.apache.log4j.spi.VectorWriter.  The eventual
following stack trace is caused by an error thrown for debugging purposes as
well as to attempt to terminate the thread which caused the illegal access,
and has no functional impact.

java.lang.IllegalStateException

            at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1238)

            at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1198)

            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

            at
org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)

            at org.apache.log4j.Category.forcedLog(Category.java:388)

            at org.apache.log4j.Category.log(Category.java:853)

            at
org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)

            at
org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:667)

            at
org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFaca
de.java:269)

            at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
41)

            at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)

            at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3915)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)

            at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2988)

            at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:
403)

            at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
1276)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1568)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1577)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1577)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1557)

            at java.lang.Thread.run(Thread.java:595)

Feb 6, 2006 4:04:58 PM
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
processChildren

SEVERE: Exception invoking periodic operation: 

java.lang.NoClassDefFoundError: org/apache/log4j/spi/VectorWriter

            at
org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)

            at org.apache.log4j.Category.forcedLog(Category.java:388)

            at org.apache.log4j.Category.log(Category.java:853)

            at
org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)

            at
org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:667)

            at
org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFaca
de.java:269)

            at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
41)

            at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)

            at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3915)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)

            at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2988)

            at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:
403)

            at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
1276)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1568)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1577)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1577)

            at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1557)

            at java.lang.Thread.run(Thread.java:595)

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message