Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-23 Thread Mark Thomas
On 21/04/2013 13:57, Jakub 1983 wrote: Mark, sorry I didn't reply so long, but my previous tomcat was messed with tests and many attempts, now I did everything from start with clean tomcat installation and confirm context xml disappears. steps to reproduce 1) make dir C:\tomcat_test 2)

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-23 Thread Jakub 1983
Mark, thx for investigation, apart from users@tomcat.apache.org I have also sent previous post with attachments to ma...@apache.org regards Jakub On Tue, Apr 23, 2013 at 1:04 PM, Mark Thomas ma...@apache.org wrote: On 21/04/2013 13:57, Jakub 1983 wrote: Mark, sorry I didn't reply so long,

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-21 Thread Jakub 1983
Mark, sorry I didn't reply so long, but my previous tomcat was messed with tests and many attempts, now I did everything from start with clean tomcat installation and confirm context xml disappears. steps to reproduce 1) make dir C:\tomcat_test 2) download apache-tomcat-7.0.39.zip and unpack it

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-18 Thread Mark Thomas
On 17/04/2013 23:46, Jakub 1983 wrote: I call ant task target name=deploy-war depends=create-war copy file=${target.dir}/${war.file} todir=${deploy.dir}/ /target application is called jdbc.war, and I create jdbc.xml in conf/Catalina/localhost/ after I deploy war and

conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-17 Thread Jakub 1983
when I copy new version of myWebApp.war into webapps directory my context from conf/Catalina/localhost/ disappears (this context was manually created by me), maybe tomcat first deletes war, and also delete corresponding context file, is there any way to prevent it ? how should such update be done

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-17 Thread André Warnier
Jakub 1983 wrote: when I copy new version of myWebApp.war into webapps directory my context from conf/Catalina/localhost/ disappears (this context was manually created by me), maybe tomcat first deletes war, and also delete corresponding context file, is there any way to prevent it ? how should

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-17 Thread Jakub 1983
Andre, thx for you reply. My war has no /META-INF/context.xml, here is piece of server.xml: Host name=localhost appBase=C:\test\catalina_base\webapps unpackWARs=true autoDeploy=true deployOnStartup=true deployXML=false even with deployXML=false my jdbc.context if removed

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-17 Thread Mark Thomas
On 17/04/2013 10:35, Jakub 1983 wrote: when I copy new version of myWebApp.war into webapps directory my context from conf/Catalina/localhost/ disappears (this context was manually created by me), What, exactly, are you doing? For example, copy and overwrite has very different behaviour (at

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-17 Thread Jakub 1983
I call ant task target name=deploy-war depends=create-war copy file=${target.dir}/${war.file} todir=${deploy.dir}/ /target application is called jdbc.war, and I create jdbc.xml in conf/Catalina/localhost/ after I deploy war and previous jdbc.xml disappears - I create it on running