-
1. Re: updated 'virtual host' example for jboss/tomcat
vsima Mar 9, 2003 3:44 PM (in response to vsima)I am now getting a "HTTP Status 500 - No Context configured to process this request" error when hitting my site. Below is my tomcat41-server.xml file.
If anyone sees anything wrong with it let me know.
...
&catalina.home;
<!-- Uncomment this if you want interval snapshot for the
session clustering.
interval
2000
-->
<Logger className - "org.jboss.web.catalina.Log4jLogger"
verbosityLevel = "debug"
category = "org.jboss.web.Host=localhost"/>
www.slammy.com
...
... -
2. Re: updated 'virtual host' example for jboss/tomcat
neo2141 Mar 15, 2003 7:15 PM (in response to vsima)I was having problems with this too, so here is what I did.
1)
Created a directory in the server/default directory called domains.
2)
For each virtual host, created a directory within the domains directory. /domains/secristfamily, /domains/missiontracker
3)
Modified the tomcat-service in /server/default to be:
<!-- Secrist Family Virtual Host -->
www.secristfamily.com
<!-- Mission Tracker Virtual Host -->
www.missiontracker.net
4)
Make sure you modify the engine name from localhost to match at least one of the names of the hosts, unless you keep the localhost host of course. (jakarta's site indicates that at least 1 host must match the name of the engine.)
Hope this helps...
Randy -
3. Re: updated 'virtual host' example for jboss/tomcat
neo2141 Mar 15, 2003 7:22 PM (in response to vsima)Actually, it turns out you don't need to add the appBase attribute in the host tag. It was pointing to the wrong directory anyway - but still seemed to work.