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

java.lang.InterruptedExceptions seen during automated embedded console testing

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBossAS-5.1.0.Beta1
    • Component/s: None
    • Labels:
      None

      Description

      During the automated test execution of the embjopr jsfunit tests we are starting to see some unusual behavior and filing this JIRA to communicate what is seen realizing it is still a work-in-progress. These exceptions occur when a resource action is performed via the embedded console such as a creation or deletion. Once the action is performed, the profile is reloaded during a runtime discovery scan. During this scan, several exceptions occur however they are only logged as WARN. Sample of what is seen at this point is shown below and additional logs attached. The classes that encounter the unexpected error during load varies. The server can become unresponsive. While this is seen and reproduced during the the running of the tests, it has not been reproduced in a manual sequence of events.

      [21:01:28.187][info][talledLocalContainer] 21:01:28,186 INFO [DeleteResourceRunner] Deleting resource from request: 1
      [21:01:28.195][info][talledLocalContainer] 21:01:28,194 INFO [NavigationAction] Resource [Resource[id=-4, type=No TX Datasource, key=DataSource:NoTx:NoTX, name=NoTX, version=?]] deleted.
      [21:01:28.196][info][talledLocalContainer] 21:01:28,196 WARN [NavigationAction] Unable to find node for deleted resource [Resource[id=-4, type=No TX Datasource, key=DataSource:NoTx:NoTX, name=NoTX, version=?]].
      [21:01:28.202][info][talledLocalContainer] 21:01:28,202 INFO [RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at platform...
      [21:02:15.232][info][talledLocalContainer] 21:02:15,168 WARN [ClassLoaderManager] Unexpected error during load of:org.jboss.invocation.http.server.HttpProxyFactory
      [21:02:15.283][info][talledLocalContainer] java.lang.InterruptedException
      [21:02:15.283][info][talledLocalContainer] at java.lang.Object.wait(Native Method)
      [21:02:15.283][info][talledLocalContainer] at java.lang.Object.wait(Object.java:474)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:211)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:152)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:259)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1102)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:772)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:415)
      [21:02:15.283][info][talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.system.deployers.managed.ServiceMetaDataICF.getManagedObjectClass(ServiceMetaDataICF.java:87)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.system.deployers.managed.ServiceMetaDataICF.getManagedObjectClass(ServiceMetaDataICF.java:54)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:339)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getManagedObjectValue(AbstractInstanceClassFactory.java:315)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getManagedObjectArray(AbstractInstanceClassFactory.java:331)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getValue(AbstractInstanceClassFactory.java:252)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:201)
      [21:02:15.283][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateManagedObject(AbstractManagedObjectPopulator.java:130)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:364)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.deployers.spi.deployer.helpers.DefaultManagedObjectCreator.build(DefaultManagedObjectCreator.java:81)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.deployers.plugins.deployers.DeployersImpl.getManagedObjects(DeployersImpl.java:463)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedObjects(MainDeployerImpl.java:928)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedDeployment(MainDeployerImpl.java:905)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.profileservice.management.ManagementViewImpl.getManagedDeployment(ManagementViewImpl.java:1241)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.profileservice.management.ManagementViewImpl.loadProfile(ManagementViewImpl.java:206)
      [21:02:15.284][info][talledLocalContainer] at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
      [21:02:15.284][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:15.284][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.remoting.Client.invoke(Client.java:1708)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.remoting.Client.invoke(Client.java:612)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      [21:02:15.284][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:15.284][info][talledLocalContainer] at AOPProxy$1.loadProfile(AOPProxy$1.java)
      [21:02:15.284][info][talledLocalContainer] at org.rhq.plugins.jbossas5.factory.ProfileServiceFactory.refreshCurrentProfileView(ProfileServiceFactory.java:113)
      [21:02:15.284][info][talledLocalContainer] at org.rhq.plugins.jbossas5.ManagedComponentComponent.getManagedComponent(ManagedComponentComponent.java:223)
      [21:02:15.284][info][talledLocalContainer] at org.rhq.plugins.jbossas5.ManagedComponentComponent.getAvailability(ManagedComponentComponent.java:81)
      [21:02:15.284][info][talledLocalContainer] at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
      [21:02:15.284][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:15.284][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:15.285][info][talledLocalContainer] at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:466)
      [21:02:15.285][info][talledLocalContainer] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      [21:02:15.285][info][talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      [21:02:15.285][info][talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      [21:02:15.285][info][talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      [21:02:15.285][info][talledLocalContainer] at java.lang.Thread.run(Thread.java:595)
      [21:02:26.454][info][talledLocalContainer] 21:02:26,328 WARN [ClassLoaderManager] Unexpected error during load of:org.jboss.ejb.EJB2UserTransactionProvider
      [21:02:26.454][info][talledLocalContainer] java.lang.InterruptedException
      [21:02:26.454][info][talledLocalContainer] at java.lang.Object.wait(Native Method)
      [21:02:26.454][info][talledLocalContainer] at java.lang.Object.wait(Object.java:474)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:211)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:152)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:259)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1102)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:772)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:415)
      [21:02:26.454][info][talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getManagedObjectClass(BeanMetaDataICF.java:135)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getManagedObjectClass(BeanMetaDataICF.java:48)
      [21:02:26.454][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:184)
      [21:02:26.455][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateManagedObject(AbstractManagedObjectPopulator.java:130)
      [21:02:26.455][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:364)
      [21:02:26.455][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.KernelDeploymentManagedObjectCreator.getManagedObjectValue(KernelDeploymentManagedObjectCreator.java:196)
      [21:02:26.455][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.KernelDeploymentManagedObjectCreator.build(KernelDeploymentManagedObjectCreator.java:160)
      [21:02:26.455][info][talledLocalContainer] at org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer.build(KernelDeploymentDeployer.java:97)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.deployers.plugins.deployers.DeployerWrapper.build(DeployerWrapper.java:220)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.deployers.plugins.deployers.DeployersImpl.getManagedObjects(DeployersImpl.java:466)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedObjects(MainDeployerImpl.java:928)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedDeployment(MainDeployerImpl.java:905)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.profileservice.management.ManagementViewImpl.getManagedDeployment(ManagementViewImpl.java:1241)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.profileservice.management.ManagementViewImpl.loadProfile(ManagementViewImpl.java:206)
      [21:02:26.497][info][talledLocalContainer] at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
      [21:02:26.497][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:26.497][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
      [21:02:26.497][info][talledLocalContainer] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.remoting.Client.invoke(Client.java:1708)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.remoting.Client.invoke(Client.java:612)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      [21:02:26.498][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:26.498][info][talledLocalContainer] at AOPProxy$1.loadProfile(AOPProxy$1.java)
      [21:02:26.498][info][talledLocalContainer] at org.rhq.plugins.jbossas5.factory.ProfileServiceFactory.refreshCurrentProfileView(ProfileServiceFactory.java:113)
      [21:02:26.498][info][talledLocalContainer] at org.rhq.plugins.jbossas5.ManagedComponentComponent.getManagedComponent(ManagedComponentComponent.java:223)
      [21:02:26.498][info][talledLocalContainer] at org.rhq.plugins.jbossas5.ManagedComponentComponent.getAvailability(ManagedComponentComponent.java:81)
      [21:02:26.498][info][talledLocalContainer] at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
      [21:02:26.498][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:26.498][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:26.498][info][talledLocalContainer] at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:466)
      [21:02:26.498][info][talledLocalContainer] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      [21:02:26.498][info][talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      [21:02:26.498][info][talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      [21:02:26.498][info][talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      [21:02:26.642][info][talledLocalContainer] at java.lang.Thread.run(Thread.java:595)
      [21:02:26.728][info][talledLocalContainer] 21:02:26,383 WARN [ManagementViewImpl] Failed to create ManagedDeployment for: vfsfile:/mnt/hudson_workspace/workspace/embjopr-jsfunit/embjopr/jsfunit/target/jboss5x/deploy/ejb2-container-jboss-beans.xml
      [21:02:26.728][info][talledLocalContainer] org.jboss.deployers.spi.DeploymentException: Error building managed objects for vfsfile:/mnt/hudson_workspace/workspace/embjopr-jsfunit/embjopr/jsfunit/target/jboss5x/deploy/ejb2-container-jboss-beans.xml
      [21:02:26.728][info][talledLocalContainer] at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      [21:02:26.728][info][talledLocalContainer] at org.jboss.deployers.plugins.deployers.DeployerWrapper.build(DeployerWrapper.java:225)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.deployers.plugins.deployers.DeployersImpl.getManagedObjects(DeployersImpl.java:466)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedObjects(MainDeployerImpl.java:928)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedDeployment(MainDeployerImpl.java:905)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.profileservice.management.ManagementViewImpl.getManagedDeployment(ManagementViewImpl.java:1241)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.profileservice.management.ManagementViewImpl.loadProfile(ManagementViewImpl.java:206)
      [21:02:26.729][info][talledLocalContainer] at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
      [21:02:26.729][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:26.729][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.remoting.Client.invoke(Client.java:1708)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.remoting.Client.invoke(Client.java:612)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      [21:02:26.729][info][talledLocalContainer] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      [21:02:26.729][info][talledLocalContainer] at AOPProxy$1.loadProfile(AOPProxy$1.java)
      [21:02:26.729][info][talledLocalContainer] at org.rhq.plugins.jbossas5.factory.ProfileServiceFactory.refreshCurrentProfileView(ProfileServiceFactory.java:113)
      [21:02:26.729][info][talledLocalContainer] at org.rhq.plugins.jbossas5.ManagedComponentComponent.getManagedComponent(ManagedComponentComponent.java:223)
      [21:02:26.729][info][talledLocalContainer] at org.rhq.plugins.jbossas5.ManagedComponentComponent.getAvailability(ManagedComponentComponent.java:81)
      [21:02:26.729][info][talledLocalContainer] at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
      [21:02:26.729][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:26.729][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:26.730][info][talledLocalContainer] at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:466)
      [21:02:26.730][info][talledLocalContainer] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      [21:02:26.730][info][talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      [21:02:26.730][info][talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      [21:02:26.730][info][talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      [21:02:26.730][info][talledLocalContainer] at java.lang.Thread.run(Thread.java:595)
      [21:02:26.730][info][talledLocalContainer] Caused by: java.lang.IllegalStateException: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.ejb.EJB2UserTransactionProvider, msg=null
      [21:02:26.730][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:188)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateManagedObject(AbstractManagedObjectPopulator.java:130)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:364)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.KernelDeploymentManagedObjectCreator.getManagedObjectValue(KernelDeploymentManagedObjectCreator.java:196)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.KernelDeploymentManagedObjectCreator.build(KernelDeploymentManagedObjectCreator.java:160)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer.build(KernelDeploymentDeployer.java:97)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.deployers.plugins.deployers.DeployerWrapper.build(DeployerWrapper.java:220)
      [21:02:26.730][info][talledLocalContainer] ... 34 more
      [21:02:26.730][info][talledLocalContainer] Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.ejb.EJB2UserTransactionProvider, msg=null
      [21:02:26.730][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:173)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:259)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1102)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:772)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:415)
      [21:02:26.730][info][talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getManagedObjectClass(BeanMetaDataICF.java:135)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getManagedObjectClass(BeanMetaDataICF.java:48)
      [21:02:26.730][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:184)
      [21:02:26.730][info][talledLocalContainer] ... 40 more
      [21:02:26.730][info][talledLocalContainer] Caused by: java.lang.InterruptedException
      [21:02:26.730][info][talledLocalContainer] at java.lang.Object.wait(Native Method)
      [21:02:26.730][info][talledLocalContainer] at java.lang.Object.wait(Object.java:474)
      [21:02:26.731][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:211)
      [21:02:26.731][info][talledLocalContainer] at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:152)
      [21:02:26.731][info][talledLocalContainer] ... 48 more
      [21:02:26.934][info][talledLocalContainer] 21:02:26,916 ERROR [ExceptionUtil] Topic[TestTopic] getNonDurableSubscriptionsCount
      [21:02:26.934][info][talledLocalContainer] java.lang.InterruptedException
      [21:02:26.934][info][talledLocalContainer] at EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$ReaderLock.acquire(WriterPreferenceReadWriteLock.java:157)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.getQueuesForCondition(MessagingPostOffice.java:514)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.jms.server.destination.ManagedTopic.getSubscriptionsCount(ManagedTopic.java:308)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.jms.server.destination.ManagedTopic.getNonDurableSubscriptionsCount(ManagedTopic.java:104)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.jms.server.destination.TopicService.getNonDurableSubscriptionsCount(TopicService.java:305)
      [21:02:26.934][info][talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [21:02:26.934][info][talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [21:02:26.934][info][talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:02:26.934][info][talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:585)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:99)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:197)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:362)
      [21:02:26.934][info][talledLocalContainer] at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565)
      [21:02:26.935][info][talledLocalContainer] at org.jboss.system.deployers.managed.ServiceMetaDataICF.getValue(ServiceMetaDataICF.java:166)
      [21:02:26.935][info][talledLocalContainer] at org.jboss.system.deployers.managed.ServiceMetaDataICF.getValue(ServiceMetaDataICF.java:54)
      [21:02:26.935][info][talledLocalContainer] at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:201)

        Gliffy Diagrams

        1. server-jbas6546.log.gz
          1.28 MB
          Shelly McGowan
        2. threadDump.log.gz
          69 kB
          Shelly McGowan

          Issue Links

            Activity

            Hide
            timfox Tim Fox added a comment -

            Interrupting the threads is no guarantee they will return. In particular, if threads are waiting in some kind of Object.wait() loop, then correctly coded loops will catch InterruptedException and ignore it and continue waiting.

            This is because it's possible to get spurious wakeups which must be dealt with.

            Show
            timfox Tim Fox added a comment - Interrupting the threads is no guarantee they will return. In particular, if threads are waiting in some kind of Object.wait() loop, then correctly coded loops will catch InterruptedException and ignore it and continue waiting. This is because it's possible to get spurious wakeups which must be dealt with.
            Hide
            dmlloyd David Lloyd added a comment -

            Correctly coded loops will catch the InterruptedException, and then restore the interrupt status on exit.

            There's only two proper ways to handle InterruptedException: (1) rethrow it directly (NOT as a nested exception), or (2) do ANYTHING else, but re-set the thread interrupt status (e.g. in a finally block). Anything else is broken behavior. Also, wrapping it and rethrowing it is a bad idea. Someone might unwrap it and rethrow it without checking to see what it is. If you want to use an alternate exception type, then throw away the InterruptedException and just re-set the interrupt status.

            And throwing Exception is almost always wrong as well, just because it causes folks to forget to properly handle a possible InterruptedException.

            Show
            dmlloyd David Lloyd added a comment - Correctly coded loops will catch the InterruptedException, and then restore the interrupt status on exit. There's only two proper ways to handle InterruptedException: (1) rethrow it directly (NOT as a nested exception), or (2) do ANYTHING else, but re-set the thread interrupt status (e.g. in a finally block). Anything else is broken behavior. Also, wrapping it and rethrowing it is a bad idea. Someone might unwrap it and rethrow it without checking to see what it is. If you want to use an alternate exception type, then throw away the InterruptedException and just re-set the interrupt status. And throwing Exception is almost always wrong as well, just because it causes folks to forget to properly handle a possible InterruptedException.
            Hide
            jason.greene Jason Greene added a comment -

            I have released 2.0.4.GA which includes the fix, and also updated the 5.x branch. I believe this resolves the issue targeted for Beta1.

            Show
            jason.greene Jason Greene added a comment - I have released 2.0.4.GA which includes the fix, and also updated the 5.x branch. I believe this resolves the issue targeted for Beta1.
            Hide
            ccrouch Charles Crouch added a comment -

            Shelly, can this be resolved now?

            Show
            ccrouch Charles Crouch added a comment - Shelly, can this be resolved now?
            Hide
            shelly.mcgowan Shelly McGowan added a comment -

            This was resolved with 5.1.0.Beta1.

            Show
            shelly.mcgowan Shelly McGowan added a comment - This was resolved with 5.1.0.Beta1.

              People

              • Assignee:
                shelly.mcgowan Shelly McGowan
                Reporter:
                shelly.mcgowan Shelly McGowan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development