Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: 4.0
-
Fix Version/s: EE-4.0.0.GA
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces4 trunk r. 43281
Browsers: all
Server: Tomcat7.0.42
Description
Un-deploying the showcase application causes server side errors:
INFO: Undeploying context [/showcase]
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-6] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-9] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-10] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-11] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:44:15 PM org.apache.catalina.startup.SetAllPropertiesRule begin
INFO: Undeploying context [/showcase]
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-6] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-9] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-10] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:42:30 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [Timer-11] but has failed to stop it. This is very likely to create a memory leak.
Oct 29, 2014 12:44:15 PM org.apache.catalina.startup.SetAllPropertiesRule begin
Activity
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #43808 | Thu Dec 11 11:53:48 MST 2014 | mircea.toma | |
| Files Changed | ||||
MODIFY
/icepush/trunk/icepush/core/src/main/javascript/application.js
|
| Security | Private [ 10001 ] |
| Attachment | JAVASERVERFACES-3560.war [ 17699 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Invalid [ 6 ] |
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Mircea Toma [ mircea.toma ] | |
| Fix Version/s | EE-4.0.0.GA [ 11171 ] |

Tested with ICEfaces 4 trunk r43821.
After using the cloud push demo (simple push, priority push), then undeploying showcase, the following server errors are seen:
INFO: Waiting for 1 instance(s) to be deallocated for Servlet [Faces Servlet]
Dec 15, 2014 12:31:08 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Dec 15, 2014 12:31:08 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/showcase] appears to have started a thread named [pool-1-thread-2] but has failed to stop it. This is very likely to create a memory leak.
Dec 15, 2014 12:31:08 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/showcase] created a ThreadLocal with key of type [com.sun.faces.application.ApplicationAssociate$1] (value [com.sun.face
s.application.ApplicationAssociate$1@10d318f2]) and a value of type [com.sun.faces.application.ApplicationAssociate] (value [com.sun.faces.application
.ApplicationAssociate@130ac07f]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
When using a few random demos in ACE showcase then undeploying .war file no server errors were seen.
When using the test application https://java.net/jira/browse/JAVASERVERFACES-3560 no server errors were seen.