Hi,
I'm trying to implement virtual host and follow the procedure found in the
doc (hosts file in Windows, config.xml in var/config and the
geronimo-web.xml in each app
Problem is Even If I stop the server before modifying the config file the
modification I adde are deleted at each restart. e.g the two beans I dd are
removed. I don't understand at all and I'm lost...If someone could help 
Regards

The code I added in the config.xml is this one plus same thing for second
virtual host
/<module name="org.apache.geronimo.configs/tomcat6/2.2/car"/>
    <gbean gbeanInfo="org.apache.geronimo.tomcat.HostGBean"
   
name="org.apache.geronimo.configs/tomcat6/2.2/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.2/car,j2eeType=Host,name=TomcatVirtualHost_1">
    <attribute
name="className">org.apache.catalina.core.StandardHost</attribute>
    <attribute name="initParams">name=sub1.mydomain.com
       appBase=
       workDir=work</attribute>
    <reference name="Engine">
        <pattern>
            <name>TomcatEngine</name>
        </pattern>
    </reference>
</gbean>/



--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/Virtual-Host-config-xml-overwrtitten-tp3988740.html
Sent from the Users mailing list archive at Nabble.com.

Reply via email to