[jboss-user] [JBossWS] - context-root in jboss.xml

gumnaam do-not-reply at jboss.com
Tue Aug 28 12:32:10 EDT 2007


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 ?

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

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



More information about the jboss-user mailing list