Re: Deploying an application with its own xml file
In what way, do you mean path seperator or something else ? Within my context.xml im using forward slash (UNIX notation) for both and its the Windows one that is working Phillip Qin wrote: Windows and linux use different url. -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: January 13, 2005 4:22 AM To: Tomcat Users List Subject: Re: Deploying an application with its own xml file 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] - 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] !DSPAM:41e63db745621951019963! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deploying an application with its own xml file
Here is my ant script property name=dist value=${basedir}/dist/ property name=war.file value=ROOT.war/ target name=init description=For undeploy and deploy task. Win32 has a leading slash in url. condition property=war.url value=file:${dist}/${war.file} os family=unix/ /condition condition property=war.url value=file:/${dist}/${war.file} notos family=unix//not /condition /target -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: January 14, 2005 3:14 AM To: Tomcat Users List Subject: Re: Deploying an application with its own xml file In what way, do you mean path seperator or something else ? Within my context.xml im using forward slash (UNIX notation) for both and its the Windows one that is working Phillip Qin wrote: Windows and linux use different url. -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: January 13, 2005 4:22 AM To: Tomcat Users List Subject: Re: Deploying an application with its own xml file 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:41e77f5a180855966097315!
Re: Deploying an application with its own xml file
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]
RE: Deploying an application with its own xml file
Windows and linux use different url. -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: January 13, 2005 4:22 AM To: Tomcat Users List Subject: Re: Deploying an application with its own xml file 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] - 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] !DSPAM:41e63db745621951019963!
Re: Deploying an application with its own xml file
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Doug - Original Message - From: Paul Taylor [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, January 12, 2005 4:46 AM 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deploying an application with its own xml file
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!
Re: Deploying an application with its own xml file
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]