You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/05/05 16:09:03 UTC
DO NOT REPLY [Bug 34760] New: -
Tomcat crash when .war put under webapps and redeploy is called
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34760>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34760
Summary: Tomcat crash when .war put under webapps and redeploy
is called
Product: Tomcat 5
Version: 5.5.9
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P1
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: agharta@katamail.com
Hi all,
I've a problem:
When i redeploy many times my webapp (replacing my .war file under the webapps
dir), some times, tomcat crash when redeploy the webapp.
The error is this.
5-mag-2005 15.45.47 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/repartoweb]
15:45:47,310 DEBUG UserCounterListener:53 - Session destroyed.
15:45:47,316 DEBUG UserCounterListener:80 - User Count: 0
5-mag-2005 15.45.47
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
GRAVE: Exception invoking periodic operation:
java.lang.IllegalStateException: removeAttribute: Session already invalidated
at
org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1165)
at
org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1140)
at
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1435)
at
org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:920)
at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:664)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4255)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:968)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1162)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
at java.lang.Thread.run(Thread.java:595)
--------Every ten seconds (after the GRAVE error), i'll recive this error:
5-mag-2005 16.12.37 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/repartoweb]
5-mag-2005 16.12.37
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
GRAVE: Exception invoking periodic operation:
java.lang.NullPointerException
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:883)
at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:968)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1162)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
at java.lang.Thread.run(Thread.java:595)
If i try to replace the .war of my webapp with the same, but updated , the .war
wan't be deployed.
The solution (not good): kill the catalina process and restart it!
So, any idea?
Agharta
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org