0 Replies Latest reply: May 8, 2012 5:42 PM by Jeff Sexton RSS

jBoss 6 root context deployment ends up as '//'

Jeff Sexton Newbie

My URLs turnout with two slashes for the "root" context, in jBoss 6 final. I created an ear file with this application.xml

 

<application>
 
<display-name>App</display-name>
 
<module>
   
<ejb>App.jar</ejb>
 
</module>
</application>

 

App.jar contains some EJBs and a jbos.xml like this:

 

<jboss>
 
<webservices>
   
<context-root>/</context-root>
 
</webservices>
</jboss>

 

The URLs end up with two slashes after the port, of the form http://host:8080//myEJB

I have removed the default root war file. I have also tried an empty context instead of '/'. How can I get these EJBs to deploy at the root context?