Mark, Chuck,
Thank you both very much for the detailed explanations. I can certainly
see how this would definitely speed development along, and how - in most
cases - the context.xml is unnecessary. I myself, have rarely used them
unless as Mark mentioned, I needed specific context parameters.
Hello,
I'm trying to use the manager to deploy a war file creating using Maven
2. The war is a snapshot file which contains a META-INF/context.xml file. It
seems that this file is being ignored when deploying this way and the war
file-name is being used instead.
I thought the purpose of the
Mark, thanks for the reply.
You appear to have misunderstood. Which part of the doc did you get this
from and I'll see if it can be made clearer.
From my understanding of the the order of precedence.
[quote]
*Context* elements may be explicitly defined:
- in the
That isn't quite how it works.
$CATALINA_HOME/conf/context.xml
provides global defaults which can be overridden at the host level by:
$CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.defaultfile
which in turn can be overridden at the context level by:
You will probably have to write a valve for this. I had to write one
to set the session cookie's domain so that it's a site wide domain.
I posted the code to this mailing list a while back. If you do a
search you should be able to find it, if not let me know I'll see if I
can get a hold of it.
cookie.
*
* @author Eric Berry
*/
public class EviteSessionValve extends ValveBase {
private static final String JSESSIONID = JSESSIONID;
private String cookieDomain;
/**
* An explicit no-arg constructor.
*/
public EviteSessionValve
This will fail in later versions of Tomcat 5. appBase should not equal
docbase. The correct configuration is:
Host name=www.host1.com appBase=/opt/projects/www/host1/web
Context docBase=/ROOT /
/Host
Does this mean that there must be a ROOT directory under
/opt/projects/www/host1/web?
In my
-- Forwarded message --
From: Eric Berry [EMAIL PROTECTED]
Date: Sep 14, 2006 11:11 AM
Subject: Re: Three hostnames in one instance of tomcat
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
In the ${tomcat_instance}/conf/server.xml files just change the single
host entry to have your
I have my development box setup how I think you want yours done
(though, I only access it locally from that machine). The 3 hosts
should have separate app bases and the context paths should be empty
(meaning the default path). What you've done up there should work if
you have your hosts file
From my understanding found here:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
The Document Base (also known as the Context Root) directory for this
web application, or the pathname to the web application archive file
(if this web application is being executed directly from the
added lines.
Now the server.xml is the default one that came with tomcat.
What changes you want me to try ??
Eric Berry wrote:
From my understanding found here:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
The Document Base (also known as the Context Root) directory for this
web
Hi all,
I'm still pretty new to this. I'm trying to set up a home server
for testing and learning purposes, and I'm having some troubles
setting up virtual hosts with Apache and mod_jk.
I have created a virtual host in my httpd.conf:
VirtualHost *:80
DocumentRoot
Hi Chris,
On 8/2/06, Christopher Schultz [EMAIL PROTECTED] wrote:
Eric,
/*.jsp ajp13
/*.do ajp13
I assume these lines say JkMount before the paths...?
This is correct, sorry (bad rectangular copy).
Are you using name based virtual hosting -- meaning that the hostname
Chris,
I remembered seeing something about this when I downloaded tomcat,
and managed to find this in the RUNNING.txt.
==
Advanced Configuration - Multiple Tomcat Instances
==
In many
Chris,
Thank you so very much for all the help. So all I need besides the
workers.properties entries you mentioned previously, is to make sure
that virtual hosts in httpd.conf have the JkMounts pointed to the
worker I choose. That worker's port must coincide with a Connector
configuration in
15 matches
Mail list logo