This content has been marked as final.
Show 3 replies
-
1. Re: JBoss and Tomcat configuration
tuklas Jul 26, 2002 7:56 PM (in response to tuklas)BTW, I'm able to build and run a web-app, ie create a war file and copy it into the $JBOSS_HOME/server/default/deploy directory. The URL "http://localhost/MyApp" would work, but I'd like to know how to set it up so "http://localhost" would use the same web-app.
-
2. Re: JBoss and Tomcat configuration
tuklas Jul 26, 2002 9:12 PM (in response to tuklas)Did some digging and figured it out. If you guys are having trouble, Jboss3.0 RC has a good example of how to get it done.
http://prdownloads.sourceforge.net/jboss/jboss-3.0.0RC3.zip?download -
3. Re: JBoss and Tomcat configuration
jasonbrome Jul 27, 2002 12:45 PM (in response to tuklas)Easiest way to do this is to package your WAR up into an EAR file, and within the EAR's application.xml, specify your WAR with a context root of /
e.g.
<?xml version="1.0" encoding="UTF-8"?>
<display-name>MyApp</display-name>
<web-uri>MyApp.war</web-uri>
<context-root>/</context-root>