[JBoss JIRA] Created: (EJBTHREE-1789) Enhancement for error message "Reason: ClassLoaders of value and target are not equal "
by Andreas Bauer (JIRA)
Enhancement for error message "Reason: ClassLoaders of value and target are not equal "
---------------------------------------------------------------------------------------
Key: EJBTHREE-1789
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1789
Project: EJB 3.0
Issue Type: Feature Request
Components: ejb3
Environment: MacOS X (Leopard), JBoss 5.0.1 GA
Reporter: Andreas Bauer
Priority: Minor
When using an injected bean in a servlet, the following error occurs:
ERROR [FieldBeanProperty] failed to set value Proxy to jboss.j2ee:jar=TwitterPoCEJB.jar,name=TweetViewerBean,service=EJB3 implementing [interface org.jboss.ejb3.proxy.intf.EjbProxy, interface org.jboss.ejb3.proxy.intf.StatefulSessionProxy, interface de.brotkasting.buki.cep.beans.TwitterSessionBeanRemote, interface org.jboss.ejb3.proxy.intf.SessionProxy] on field private de.brotkasting.buki.cep.beans.TwitterSessionBean de.brotkasting.buki.cep.servlets.TweetViewerServlet.bean; Reason: ClassLoaders of value and target are not equal
The message doesn't clearly indicate why this error arises.
Reason for this:
In the servlet, I used the the bean implementatoin instead of the local bean interface. Replacing this, rebuilding and redeploying solved the issued.
--
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
15 years, 9 months
[JBoss JIRA] Created: (JBAS-6546) java.lang.InterruptedExceptions seen during automated embedded console testing
by Shelly McGowan (JIRA)
java.lang.InterruptedExceptions seen during automated embedded console testing
------------------------------------------------------------------------------
Key: JBAS-6546
URL: https://jira.jboss.org/jira/browse/JBAS-6546
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Shelly McGowan
Fix For: JBossAS-5.1.0.Beta1
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)
--
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
15 years, 9 months
[JBoss JIRA] Created: (JBCLUSTER-228) External load balancer for non-HTTP invocations
by Brian Stansberry (JIRA)
External load balancer for non-HTTP invocations
-----------------------------------------------
Key: JBCLUSTER-228
URL: https://jira.jboss.org/jira/browse/JBCLUSTER-228
Project: JBoss Clustering
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Brian Stansberry
Fix For: Backlog
A server that functions like an HTTP load balancer, but intended for use with non-HTTP invocations, e.g. EJB invocations.
Back end JBoss AS instances make this load balancer aware of deployments of clustered services; it load balances requests between them. Client proxies know how to talk to the load balancer(s).
Main benefit is no need to open firewall to allow traffic to a fluctuating set of back end JBoss instances. Could also be useful in proxying requests from IIOP clients.
--
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
15 years, 9 months
[JBoss JIRA] Created: (JBAS-6089) Can not disable autodiscovery if System.setProperty() is used
by Wolf-Dieter Fink (JIRA)
Can not disable autodiscovery if System.setProperty() is used
-------------------------------------------------------------
Key: JBAS-6089
URL: https://jira.jboss.org/jira/browse/JBAS-6089
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Naming
Affects Versions: JBossAS-4.2.3.GA, JBossAS-5.0.0.CR1, JBossAS-4.2.2.GA
Reporter: Wolf-Dieter Fink
Assignee: Scott M Stark
If a InitialContext is created via new InitialContext() and the properties are set via System.setProperty(...) the autodiscovery can not be disabled.
Here the JUnitTest method:
public void checkSystemPropertiesConnection() throws NamingException {
System.setProperty("java.naming.factory.initial", "org.jboss.naming.NamingContextFactory");
System.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
// System.setProperty("java.naming.provider.url", "jnp://localhost:1099");
System.setProperty("jnp.disableDiscovery", "true");
InitialContext ctx = new InitialContext();
LOGGER.debug("JNDI properties: "+ctx.getEnvironment());
}
------------------------------ The Log output
16:01:28,497 DEBUG [de.wfink.ejb21.ConnectionTest] JNDI properties: {jnp.parsedName=, java.naming.provider.url=padwfink1:1099, java.naming.factory.initial=org.jboss.naming.NamingContextFactory, jnp.disableDiscovery=false, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces}
16:01:29,481 DEBUG [org.jnp.interfaces.NamingContext] Failed to connect to padwfink1:1099
----------------------------
If a lookup is started with this InitialContext autodiscovery is started.
If all is set in a HashTable and InitialContext(hashTable) is call it works
--
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
15 years, 9 months