tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eclark <ecl...@alabanza.com>
Subject problem with apache vhosts + tomcat
Date Mon, 31 Jul 2006 18:58:51 GMT
Hi all. I have a problem I dont seem to understand. I have two servers, with 
identical web.xmls, server.xmls, catalina policies, apache conf files, and 
mod_webapp apache modules. On one server domain.com and www.domain.com both 
resolve to the host container for domain.com. On the other, www.domain.com 
automatically falls back to the default host container and fails silently 
with just a blank page. I have no idea what to look for, as the log files are 
completely useless. Below is a snip of the logfile:

Example 1, works www and without.
-----
2006-07-31 14:56:41 StandardEngine[Apache]: Mapping server name 
'www.sogire.com'
2006-07-31 14:56:41 StandardEngine[Apache]:  Trying a direct match
2006-07-31 14:56:41 StandardEngine[Apache]:  Trying an alias match
2006-07-31 14:56:41 StandardEngine[Apache]:  Trying the default host
2006-07-31 14:56:41 StandardContext[/webapps]: Mapping contextPath='/webapps' 
with requestURI='/webapps/test.jsp' and relativeURI='/test.jsp'
2006-07-31 14:56:41 StandardContext[/webapps]: Decoded relativeURI='/test.jsp'
2006-07-31 14:56:41 StandardContext[/webapps]:   Trying exact match
2006-07-31 14:56:41 StandardContext[/webapps]:   Trying prefix match
2006-07-31 14:56:41 StandardContext[/webapps]:   Trying extension match
2006-07-31 14:56:41 StandardContext[/webapps]:  Mapped to servlet 'jsp' with 
servlet path '/test.jsp' and path info 'null' and update=true
----
2006-07-31 14:57:16 StandardEngine[Apache]: Mapping server name 'sogire.com'
2006-07-31 14:57:16 StandardEngine[Apache]:  Trying a direct match
2006-07-31 14:57:16 StandardContext[/webapps]: Mapping contextPath='/webapps' 
with requestURI='/webapps/test.jsp' and relativeURI='/test.jsp'
2006-07-31 14:57:16 StandardContext[/webapps]: Decoded relativeURI='/test.jsp'
2006-07-31 14:57:16 StandardContext[/webapps]:   Trying exact match
2006-07-31 14:57:16 StandardContext[/webapps]:   Trying prefix match
2006-07-31 14:57:16 StandardContext[/webapps]:   Trying extension match
2006-07-31 14:57:16 StandardContext[/webapps]:  Mapped to servlet 'jsp' with 
servlet path '/test.jsp' and path info 'null' and update=true






Example2, does not work
-------
2006-07-31 14:58:01 StandardEngine[Apache]: Mapping server name 
'www.alojarte.net'
2006-07-31 14:58:01 StandardEngine[Apache]:  Trying a direct match
2006-07-31 14:58:01 StandardEngine[Apache]:  Trying an alias match
2006-07-31 14:58:01 StandardEngine[Apache]:  Trying the default host
-------
Example2, same host box, works (only with the explict host container name)
-------
2006-07-31 14:58:35 StandardEngine[Apache]: Mapping server name 'alojarte.net'
2006-07-31 14:58:35 StandardEngine[Apache]:  Trying a direct match
2006-07-31 14:58:35 StandardContext[/webapps]: Mapping contextPath='/webapps' 
with requestURI='/webapps/test.jsp' and relativeURI='/test.jsp'
2006-07-31 14:58:35 StandardContext[/webapps]: Decoded relativeURI='/test.jsp'
2006-07-31 14:58:35 StandardContext[/webapps]:   Trying exact match
2006-07-31 14:58:35 StandardContext[/webapps]:   Trying prefix match
2006-07-31 14:58:35 StandardContext[/webapps]:   Trying extension match
2006-07-31 14:58:35 StandardContext[/webapps]:  Mapped to servlet 'jsp' with 
servlet path '/test.jsp' and path info 'null' and update=true

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message