Re: Virtual Host config.xml overwrtitten

2015-02-08 Thread albu77
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.


Virtual Host config.xml overwrtitten

2015-02-06 Thread albu77
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=classNameorg.apache.catalina.core.StandardHost/attribute
attribute name=initParamsname=sub1.mydomain.com
   appBase=
   workDir=work/attribute
reference name=Engine
pattern
nameTomcatEngine/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.