> 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
> 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
-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
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
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
> 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
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,
> 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
/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
> 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
: 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.
> 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
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
13 matches
Mail list logo