Details
Description
Following exception is seen on the server during nightly regression test, when the applications are undeployed. This exception is seen randomly and does not appear for any specific test-case:
.
Jul 7, 2010 12:32:53 AM org.icefaces.render.DOMRenderKit <clinit>
INFO:
ICEsoft Technologies Inc.
ICEfaces 2.0 0.0.3 Development
Build number: 002
Revision: 21564
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.render.auto defaulting to true
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.autoid defaulting to true
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.aria.enabled defaulting to true
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.compressDOM defaulting to false
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/ICE-4565]
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/ICE-4565]
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error while removing context [/ICE-4565]
java.lang.NullPointerException
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:915)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1174)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error during context [/ICE-4565] destroy
java.lang.NullPointerException
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1180)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
.
Jul 7, 2010 12:32:53 AM org.icefaces.render.DOMRenderKit <clinit>
INFO:
ICEsoft Technologies Inc.
ICEfaces 2.0 0.0.3 Development
Build number: 002
Revision: 21564
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.render.auto defaulting to true
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.autoid defaulting to true
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.aria.enabled defaulting to true
Jul 7, 2010 12:32:53 AM org.icefaces.util.EnvConfig decodeBoolean
INFO: ICEfaces init parameter org.icefaces.compressDOM defaulting to false
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error while removing context [/
java.lang.NullPointerException
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:915)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1174)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Jul 7, 2010 12:33:04 AM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error during context [/
java.lang.NullPointerException
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1180)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Activity
Mandeep Hayher
created issue -
Mandeep Hayher
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] | |
Assignee Priority | P2 | |
Assignee | Ken Fyten [ ken.fyten ] | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Fix Version/s | 2.0-Beta1 [ 10231 ] |
Deryk Sinotte
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] | Mandeep Hayher [ mandeep.hayher ] |
Mandeep Hayher
made changes -
Assignee | Mandeep Hayher [ mandeep.hayher ] | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Affects | [Compatibility/Configuration] | |
Assignee Priority | P2 | |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Workaround Description |
The workaround is to include a context file in the .war file: META-INF/context.xml The contents of the file should look like this: <?xml version="1.0" encoding="UTF-8"?> <Context antiJarLocking="true" antiResourceLocking="true"> </Context> |
|
Workaround Exists | [Yes] | |
Salesforce Case | [] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I wasn't able to recreate the issue noted above but since it's transient, perhaps there is some variable I'm missing. There is a known issue with hot/re-deploying compat versions of ICEfaces applications to Tomcat on Windows:
ICE-5222The workaround is to include a context file in the .war file:
META-INF/context.xml
The contents of the file should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJarLocking="true" antiResourceLocking="true">
</Context>
We should add this to all the tests we run on Tomcat when the compatibility jars are included and retest.