You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by albu77 <al...@gmail.com> on 2015/02/06 20:31:07 UTC
Virtual Host config.xml overwrtitten
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.
Re: Virtual Host config.xml overwrtitten
Posted by albu77 <al...@gmail.com>.
reply to myself because I was stupid (hope I will not be anymore.... :) ).
I added content to the module tag but dont modify it (auto closing) and so
not adding the </module> closing tag.
So my subdomain are not yet working but this overwriting of config.xml is
closed.
Sorry for this stupid post....
--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Virtual-Host-config-xml-overwrtitten-tp3988740p3988747.html
Sent from the Users mailing list archive at Nabble.com.