[jboss-user] [JBossWS] - Dreaded Multiple context root

nickarls do-not-reply at jboss.com
Fri Aug 31 02:15:42 EDT 2007


Hi,

I'm using Seam 2.0.0b1 and JBoss 4.2.1GA and have tried to follow the wiki on encrypted web services and the Seam manual and have come up with


  | @Remote
  | public interface FooBeanI {
  | ...
  | 


  | @Stateless
  | @WebService(name="fooService", serviceName="fooService")
  | @WebContext(contextRoot="/foo") //added this after suggestion after reading the forum
  | @Name("fooService")
  | public class FooBean implements FooBeanI {
  | ...
  | 

and put the 

  | jboss-wsse-client.xml
  | jboss-wsse-server.xml
  | wsse.keystore
  | wsse.truststore
  | 

under WEB-INF

and 

standard-jaxws-endpoint-config.xml

under the jar META-INF

But I still get the

  | 09:12:52,498 ERROR [ServiceEndpointPublisher] Cannot obtain waURL for: OSTi.ear/
  | OSTi.jar
  | 09:12:52,498 ERROR [MainDeployer] Could not create deployment: file:/C:/Java/jbo
  | ss-4.2.1.GA/server/default/deploy/OSTi.ear/OSTi.jar/
  | org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest
  | ed throwable: (org.jboss.ws.WSException: Multiple context root not supported)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079833#4079833

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079833



More information about the jboss-user mailing list