Hello guys, I am having a problem with the Tomcat bundled with JBoss (no probs with EJBs and non-web clients). I have read the FAQ at JBoss web site, as well as some replies in this forum but it Did not help. I have made a simple directory called webclient.war and have used the normal war structure : webclient -Hello.jsp -WEB-INF --web.xml --classes ---GetLocation (my servlet) --lib ---myjars.jar When I copy the directory under the depoly dir of JBoss, I don't get any probs. Just says it is deployed. (but do get a warning)
I can access my Hello.jsp page, without probs too if I give the full link: http://127.0.0.1:8080/webclient/Hello.jsp but I can not access my Servlet GetLocation (when I don't use the server-mapping): http://127.0.0.1:8080/webclient/GetLocation http://127.0.0.1:8080/webclient/Hi http://127.0.0.1:8080/webclient/servlet/Hi http://127.0.0.1:8080/webclient/servlet/GetLocation All give 404 error
The web-xml looks something like:
The only way I can access it is trough the /Get (and in case I have mappings like in the previous web.xml file) Any help. I am using IBM r42 with XP as test box, and jboss ver like shown bellow. ANy help, will be apreciated. Links related to ear /jar /war and the different xml set-up files would be cool. PS: ant scripts work fine, but I want to do it manually for testing, and don't wanna read 35k ant files. SO if you have made the smallest ever ant or maven script for jboss dep of an ear file/ simple template, it would be great.