I am using jboss-5.0.0.GA to deploy a web service. This service uses a WebService Context.
In jboss-web.xml the following tags are present:
<resource-ref>
<res-ref-name>MyWebService/wsc</res-ref-name>
<res-type>javax.xml.ws.WebServiceContext</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
<injection-target>
<injection-target-class>MyWebService</injection-target-class>
<injection-target-name>wsc</injection-target-name>
</injection-target>
</resource-ref>
When starting jboss (run.sh) MyWebService fails to start, due to this error (server.log):
2009-01-13 11:39:37,772 DEBUG [org.jboss.web.tomcat.service.WebCtxLoader] (main)
injectionContainer enabled and processing beginning with JBoss WebCtxLoader
2009-01-13 11:39:37,857 ERROR [org.apache.catalina.core.StandardContext] (main) Context
[/MyWebApplication] startup failed due to previous errors
java.lang.RuntimeException: mapped-name is required for MyWebService/wsc of deployment
MyWebApplication.war
I saw some posts regarding this issue but am not sure if this is a known issue for the
5.0.0.GA release, or that there is a solution available?
Can anyone help me with a solution?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201381#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...