geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Sprinkle" <rsprin...@vhainc.com>
Subject RE: Virtual Host Configuration
Date Tue, 24 Jan 2012 16:52:22 GMT
 Hmm, I am wondering which doc did you refer to, and did not think the current geronimo-web.xml
will work in Geronimo 2.1.*.
 For the virtual host in Geronimo 2.2.*,  the doc url is  https://cwiki.apache.org/GMOxDOC22/configuring-virtual-host-in-tomcat.html.
 If you really would like to use container-config to configure the virtual host, the namespace
should be corrected,
--->
<web:container-config>
     <tomcat
xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1">   <---    <tomcat
xmlns="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0">
       <host>testhost1.vhainc.local</host>
     </tomcat>
   </web:container-config> 
<---

Changing the xmlns to "http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0" fixed my problem.
  

How can  I help fix the documentation?   With your help, I found the namespace correctly referenced
in the documentation for 
"Creating deployment plans for Web applications"   

Link: https://cwiki.apache.org/GMOxDOC22/creating-deployment-plans-for-web-applications.html#CreatingdeploymentplansforWebapplications-Thecontainerconfigelement

but  in the reference for geronimo-web.xml (https://cwiki.apache.org/GMOxDOC22/geronimo-webxml.html),
in the <container-config> section, it links to http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1,
which is the incorrect value I was using.   Shouldn't these two sections be in agreement?

2012/1/24 Radim Kolar <hsn@sendmail.cz>
> I started with 2.2, tried 2.1 and tried standalone Tomcat 6.
In 2.1 virtual hosts works, follow documentation on website.


Thank you for the great help.   

Mime
View raw message