quality@glassfish.java.net

Re: Exception in thread "DynamicReloader" when deploying richfaces - Glassfish B71

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Mon, 23 Nov 2009 15:56:15 -0800

Thanks Ryan for looking into this bug, it is with a good hand :-)

Judy

Ryan Lubke wrote:
> On 11/23/09 3:48 PM, Judy Tang wrote:
>> Thanks Ryan for looking into this thread. Richard has
>> logged this issue :
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11110
>> It seems there is a memory leak issue when redeploy a JSF app for
>> many time.
>> In this bug Richard gave app to recreate this issue. Would you
>> please look
>> into it and let us know if the bug is in JSF area or some other area
>> so we can
>> help to follow up.
> Hi Judy,
>
> Yes, I'm aware of the issue and have updated it several times today.
>
> Thanks,
> -rl
>>
>> Thanks,
>> Judy
>>
>> Ryan Lubke wrote:
>>> On 11/20/09 12:34 AM, Richard Kolb wrote:
>>>>
>>>> Hi Cats
>>>>
>>>> (I am using B71 because of the resource null issue)
>>>>
>>>>
>>>> 1) I downloaded the Richfaces 4 Alpha
>>>> http://download.jboss.com/jboss-richfaces/richfaces-examples-4.0.0.ALPHA1.zip
>>>> 2) Compiled with mvn package
>>>> 3) Tried to deploy , but the deploy failed.
>>>> *java.lang.Exception: java.lang.IllegalStateException:
>>>> ContainerBase.addChild: start:
>>>> org.apache.catalina.LifecycleException:
>>>> com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
>>>> The tag named remove from namespace
>>>> http://java.sun.com/jsf/facelets has a null handler-class defined*
>>> This message is due to the fact that the demo pom.xml references
>>> 2.0.0-SNAPSHOT. Changing this to 2.0.1 resolves that problem.
>>>
>>>>
>>>> 4) I removed the JSF 2.0 libraries that are provided by glassfish 3
>>> Could you clarify statement 4 above? Does this mean you removed the
>>> jsf implementation libraries from GF_HOME/modules or you made
>>> the JSF libraries referenced in the demo pom.xml scope/provided?
>>>> 5) did a mvn clean package
>>>> 6) redeployed and got this :
>>>> *[#|2009-11-20T10:23:22.459+0200|INFO|glassfishv3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=25;_ThreadName=Thread-1;|[AutoDeploy]
>>>> Selecting file
>>>> /home/richard/install/java6/glassfishv3/glassfish/domains/domain1/autodeploy/richfaces-demo.war
>>>> for autodeployment.|#]
>>>>
>>>> [#|2009-11-20T10:24:12.153+0200|SEVERE|glassfishv3.0|null|_ThreadID=32;_ThreadName=Thread-1;|Exception
>>>> in thread "DynamicReloader" |#]
>>>> *
>>>> *[#|2009-11-20T10:27:16.719+0200|SEVERE|glassfishv3.0|null|_ThreadID=34;_ThreadName=Thread-1;|Exception
>>>> in thread "RMI RenewClean-[127.0.0.1:8686 <http://127.0.0.1:8686>]" |#]
>>>> *
>>>>
>>>> Glassfish is now using 100% of my one CPU is not usable...
>>>> Admin interfaces does not respond as well as :8080
>>>>
>>>> Going to try recreate later. Please someone also also try recreate.
>>>>
>>>> regards
>>>> Richard
>>>>
>>>
>