You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by LI Daobing <li...@gmail.com> on 2010/01/28 15:46:14 UTC
the context.xml is not preserved
Hello,
in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there
is a statement:
"Once this file exists, it will not be replaced if a new WAR with a
newer /META-INF/context.xml is placed in the host's appBase."
but, in my practice, this file is always be replaced, I need help on
this point, thanks.
my system: Ubuntu 9.04, x86_64, tomcat 6.0.18,
thanks.
--
Best Regards
LI Daobing
--
Best Regards
LI Daobing
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: the context.xml is not preserved
Posted by LI Daobing <li...@gmail.com>.
Hello,
I am talking about the first one, and i am still digging on this problem, it
sounds that if autoDeploy is on and deploy a new war package will trigger
this problem. Maybe an undeploy is triggered during this process, which
remove the ROOT.xml in the conf/C*/l* dir
Thanks
在 2010-1-28 下午11:05,"David Smith" <dn...@cornell.edu>编写:
On 1/28/10 9:46 AM, LI Daobing wrote: > Hello, > > in
http://tomcat.apache.org/tomcat-6.0-doc/config...
I think conf/Catalina/localhost/myAppName.xml wouldn't be replace.
webapps/myAppName/META-INF/context.xml would be replaced. Which one are
you referring to?
--David
--------------------------------------------------------------------- To
unsubscribe, e-mail: users...
Re: the context.xml is not preserved
Posted by David Smith <dn...@cornell.edu>.
On 1/28/10 9:46 AM, LI Daobing wrote:
> Hello,
>
> in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there
> is a statement:
>
> "Once this file exists, it will not be replaced if a new WAR with a
> newer /META-INF/context.xml is placed in the host's appBase."
>
> but, in my practice, this file is always be replaced, I need help on
> this point, thanks.
>
> my system: Ubuntu 9.04, x86_64, tomcat 6.0.18,
>
> thanks.
>
>
> --
> Best Regards
> LI Daobing
>
>
>
>
I think conf/Catalina/localhost/myAppName.xml wouldn't be replace.
webapps/myAppName/META-INF/context.xml would be replaced. Which one are
you referring to?
--David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: the context.xml is not preserved
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daobing,
On 1/28/2010 9:46 AM, LI Daobing wrote:
> in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there
> is a statement:
>
> "Once this file exists, it will not be replaced if a new WAR with a
> newer /META-INF/context.xml is placed in the host's appBase."
>
> but, in my practice, this file is always be replaced, I need help on
> this point, thanks.
Can you give us a bit more information?
What is the order of events in which you observe this behavior?
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkthpmYACgkQ9CaO5/Lv0PC0MQCeLAyLK9g3/EytsDvNMMzfBlH/
+L8An0vUgD5H508uK2BtoJK9RfD6ACkP
=y6vw
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: the context.xml is not preserved
Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/1/28 LI Daobing <li...@gmail.com>:
> my system: Ubuntu 9.04, x86_64, tomcat 6.0.18,
See the Changelog file for a list of issues fixed since 6.0.18. (Or
search the Bugzilla) I remember that something similar was there.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org