-
Sub-task
-
Resolution: Done
-
Critical
-
None
-
None
It started failing after the last jboss-ejb3-as-int:1.0.0-Beta9 upgrade:
---------------------- client side ----------------------
javax.naming.NameNotFoundException: refs-clientorb not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.ejb3.client.ClientLauncher.loadClassPath(ClientLauncher.java:128)
at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:173)
at org.jboss.test.refs.test.ResourceResolutionUnitTestCase.testClientORBResources(ResourceResolutionUnitTestCase.java:137)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
------------------ server side ----------------------------------------
22:41:31,859 ERROR [AbstractKernelController] Error installing to Real: name=vfs
zip:/X:/svn/jboss-head/testsuite/output/lib/refs-resources.ear state=PreReal mod
e=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying refs-resources-ejb.
jar: failed to initialize bean container
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:203)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:104)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internal
Deploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:545)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.redeploy(MainDeployer.java:587)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerA
daptorService.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:140)
at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(Serial
izableInterceptor.java:74)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFac
tory.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke
(JRMPInvoker.java:855)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
422)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
66)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: failed to initialize bean container
at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:249)
at org.jboss.ejb3.session.SessionContainer.<init>(SessionContainer.java:
117)
at org.jboss.ejb3.session.SessionSpecContainer.<init>(SessionSpecContain
er.java:71)
at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer
.java:116)
at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3Annota
tionHandler.java:310)
at org.jboss.ejb3.Ejb3DescriptorHandler.getStatelessContainer(Ejb3Descri
ptorHandler.java:498)
at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHand
ler.java:203)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:668)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:628)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:610)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:573)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:488)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
... 69 more
Caused by: java.lang.NullPointerException
at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptorFactory.c
reatePerClass(CachedConnectionInterceptorFactory.java:54)
at org.jboss.aop.microcontainer.beans.DelegatingBeanAspectFactory.create
PerClass(DelegatingBeanAspectFactory.java:94)
at org.jboss.aop.Advisor.addPerClassAspect(Advisor.java:1264)
at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedIntercepto
rFactory.java:75)
at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:1318)
at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.createInte
rceptorChain(ManagedObjectAdvisor.java:141)
at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:1932)
at org.jboss.aop.MethodMatchInfo.applyBinding(MethodMatchInfo.java:152)
at org.jboss.aop.MethodMatchInfo.overridePopulateBindings(MethodMatchInf
o.java:143)
at org.jboss.aop.MethodMatchInfo.populateBindings(MethodMatchInfo.java:9
2)
at org.jboss.aop.Advisor.finalizeMethodChain(Advisor.java:1543)
at org.jboss.aop.ClassAdvisor.finalizeChains(ClassAdvisor.java:739)
at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:
607)
at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:304)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:274)
at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.initialize
(ManagedObjectAdvisor.java:174)
at org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor.initialize(ExtendedMa
nagedObjectAdvisor.java:70)
at org.jboss.ejb3.interceptors.container.AbstractContainer.initializeAdv
isor(AbstractContainer.java:162)
at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:206)
at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:245)
... 81 more
- is blocked by
-
EJBTHREE-1606 NullPointerException when descriptor contains resource references which doesn't have a jndi name
- Resolved