Ok, it is working on my test (Windows) environment.
But with same war deploying it to my Live environment(Linux) results in it creating myapp.xml as a directory rather than a file !
Ive doubled checked this and the behaviour is constant, anyone ever sdeen this?


Paul Taylor wrote:

Thanks now working
I had previously found the bit about META-INF but called the file myapp.xml not context.xml
Phillip Qin wrote:


Sotre your context.xml into META-INF. Pack your webapp as war. Then let
catalina-ant task or Tomcat Manager to deploy your war.

-----Original Message-----
From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: January 12, 2005 4:47 AM
To: Tomcat Users List
Subject: Deploying an application with its own xml file



I have an application myapp.war and a corresponding xml file myapp.xml.
Previously I was copying myapp.xml into tomcat/conf/catalina/localhost and manually unpacking my war.
Now I realised I can put the war into tomcat/webapps and it will automatically deploy, but I then have to shutdown server copy over the myapp.xml and restart the server. Where can I put the myapp.xml file so it automatically gets deployed with the WAR file in a single step.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41e4fe7c238787962119335!





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to