-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
None
-
JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200805230931)]
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Linux version 2.6.21-1.3194.fc7
-
Workaround Exists
-
[/home/opalka][/home/opalka/svn/jbossws/stack/native/trunk]>mvn $PROPS -Ptestsuite,hudson,jboss501 -Djava.jdk15.home=$JAVA_HOME -Dtest=jaxws/samples/webserviceref/WebServiceRefEJB3TestCase -DfailIfNoTests=false test
results in the following exception on the server side:
------------------------------------------------------------------------------------------------------------
14:08:49,762 INFO [MainDeployer] deploy, url=file:/home/opalka/svn/jbossws/stack/native/trunk/modules/testsuite/framework-tests/target/test-libs/jaxws-samples-webserviceref.war
14:08:50,236 INFO [MappedReferenceMetaDataResolverDeployer] vfsfile:/home/opalka/svn/jbossws/stack/native/trunk/modules/testsuite/framework-tests/target/test-libs/jaxws-samples-webserviceref.war endpoint mappings:
14:08:50,394 INFO [DefaultEndpointRegistry] register: jboss.ws:context=jaxws-samples-webserviceref,endpoint=Endpoint
14:08:51,270 INFO [TomcatDeployment] deploy, ctxPath=/jaxws-samples-webserviceref, vfsUrl=
14:08:53,233 INFO [WSDLFilePublisher] WSDL published to: file:/opt/svn/jbossas/trunk/build/output/jboss-5.0.0.CR1/server/default/data/wsdl/jaxws-samples-webserviceref.war/EndpointService33310.wsdl
14:09:00,603 INFO [EndpointImpl] Hello World!
14:09:00,897 INFO [MainDeployer] deploy, url=file:/home/opalka/svn/jbossws/stack/native/trunk/modules/testsuite/framework-tests/target/test-libs/jaxws-samples-webserviceref-ejb3-client.jar
14:09:01,095 WARN [CollectionPropertyHandler] ClassInfo.getDeclaredConstructor(null) didn't work for org.jboss.metadata.ejb.spec.InterceptorClassesMetaData, found the default ctor in ClassInfo.getDeclaredConstructors()
14:09:03,503 WARN [LegacyEjb3JndiPolicy] UKNOWN iface seen: null
14:09:03,503 INFO [MappedReferenceMetaDataResolverDeployer] vfsfile:/home/opalka/svn/jbossws/stack/native/trunk/modules/testsuite/framework-tests/target/test-libs/jaxws-samples-webserviceref-ejb3-client.jar endpoint mappings:
+ ejb/#EJB3Client -> ContainerDependencyMetaData(deploymentPath=,componentName=EJB3Client,containerName=EJB3Client,jndiNames=[EJB3Client/remote, EJB3Client, EJB3Client/remote-org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Remote],jndiAliasDepends=[],targets=[],jndiDepends=[])
14:09:03,817 INFO [STDOUT] ======> Creating interceptor metadata bridge
14:09:05,118 INFO [JBossASKernel] Created KernelDeployment for: jaxws-samples-webserviceref-ejb3-client.jar
14:09:05,124 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=jaxws-samples-webserviceref-ejb3-client.jar,jar=jaxws-samples-webserviceref-ejb3-client.jar,name=EJB3Client,service=EJB3
14:09:05,124 INFO [JBossASKernel] with dependencies:
14:09:05,124 INFO [JBossASKernel] and demands:
14:09:05,124 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
14:09:05,124 INFO [JBossASKernel] and supplies:
14:09:05,125 INFO [JBossASKernel] jndi:EJB3Client/remote
14:09:05,125 INFO [JBossASKernel] Class:org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Remote
14:09:05,125 INFO [JBossASKernel] jndi:EJB3Client/remote-org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Remote
14:09:05,125 INFO [JBossASKernel] jndi:EJB3Client
14:09:05,125 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=jaxws-samples-webserviceref-ejb3-client.jar,jar=jaxws-samples-webserviceref-ejb3-client.jar,name=EJB3Client,service=EJB3) to KernelDeployment of: jaxws-samples-webserviceref-ejb3-client.jar
14:09:05,651 INFO [EJBContainer] STARTED EJB: org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Client ejbName: EJB3Client
14:09:09,286 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
14:09:09,289 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
14:09:09,348 INFO [EJB3Client] echo: Hello World!
14:09:09,348 ERROR [EJB3Client] Cannot add port
javax.naming.NameNotFoundException: comp.ejb3 not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Client.echo(EJB3Client.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:171)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1727752.invoke(InvocationContextInterceptor_z_fillMethod_1727752.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1727752.invoke(InvocationContextInterceptor_z_setup_1727752.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.RunAsSecurityInterceptorv2.invoke(RunAsSecurityInterceptorv2.java:117)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:157)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:390)
at org.jboss.ejb3.session.ClassProxyHack._dynamicInvoke(ClassProxyHack.java:52)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:850)
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:727)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:672)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:495)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:207)
14:09:09,457 INFO [EJBContainer] STOPPED EJB: org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Client ejbName: EJB3Client
14:09:09,950 INFO [DefaultEndpointRegistry] remove: jboss.ws:context=jaxws-samples-webserviceref,endpoint=Endpoint
14:09:09,951 INFO [TomcatDeployment] undeploy, ctxPath=/jaxws-samples-webserviceref, vfsUrl=
- relates to
-
EJBTHREE-812 Container jndi space is named java:comp.ejb3 instead of java:comp
-
- Resolved
-