Posted By:
Abhishek_Asthana
Posted On:
Friday, January 18, 2008 02:41 AM
I tried configuring virtual hosts on Tomcat, but without success. I followed everything on this page:http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html Created a directory named $CATALINA_HOME/conf/Catalina/cab and here is part of my server.xml: unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> I even put a ROOT.xml in this directory, even though Tomcat 5.5 doesn't have any.(It wasn't working without it as well!)
More>>
I tried configuring virtual hosts on Tomcat, but without success. I followed everything on this page:http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html
Created a directory named $CATALINA_HOME/conf/Catalina/cab and here is part of my server.xml:
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
I even put a ROOT.xml in this directory, even though Tomcat 5.5 doesn't have any.(It wasn't working without it as well!)
I created a directory $CATALINA_HOME/webapps/cab also and copied a webapp in this directory. But when I give http://10.xxx.xxx.xxx:8080/cab/appname I get
HTTP Status 404 - /cab/cabinetroot/resourcemanager
The requested resource (/cab/cabinetroot/resourcemanager) is not available.
Now what have I done wrong here! Any clues please.
Thanks
<<Less