0 Replies Latest reply on Aug 31, 2007 2:15 AM by Nicklas Karlsson

    Dreaded Multiple context root

    Nicklas Karlsson Master

      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)