[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-10-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

Konstantin Kolinko knst.koli...@gmail.com changed:

   What|Removed |Added

 CC||michael.baul...@knipp.de

--- Comment #8 from Konstantin Kolinko knst.koli...@gmail.com ---
*** Bug 57122 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-06-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

--- Comment #5 from Yohei Hina picl...@gmail.com ---
Is this bug fixed?

I can reproduce this on 7.0.54

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-06-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

Yohei Hina picl...@gmail.com changed:

   What|Removed |Added

 CC||picl...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-06-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

--- Comment #6 from Konstantin Kolinko knst.koli...@gmail.com ---
Created attachment 31688
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=31688action=edit
contexttest.war

WAR file, build from java files in test project
Compiled with JDK 1.5 (can be used to test Tomcat 6, if anyone is interested)

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-06-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

--- Comment #7 from Konstantin Kolinko knst.koli...@gmail.com ---
(In reply to Yohei Hina from comment #5)
 Is this bug fixed?

Yes.
Using the test war attached to this issue, the scenario in the Description
above, current Tomcat 7.0.x and Java 7u55 on Windows, I see that it works
correctly.

[[[
Jun 04, 2014 3:29:30 PM org.apache.catalina.startup.HostConfig undeploy
INFO: Undeploying context [/contexttest]
Context Destroyed
My static method call
Context Destroyed Done
Jun 04, 2014 3:29:30 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive **\webapps\contexttest.war
Context Initialized
Jun 04, 2014 3:29:30 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive **\webapps\contexttest.war has
finished in 131 ms
]]]

The commit for this issue is r1582454 (r1582453 for Tomcat 8).

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-03-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

--- Comment #1 from M. Laponder marco.lapon...@kewill.com ---
Created attachment 31446
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=31446action=edit
test project

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-03-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

Christopher Schultz ch...@christopherschultz.net changed:

   What|Removed |Added

 OS||All

--- Comment #2 from Christopher Schultz ch...@christopherschultz.net ---
Are you sure the log hasn't just been buffered? Tomcat doesn't kill threads
like that.

Can you post a thread dump after Context Destroyed has been printed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-03-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

--- Comment #3 from Mark Thomas ma...@apache.org ---
The test is using stdout. It is unlikely to be buffered for any noticeable
length of time.

I can reproduce this on 7.0.x. Odd. Trying on 8.0.x...

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56321] ServletContextListener.contextDestroyed not completely executed when updating war

2014-03-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56321

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Mark Thomas ma...@apache.org ---
OK. Found the problem.

Deleting the WAR triggered a code path the undeployed the app and then deleted
the expanded directory so the new class was available to load during
undeployment. Updating the WAR triggered a code path that deleted the expanded
directory and then undeployed the app. That meant the new class was not
available to load at the point.

I've fixed this my making the process consistent (undeploy then delete).

This has been fixed in 8.0.x for 8.0.6 onwards and 7.0.x for 7.0.54 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org