[jboss-jira] [JBoss JIRA] Commented: (JBAS-6694) java.lang.OutOfMemoryErrors seen during automated Embedded Console testing

Farah Juma (JIRA) jira-events at lists.jboss.org
Mon Mar 30 14:14:34 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459690#action_12459690 ] 

Farah Juma commented on JBAS-6694:
----------------------------------

When we tried to increase the PermGen settings, the OutOfMemoryError was no longer seen but the test run hung.

This is the setting we tried using:
<cargo.jvmargs>-XX:PermSize=256m -XX:MaxPermSize=512 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled</cargo.jvmargs>

> java.lang.OutOfMemoryErrors seen during automated Embedded Console testing
> --------------------------------------------------------------------------
>
>                 Key: JBAS-6694
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6694
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Farah Juma
>         Attachments: cargo.log.zip
>
>
> During the automated runs of the Embedded Jopr JSFUnit tests, we are starting to see this error: "java.lang.OutOfMemoryError: PermGen space". This error sometimes occurs during the runtime discovery scan that takes place after creating or deleting a resource using the Embedded Console. A sample error message is shown below and the cargo.log file from the test run is attached. The last time the tests were able to run without encountering this error was when the tests were run against Branch_5_x r86264 (as seen here http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.1.x-EMBJOPR-JSFUNIT/220 ). We have been seeing the "OutOfMemoryError" when running the tests against more recent versions of Branch_5_x. 
> This error was seen when running the tests against Branch_5_x r86425:
> [12:58:25.570][info][talledLocalContainer] 12:58:25,570 INFO  [DeleteResourceRunner] Deleting resource from request: 1
> [12:58:25.573][info][talledLocalContainer] 12:58:25,573 INFO  [NavigationContent] Resource [Resource[id=-123, type=XA Datasource, key=DataSource:XA:DeleteXADS, name=DeleteXADS, parent=JBAS (default), version=?]] deleted.
> [12:58:25.574][info][talledLocalContainer] 12:58:25,574 INFO  [RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at platform...
> [12:58:26.865][info][talledLocalContainer] 12:58:26,865 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
> [12:58:26.873][info][talledLocalContainer] 12:58:26,873 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
> [12:59:05.560][info][talledLocalContainer] 12:59:05,558 WARN  [InventoryManager] Failure during discovery for [No Tx Datasource] Resources - failed after 39788 ms.
> [12:59:05.560][info][talledLocalContainer] java.lang.OutOfMemoryError: PermGen space
> [12:59:05.560][info][talledLocalContainer] 	at java.lang.Class.getDeclaredMethods0(Native Method)
> [12:59:05.560][info][talledLocalContainer] 	at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> [12:59:05.560][info][talledLocalContainer] 	at java.lang.Class.getDeclaredMethods(Class.java:1763)
> [12:59:05.560][info][talledLocalContainer] 	at org.jboss.aop.proxy.ClassProxyFactory.populateMethodTables(ClassProxyFactory.java:368)
> [12:59:05.560][info][talledLocalContainer] 	at org.jboss.aop.proxy.ClassProxyFactory.methodMap(ClassProxyFactory.java:399)
> [12:59:05.560][info][talledLocalContainer] 	at org.jboss.aop.proxy.ClassProxyFactory.getMethodMap(ClassProxyFactory.java:154)
> [12:59:05.560][info][talledLocalContainer] 	at org.jboss.aop.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:127)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.aop.proxy.ProxyFactory.createInterfaceProxy(ProxyFactory.java:96)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.aop.proxy.ProxyFactory.createInterfaceProxy(ProxyFactory.java:86)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.aspects.remoting.Remoting.createRemoteProxy(Remoting.java:102)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.createPropertyProxy(ManagementViewImpl.java:1344)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.mergeRuntimeMO(ManagementViewImpl.java:1296)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.processManagedObject(ManagementViewImpl.java:470)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.processManagedObject(ManagementViewImpl.java:606)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.processManagedDeployment(ManagementViewImpl.java:383)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.loadProfiles(ManagementViewImpl.java:324)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.management.ManagementViewImpl.load(ManagementViewImpl.java:201)
> [12:59:05.561][info][talledLocalContainer] 	at sun.reflect.GeneratedMethodAccessor1696.invoke(Unknown Source)
> [12:59:05.561][info][talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [12:59:05.561][info][talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:585)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
> [12:59:05.561][info][talledLocalContainer] 	at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:97)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.remoting.Client.invoke(Client.java:1708)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.remoting.Client.invoke(Client.java:612)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [12:59:05.562][info][talledLocalContainer] 	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list