12 Replies Latest reply on Apr 26, 2007 3:45 PM by Daniel McLean

    Problems Jboss 4.2.0 RC2

    marcial atienzar Newbie

      Hello with this version I've this error:
      org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nested throwable: (org.jboss.ws.WSException: Multiple context root not supported)
      Caused by: org.jboss.ws.WSException: Multiple context root not supported
      at org.jboss.ws.integration.jboss42.ServiceEndpointGeneratorEJB.createJBossWebAppDescriptor(ServiceEndpointGeneratorEJB.java:258)

      An example of EJB, I've this annotations:
      @WebService(
      name = "IAbsentismo",
      targetNamespace = "http://org.muvale.negocio/ws/ifc",
      serviceName = "Absentismo")
      @SOAPBinding(style = SOAPBinding.Style.RPC)

      @Stateless
      @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
      @Interceptors ({KyrianEjbHandler.class})
      @Local(IAbsentismo.class)
      @RolesAllowed("publico")
      @LocalBinding(jndiBinding = "/ws/Absentismo")
      @WebContext(authMethod="BASIC", transportGuarantee="NONE", secureWSDLAccess=false,contextRoot="/ws/Absentismo")
      @SecurityDomain("muvale")


      In Jboss4.2.0 RC1 it works perfectly