Jesse Vitrone [EMAIL PROTECTED] writes:
So in TC5, the conext is part of the war file, and I don't need to do
anything separate? All that info can be in the war file?
In TC5, you can define the context in a special file
in conf/Catalina/localhost/webapp.xml. With this, everything
works as
Which version of Tomcat? I believe this is known behavior for Tomcat 4,
if you define a context element pointing to a war fail. There should be
no problem with functionality; can you verify? A War is not required to
be extracted in order for it to load properly.
-Original Message-
To: Tomcat Users List
Subject: RE: Context mapping and war
Which version of Tomcat? I believe this is known behavior for Tomcat 4, if
you define a context element pointing to a war fail. There should be no
problem with functionality; can you verify? A War is not required to be
extracted in order
Change you docbase to 'mywebapp.war' and retry.
-Original Message-
From: Jesse Vitrone [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:52 AM
To: 'Tomcat Users List'
Subject: RE: Context mapping and war
I'm running Tomcat 4.1.30
When I try to hit the app, I get a 404.
I
That works! There's no way to make it extract though?
Jesse
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:53 AM
To: Tomcat Users List
Subject: RE: Context mapping and war
Change you docbase to 'mywebapp.war' and retry
]
Sent: Thursday, March 18, 2004 10:14 AM
To: 'Tomcat Users List'
Subject: RE: Context mapping and war
That works! There's no way to make it extract though?
Jesse
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:53 AM
To: Tomcat Users
-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 10:24 AM
To: Tomcat Users List
Subject: RE: Context mapping and war
Is there a need to? Unless your accessing files directly through the file
system, it is not required... In TC5, you can add this context
:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 10:14 AM
To: 'Tomcat Users List'
Subject: RE: Context mapping and war
That works! There's no way to make it extract though?
Jesse
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:53 AM
Jesse Vitrone wrote:
When I try to install my application, I put the war file in the webapps
directory, and in the server.xml I add a context mapping. When I start
Tomcat, my war file isn't getting extracted.
Unpack wars is set to true:
Host name=localhost debug=0 appBase=webapps
Thanks, for now, I think I'm just going to set the docBase to be the war
file.
Jesse
-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 11:35 AM
To: Tomcat Users List
Subject: Re: Context mapping and war
Jesse Vitrone wrote:
When I try
I have no problem unpacking wars on Tomcat 4.1.x.
I set the Host appBase to the absolute (not relative) path of the
directory where the war will be located. For example:
Host name=localhost.struts appBase=/home/tomcat/struts debug=0
unpackWARs=true
In this case you would put mywebapp.war in
Tomcat for the app to see any resources defined in the context.
Doug
www.parsonstechnical.com
- Original Message -
From: Jesse Vitrone [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 11:43 AM
Subject: RE: Context mapping and war
Thanks, for now, I
12 matches
Mail list logo