I believe this is new to tomcat 5 in the past the context was in the
server.xml
-Original Message-
From: bachoo jahnkar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 1:07 PM
To: tomcat-user@jakarta.apache.org
Subject: context.xml
Hi,
Can context.xml be used with tomcat
Thanks for the reply.
My application uses tomcat 4.0.3. the webapps/hst/htdocs is the app directory.
I have used ants war task to create a war file hst.war. when i deploy this to
unix box it is creating the whole directory correctly. However is setting the
context to /hst instead of
Here is context.xml...
Context path=/xx docBase=xx crossContext=true
Resource name=jdbc/xxDb auth=Container
type=javax.sql.DataSource/
ResourceParams name=jdbc/xxDb
parameternamefactory/namevalueorg.apache.commons.dbcp.BasicDataSourceFactory/value/parameter
Matt Galvin [EMAIL PROTECTED] wrote:
Yes, there is, I usually put them in:
$CATALINA_HOME/conf/Catalina/localhost/myapp.xml
Could you post the contents of your context file? Maybe something
needs to be tweak possibly.
Here is context.xml...
Context path=/xx docBase=xx crossContext=true
So, IS there a way to do what I'm trying to do?
Yes, there is, I usually put them in:
$CATALINA_HOME/conf/Catalina/localhost/myapp.xml
Could you post the contents of your context file? Maybe something
needs to be tweak possibly.
Matt
yes I experienced this exact problem in 5.0.27, and simply upgrading to
5.0.28 fixed it.
-Original Message-
From: Peter Rossbach [mailto:[EMAIL PROTECTED]
Sent: Monday 01 November 2004 07:50
To: Tomcat Users List
Subject: Re: context.xml deployed as folder in Tomcat 5
It is fixed with version 5.0.28.
Peter
Woodchuck schrieb:
it's version 5.0.27
is there a way i can tell whether it's patched with this fix or not?
--- QM [EMAIL PROTECTED] wrote:
On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote:
: i put a context.xml file into my META-INF folder
On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote:
: i put a context.xml file into my META-INF folder and created a war
: file. then i dropped the war file in to the webapps folder. but
: whenever TC5 auto deploys my war file, it creates a myapp.xml folder
: in the
it's version 5.0.27
is there a way i can tell whether it's patched with this fix or not?
--- QM [EMAIL PROTECTED] wrote:
On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote:
: i put a context.xml file into my META-INF folder and created a war
: file. then i dropped the war file
On Sat, Oct 30, 2004 at 02:04:01PM -0700, Woodchuck wrote:
: is there a way i can tell whether it's patched with this fix or not?
Yes -- search the archives and/or Bugzilla to see what version has the
fix. If your version that version, well... ;)
Quite frankly, the fact that you experience
Are you using a war file?
- Original Message -
From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:45 AM
Subject: context.xml - what's the secret?
Hello all,
Let me first say that I am using Tomcat 4.1.30 and have an existing
Try putting it in WEB-INF instead of META-INF
Adam.
-Original Message-
From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 12:45
To: '[EMAIL PROTECTED]'
Subject: context.xml - what's the secret?
Hello all,
Let me first say that I am using Tomcat 4.1.30
No, I am not currently using a war file. The ant deploy task is copying the
updated files directly to the webapps directory.
Joshua
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:52 AM
To: Tomcat Users List
Subject: Re
Adam,
I will certainly give that a try...
Joshua
-Original Message-
From: Adam Fowler [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:55 AM
To: 'Tomcat Users List'
Subject: RE: context.xml - what's the secret?
Try putting it in WEB-INF instead of META-INF
Adam
Hi Joshua,
If you're using a war file, then you should place the Context fragment
inside META-INF then deploy it. If you have already deployed the web
application (that is, it is either already expanded inside your web
application directory, or the directory was manually created and your
List
Subject: Re: context.xml - what's the secret?
Hi Joshua,
If you're using a war file, then you should place the Context fragment
inside META-INF then deploy it. If you have already deployed the web
application (that is, it is either already expanded inside your web
application directory
a GlobalResource for the database pool.
It all works fine under TC5. If that's an option.
Doug
- Original Message -
From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:43 AM
Subject: RE: context.xml - what's the secret
. I have tried naming the
context fragment both context.xml and myAppName.xml. Any other ideas?
Joshua
-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:03 AM
To: Tomcat Users List
Subject: Re: context.xml - what's the secret?
Hi Joshua
?
-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:08 AM
To: Tomcat Users List
Subject: Re: context.xml - what's the secret?
Ok, this may sound like a rather obvious question, but how are you using
the Ant task to install ? Are you using the deployer
Hi Joshua,
There's your answer right there. Yes, the directory *has* to exist. In
fact, when you install Tomcat (the full version, not sure about LE,
though), you should see admin.xml and manager.xml inside that directory.
You are using Tomcat 5, right ? If the directory does not exist, you
AFAIK, context.xml is only required by Tomcat Manager app and thus it has to
be located in META-INF in war.
-Original Message-
From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED]
Sent: June 30, 2003 6:58 AM
To: Tomcat Users List
Subject: context.xml in META-INF directory
Hello
On Wed, 18 Jun 2003 12:32:00 -0400, White, Joshua A (HTSC, CASD)
[EMAIL PROTECTED] wrote:
Can the docBase attribute of the context element be relative? The
location
of the docBase will be different depending on where I am deploying to.
Given mywebapp/META-INF/context.xml, the document root will
Howdy,
Can the docBase attribute of the context element be relative? The
location
Yes. It can be relative to the host's appBase or absolute. See the
Context configuration reference.
On a seperate note, when installing a war file using the catalina ant
task,
should tomcat automatically look
\examples
reloadable=true crossContext=true
I look forward for your comments.
Regards.
Jose Oyervides.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:35 AM
To: Tomcat Users List
Subject: Re: context.xml question
On Wed, 18 Jun 2003 12
Howdy,
I am having the same situation as Joshua, I have a W2k Server IIS5.0,
Tomcat
4.0.6.
I looked for admin.xml and manager.xml and those weren't in my
installation.
Those are tomcat 4.1 features, as is the whole context.xml approach.
All I am trying to do is put my jsp file outside
On Thu, 19 Jun 2003 01:15, Jose Santiago Oyervides Gonzalez wrote:
I've tried:
Host name=mydomain.com debug=0 appBase=e:\webapps
unpackWARs=true
Try a forward slash instead ie. e:/webapps or maybe a double backslash.
Also is e: drive a local or network drive? If it is a Network drive
That were a network drive. I used the tip Jason gave me.
Now it works.
Thanks to all.
Jose Oyervides.
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 12:24 PM
To: Tomcat Users List
Subject: Re: context.xml question
On Thu, 19 Jun 2003
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 12:24 PM
To: Tomcat Users List
Subject: Re: context.xml question
On Thu, 19 Jun 2003 01:15, Jose Santiago Oyervides Gonzalez wrote:
I've tried:
Host name=mydomain.com debug=0 appBase=e:\webapps
unpackWARs=true
Try a forward
Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 12:24 PM
To: Tomcat Users List
Subject: Re: context.xml question
On Thu, 19 Jun 2003 01:15, Jose Santiago Oyervides Gonzalez wrote:
I've tried:
Host name=mydomain.com debug=0 appBase=e:\webapps
unpackWARs=true
Subject: Re: context.xml inside war and outside
On Mon, 16 Dec 2002, Anthony Ikeda wrote:
Date: Mon, 16 Dec 2002 14:16:58 +1100
From: Anthony Ikeda [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: context.xml inside war
On Mon, 16 Dec 2002, Anthony Ikeda wrote:
Date: Mon, 16 Dec 2002 11:08:51 +1100
From: Anthony Ikeda [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: context.xml inside war and outside
I have moved my Context declarations from the server.xml
Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 16, 2002 12:01 PM
Subject: Re: context.xml inside war and outside
On Mon, 16 Dec 2002, Anthony Ikeda wrote:
Date: Mon, 16 Dec 2002 11:08:51 +1100
From: Anthony Ikeda [EMAIL
On Mon, 16 Dec 2002, Anthony Ikeda wrote:
Date: Mon, 16 Dec 2002 14:16:58 +1100
From: Anthony Ikeda [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: context.xml inside war and outside
Thanks for clearing that up Craig
33 matches
Mail list logo