I have a problem in that my EJB jar deploys a web service, which uses the 
@WebContext annotation, but the context root points to the same context root of 
one defined in my war, both of which are packaged inside an EAR. If I deploy 
the EAR everything defined in the web.xml inside the war is accessible, but 
accessing the web service using the same context gets a 404 error. 

For example, my webservice:


  | @WebContext(contextRoot = "/testWeb", urlPattern = "/SupplierAccessPort", 
authMethod = "BASIC", transportGuarantee = "NONE", secureWSDLAccess = false)
  | 

In my jboss-web.xml (inside the war):


  |  <jboss-web>  
  |   <security-domain>java:/jaas/aipDBCheck</security-domain>  
  |   <context-root>/testWeb</context-root>
  |  </jboss-web>
  | 

http://localhost:8080/testWeb/index.htm is found (as it is inside my war)
http://localhost:8080/testWeb/SupplierAccessPort gets a 404.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184078
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to