RE: Using META-INF/context.xml

2007-12-21 Thread Caldarale, Charles R
> From: Andrew Connick [mailto:[EMAIL PROTECTED] > Subject: Using META-INF/context.xml > > Similarly, if I put it into conf/Catalina/localhost/myapp.xml > it's fine, but putting it in myapp/META-INF/context.xml does > not work. > > I also found that if I put comp

RE: Using META-INF/context.xml

2007-12-21 Thread Caldarale, Charles R
> From: Sebastian Gerdes > [mailto:[EMAIL PROTECTED] > Subject: Re: Using META-INF/context.xml > > your 'context' tag is missing the attributes 'docbase' and 'path'. Thank you for posting completely incorrect information. Properly placed elements

Re: Using META-INF/context.xml

2007-12-21 Thread Sebastian Gerdes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Andrew, your 'context' tag is missing the attributes 'docbase' and 'path'. It should look like this: I'm having problems trying to set up a DataSource in META-INF/context.xml > > If I specify the within a in server.xml it works fine

Using META-INF/context.xml

2007-12-21 Thread Andrew Connick
I'm having problems trying to set up a DataSource in META-INF/context.xml If I specify the within a in server.xml it works fine. Similarly, if I put it into conf/Catalina/localhost/myapp.xml it's fine, but putting it in myapp/META-INF/context.xml does not work. I also found that if I put comple

Re: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Rashmi Rubdi
On 5/3/07, Garner, Shawn <[EMAIL PROTECTED]> wrote: We don't use a deployment script. Not sure if we could, it's all secured and isolated. Without the timestamp and the environment in the war name somebody could deploy a war to the wrong environment or an old war. Sounds to me like if it is

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Caldarale, Charles R
> From: Garner, Shawn [mailto:[EMAIL PROTECTED] > Subject: RE: War with timestamp not using META-INF/context.xml path > > We don't use a deployment script. > Not sure if we could, it's all secured and isolated. If you do it by hand, you can do it with a script. > W

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Garner, Shawn
ld use the path attribute in META-INF/context.xml just as easy. Shawn -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 2:29 PM To: Tomcat Users List Subject: RE: War with timestamp not using META-INF/context.xml path > From: Garner,

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Caldarale, Charles R
> From: Garner, Shawn [mailto:[EMAIL PROTECTED] > Subject: RE: War with timestamp not using META-INF/context.xml path > > So there is no way to have the war tell the container what context to > use other than the filename? Correct, unless you manually place the element in serve

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Garner, Shawn
/context.xml path > From: Garner, Shawn [mailto:[EMAIL PROTECTED] > Subject: RE: War with timestamp not using META-INF/context.xml path > > The fourth bullet says this: > > -if the previous file was not found for this application, in an > individual file at /META-INF/c

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Caldarale, Charles R
> From: Garner, Shawn [mailto:[EMAIL PROTECTED] > Subject: RE: War with timestamp not using META-INF/context.xml path > > The fourth bullet says this: > > -if the previous file was not found for this application, in an > individual file at /META-INF/context.xml inside

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Garner, Shawn
: Thursday, May 03, 2007 2:03 PM To: Tomcat Users List Subject: RE: War with timestamp not using META-INF/context.xml path > From: Garner, Shawn [mailto:[EMAIL PROTECTED] > Subject: War with timestamp not using META-INF/context.xml path > > path in the META-INF/context.xml of the war.

RE: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Caldarale, Charles R
> From: Garner, Shawn [mailto:[EMAIL PROTECTED] > Subject: War with timestamp not using META-INF/context.xml path > > path in the META-INF/context.xml of the war. Neither the path nor the docBase attributes are allowed when the element is in META-INF/context.xml. As the doc sta

War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Garner, Shawn
Tomcat 5.5.17 JDK 1.5 I deployed a war through the online manager and it deployed it under the filename instead of the path in the META-INF/context.xml of the war. So my war is mycontext-20070427-0946-sys.war And my context.xml has path="/mycontext" in it but it deployed it under mycont