[
https://jira.jboss.org/jira/browse/JBWS-2332?page=com.atlassian.jira.plug...
]
Richard Opalka commented on JBWS-2332:
--------------------------------------
Usecase that have to be solved with fixing of this issue is e.g.:
If an EJB has a <depends> in jboss.xml that is not met, and has a @WebService
annotation, the web service does not deploy correctly.
The MBean for the EJB is created, but not started since the dependency is not met. Then
the web service deployment tries to access the MBean that has not been started and throws
the exception below.
Could not start deployment:
file:/NotBackedUp/dereed/jboss/jboss-eap-4.3_CP03/jboss-as/server/active/deploy/test.jar/
javax.xml.ws.WebServiceException: Cannot find service endpoint target:
jboss.j2ee:name=TestBean,service=EJB3,jar=test.jar
at
org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.init(InvocationHandlerEJB3.java:83)
at
org.jboss.wsf.framework.deployment.DefaultLifecycleHandler.create(DefaultLifecycleHandler.java:51)
at
org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect.create(EndpointLifecycleDeploymentAspect.java:42)
at
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy35.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
Review and fix JBossWS deployers integration with JBossAS 5
-----------------------------------------------------------
Key: JBWS-2332
URL:
https://jira.jboss.org/jira/browse/JBWS-2332
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf, jbossws-metro, jbossws-native
Affects Versions: jbossws-native-3.0.4, jbossws-metro-3.0.4, jbossws-cxf-3.0.4
Reporter: Richard Opalka
Assignee: Richard Opalka
Fix For: jbossws-native-3.0.7
--
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