3 Replies Latest reply on May 27, 2008 2:30 PM by asouza_2000

    context-root in jboss.xml

    gumnaam

      Hi,
      I have a following EAR setup.


      myApp.ear
      |
      `META-INF/application.xml
      |
      `myWeb.war (ctx root set to /myWeb in application.xml of ear)
      |
      `myEjb.jar
      |
      `SLSB EJB3s (also exposed as WS).
      META-INF
      |
      `jboss.xml



      I want to override the default context root for my Web Services.
      So in my jboss.xml for (myEjb.jar) I have
      [QUOTE]
      <context-root>/webservices</context-root>
      [/QUOTE]
      inside the jboss->webservices node.


      But this doesn't seem to be working, the WSDLs are published at
      http://host/myApp-myEjb/

      I don't want to use the @WebContext, I would rather specify the context-root in jboss.xml , but it is not working.

      Any clues ? Also can the context-root be any thing arbitrary , or does it need to have some connection, with the deployed web application's (in my case myWeb.war) context root ?