-Original Message-
From: [EMAIL PROTECTED]
Following is a version of a context.xml file that goes in
the META-INF directory of a webapp.
?xml version=1.0 encoding=UTF-8?
Context path=/Ex12
Logger
Hello,
I am still configuring my Tomcat 5.5.7 on a PC. I am configuring a Context
element and would like to put it in the META-INF/context.xml for my webapp. The
docs say this would be fine.
My question is, so I need anytype of doctype heading for this, since it is a
xml file?
Or do I just
Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 11:58 AM
To: tomcat-user@jakarta.apache.org
Subject: META-INF/context.xml question
Hello,
I am still configuring my Tomcat 5.5.7 on a PC. I am configuring a
Context element and would like to put it in the META
Hi,
11Apr2005 @ 12:57 Scott Purcell thusly spake
My question is, so I need anytype of doctype heading for this, since it is a
xml file?
Or do I just create the context.xml in an editor, and start with my Context
elements?
Following is a version of a context.xml file that goes in
I put the following file in my war at META-INF/context.xml
Context path=/external docBase=${catalina.home}/webapps/external debug=0
reloadable=false
!-- Oracle Resource Definitions --
Resource name=jdbc/abadb
auth=Container
Three questions here:
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 always be two
directories up from the context.xml file. Could this
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
: context.xml question)
G'day,
You're welcome. :) In future though I suggest you post questions to the list
and not direct to an individual you are much more likely to get help that
way. :) (I've CC'd the list with this)
As to your problem, can you give a few more details? Is the 404 being thrown
Is it necessary to specify the docBase attribute of the Context element of
the myWebApp/META-INF/context.xml file?
Joshua
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not
15 matches
Mail list logo