Re: Context root query

2012-11-21 Thread vicky007aggarwal
cation context. >> >> The context should remain same irrespective of the application >> archive they deploy, >> >> Do you have any better approach /suggestion for this requirement >> >> thanks for your help vicky >> >> >> ______

Re: Context root query

2012-11-20 Thread Mark Thomas
On 20/11/2012 18:45, Caldarale, Charles R wrote: >> From: vicky [mailto:vicky007aggar...@yahoo.co.in] >> Subject: Re: Context root query > > >> My client has application archives files which all have version >> string in it as stated below :- >> eg:- mom-

Re: Context root query

2012-11-20 Thread Mark Eggers
, 20 November 2012 11:51 PM Subject: Re: Context root query On 20/11/2012 17:47, vicky wrote: 3> As i have a user requirement that they want to have a application context as different from application archive file name That sounds like an x-y problem to me. What is the real user requirem

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
> From: vicky [mailto:vicky007aggar...@yahoo.co.in] > Subject: Re: Context root query > My client has application archives files which all have version > string in it as stated below :- > eg:- mom-1.2.0.war, mom-1.3.0.war,  mom-1.4.0.war,  mom-1.5.0.war > So they doest want

Re: Context root query

2012-11-20 Thread vicky
]/[appName].xml, with a docBase attribute pointing the absolute location of the .war file. Thanks Vicky   From: "Caldarale, Charles R" To: Tomcat Users List Sent: Tuesday, 20 November 2012 11:53 PM Subject: RE

Re: Context root query

2012-11-20 Thread vicky
Subject: Re: Context root query On 20/11/2012 17:47, vicky wrote: > 3>  As i have a user requirement that they want to have a application > context as different from application archive file name That sounds like an x-y problem to me. What is the real user requireme

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
> From: vicky [mailto:vicky007aggar...@yahoo.co.in] > Subject: Re: Context root query > What sense does it make to statically defining a Context in server.xml ?? Pretty much none, these days. Don't do it. > we cannot override  the default  application context  using > &q

Re: Context root query

2012-11-20 Thread Mark Thomas
On 20/11/2012 17:47, vicky wrote: > 3> As i have a user requirement that they want to have a application > context as different from application archive file name That sounds like an x-y problem to me. What is the real user requirement? Mark --

Re: Context root query

2012-11-20 Thread vicky
ory to avoid double deployment . correct ?? Thanks Again   From: "Caldarale, Charles R" To: Tomcat Users List Sent: Tuesday, 20 November 2012 10:57 PM Subject: RE: Context root query > From: vicky [mailto:vicky007aggar...@yahoo.co.in] &

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
> From: vicky [mailto:vicky007aggar...@yahoo.co.in] > Subject: Re: Context root query > i located the snippet(mentioned below) in which its written > that we can define application context in

Re: Context root query

2012-11-20 Thread vicky
? Thanks all, Vicky  From: "Caldarale, Charles R" To: Tomcat Users List Sent: Tuesday, 20 November 2012 10:15 PM Subject: RE: Context root query > From: vicky007aggar...@yahoo.co.in [mailto:vicky007aggar...@yahoo.co.in] > Subject: Re: Context root query > Please

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
> From: vicky007aggar...@yahoo.co.in [mailto:vicky007aggar...@yahoo.co.in] > Subject: Re: Context root query > Please suggest how i can override the context root of an application using > META-INF/context.xml You cannot. Please actually read the documentation everyone has been p

Re: Context root query

2012-11-20 Thread vicky007aggarwal
Helo, Yes , i restarted tomcat after that but that doesn't help. But if i define the following in server.xml , i am able to override the default context root of an application successfully But this is not the appropriate way as i don't want to touch the tomcat server.xml for every applica

Re: Context root query

2012-11-20 Thread André Warnier
André Warnier wrote: vicky007aggar...@yahoo.co.in wrote: Hello Guys, I am trying to define the context root in my application using context.xml. I defined the following in application context.xml under meta-inf directory But still tomcat is referring the application name as my context.

Re: Context root query

2012-11-20 Thread André Warnier
vicky007aggar...@yahoo.co.in wrote: Hello Guys, I am trying to define the context root in my application using context.xml. I defined the following in application context.xml under meta-inf directory But still tomcat is referring the application name as my context. The value which i defin

Re: Context root query

2012-11-20 Thread Elias Kopsiaftis
did you reload tomcat after changing the file? On Tue, Nov 20, 2012 at 7:51 AM, wrote: > > > > > > > > Hello Guys, > > > > I am trying to define the context root in my application using > context.xml. I defined the following in application context.xml under > meta-inf directory > > > > > > > >