[jboss-user] [Installation, Configuration & DEPLOYMENT] - EJB Deployment and URL names
do-not-reply at jboss.com
Tue Jul 28 00:02:34 EDT 2009
I am a new user to this site, so this is my first deployment support question for you guys. I hope that some of you competent people will help me out.
I am using the latest JBoss 5.1 on Mac OS X 10.5 (development) and FreeBSD (deployment). Here, I deploy an ear file (with NetBeans 6.7) with the following naming scheme:
xmir2.ear (main archive)
+ xmir2-ejb.jar (contains two web services using JAX-WS)
+ xmir2-web.war (contains some JSP files)
Everything works fine, but I have a problem specifying and customizing the deployment path for the two EJB 3 based web services that NetBeans has wrapped in the xmir2-ejb.jar file. The service, which is named Xmir, is accessed through the following URL on my computerP:
I would like to change this 'xmir2-xmir2-ejb' into something shorter? It looks like JBoss creates that deployment URL from the name of the ear and jar file joined together. My questions are now:
1) How can I change the deployment path of the web services? (Using web.xml is not an option since the web services are NOT contained in the war archive but in the EJB jar archive -- this is a default Netbeans setup)
2) Is it possible to use some kind of virtual directory instead of changing/hardcoding the deployment path for the above web service URL?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246324#4246324
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246324
More information about the jboss-user