quality@glassfish.java.net

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

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Sat, 21 Nov 2009 09:19:35 -0800

Hi Richard,

Thank you so much for filing this memory leak bug and give all the
needed diagnosing info, appreciate all your hard work, this is just
simply great !

"Seems there is a memory leak when applications fail to deploy.", looks
that way, especially when deploy, redeploy many times.

Have a good relaxed weekend !
Judy

Richard Kolb wrote:
> Hi Judy
>
> This is very easy to recreate
> I have attached the Jconsole screenshot showing GlassFish running out
> of non heap memory to the bug.
> https://glassfish.dev.java.net/nonav/issues/showattachment.cgi/3968/jconsole.jpg
> As well as the server.log , jvm.log and new steps to recreate.
>
> Seems there is a memory leak when applications fail to deploy.
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11110
>
> I am only sorry that I only tested on B71 and not B73. Sorry for that.
>
> regards
> Richard.
>
>
>
> 2009/11/21 Judy Tang <Judy.J.Tang_at_sun.com <mailto:Judy.J.Tang_at_sun.com>>
>
> Hi Richard,
>
> Thanks for testing Richfaces with GlassFish. It is a great test !
>
> "Glassfish is now using 100% of my one CPU is not usable",
> developer looked at the error and one guess is server went into a
> bad state and the resources all used up.
> They asked if there is stack trace that you can send to us.
>
> Thanks,
> Judy
>
>
> 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*
>>
>> 4) I removed the JSF 2.0 libraries that are provided by glassfish 3
>> 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
>>
>