[
https://jira.jboss.org/browse/EJBTHREE-2163?page=com.atlassian.jira.plugi...
]
Richard Opalka commented on EJBTHREE-2163:
------------------------------------------
The Patch is wrong, we're getting this exception against AS trunk:
---
[javatest.batch] java.lang.IllegalStateException: ENC setup happens on the server
[javatest.batch] at
org.jboss.ejb3.client.ClientContainer.getEncInjectors(ClientContainer.java:242)
[javatest.batch] at
org.jboss.injection.WebServiceRefHandler.loadXml(WebServiceRefHandler.java:67)
[javatest.batch] at
org.jboss.ejb3.client.ClientContainer.processMetadata(ClientContainer.java:345)
[javatest.batch] at
org.jboss.ejb3.client.ClientContainer.<init>(ClientContainer.java:125)
[javatest.batch] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[javatest.batch] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[javatest.batch] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[javatest.batch] at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
[javatest.batch] at
org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:154)
[javatest.batch] at
org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:102)
[javatest.batch] at
org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:81)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.DispatchJoinPoint.run(DispatchJoinPoint.java:47)
[javatest.batch] at java.security.AccessController.doPrivileged(Native Method)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:54)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:67)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
[javatest.batch] at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
[javatest.batch] at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.secureInstallAction(SimpleControllerContextAction.java:67)
[javatest.batch] at
org.jboss.dependency.plugins.action.AccessControllerContextAction$1.run(AccessControllerContextAction.java:80)
[javatest.batch] at java.security.AccessController.doPrivileged(Native Method)
[javatest.batch] at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:103)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)
[javatest.batch] at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)
[javatest.batch] at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
[javatest.batch] at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
[javatest.batch] at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
[javatest.batch] at
org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
[javatest.batch] at
org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:88)
[javatest.batch] at org.jboss.ejb3.client.ClientLauncher.deploy(ClientLauncher.java:436)
[javatest.batch] at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:277)
[javatest.batch] at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:181)
[javatest.batch] at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:145)
[javatest.batch] at org.jboss.client.AppClientMain.main(AppClientMain.java:134)
service-ref not creating env binding
------------------------------------
Key: EJBTHREE-2163
URL:
https://jira.jboss.org/browse/EJBTHREE-2163
Project: EJB 3.0
Issue Type: Bug
Components: ejb3
Affects Versions: 1.1.22
Environment: EAP 5.0.1
Reporter: William DeCoste
Assignee: Carlo de Wolf
Attachments: ejb-jar.xml, EJBTHREE-2163.patch, jboss.xml, WebServiceRefBean.java
service-ref/service-ref-name in ejb-jar.xml/jboss.xml is not creating an env binding. See
SLSB, ejb-jar.xml, jboss.xml, and JNDIView for SLSB java:comp/env:
java:comp namespace of the component
jboss.j2ee:jar=webservices-test.jar,name=WebServiceRefBean,service=EJB3 :
+- EJBContext (class: javax.ejb.EJBContext)
+- TransactionSynchronizationRegistry[link ->
java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
+- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl)
+- env (class: org.jnp.interfaces.NamingContext)
| +- org.jboss.webservicestest.WebServiceRefBean (class:
org.jnp.interfaces.NamingContext)
| | +- serviceRef (class: org.jboss.ws.core.jaxws.client.ServiceReferenceable)
+- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira