Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6694

java.lang.OutOfMemoryErrors seen during automated Embedded Console testing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.1.0.CR1
    • None
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            emuckenhuber_jira Emanuel Muckenhuber (Inactive)
            fjuma1@redhat.com Farah Juma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: