: 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
requirement?
Mark
As has been said before:
1
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
Context path=/app1 privileged=true/
But still tomcat is referring the application name as my context. The value
did you reload tomcat after changing the file?
On Tue, Nov 20, 2012 at 7:51 AM, 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
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
Context path=/app1 privileged=true/
But still tomcat is referring the application name as
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
Context path=/app1 privileged=true/
But still tomcat is referring
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
Context path=/tests docBase=/var/www/test_application1/
debug=0 reloadable=true crossContext=false
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 pointing
you
,
Vicky
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, 20 November 2012 10:15 PM
Subject: RE: Context root query
From: vicky007aggar...@yahoo.co.in [mailto:vicky007aggar...@yahoo.co.in
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 context.xml.
**
Individual
November 2012 10:57 PM
Subject: RE: Context root query
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 context.xml
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
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
/META-INF/context.xml
: Tuesday, 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
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 the version string
users@tomcat.apache.org
Sent: Tuesday, 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
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-1.2.0.war, mom-1.3.0.war, mom-1.4.0.war, mom
16 matches
Mail list logo