-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
/home/tdiesler/svn/jbossws/stack/native/trunk
[tdiesler@tddell trunk]$ ant -Dtest=org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase one-test
one-test:
[junit] Running org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 3.361 sec
[junit] Test org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase FAILED
Caused by: java.lang.RuntimeException: mapped-name is required for wsCtx of deployment EndpointEJB
at org.jboss.injection.ResourceHandler.loadXmlResourceEnvRefs(ResourceHandler.java:228)
at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:268)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:455)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:343)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:405)
at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)
public class EndpointEJB
{
@Resource
WebServiceContext wsCtx;
...
}
This used to work in AS5 and still does in AS42