> I don't think that's true - each directory or .war file in the appBase
> directory will cause a separate application deployment, which is what I
> thought you wanted.
As you may have noted, I am not a Tomcat expert so you are probably right.
But my app logs in catalina.out when it reads its con
>
>
> The second context xml file, named secondInstance.xml (URL would be
> http://localhost:8080/secondInstance):
>
>
This don't work. It seems that with tomcat > 5.0 you can't point a context's
docBase to something INSIDE the appBase directory when using context files
in conf/[Engine name]/[H
> From: Claudio Tassini [mailto:[EMAIL PROTECTED]
> Subject: Re: symlinks in webapps
>
> it causes my app to start several times, while with
> a simple symlink I had the same webapp referenced as
> many times as I wished
I don't think that's true - each directory
Of course you *could* do something to encourage a double deploy and get
the desired result. Just make a context xml file named after the second
context path and set it's docbase to point to the original webapp's
folder. It'd look something like this:
Assuming you have this in your conf/[Engi
FYI, If I add several blocks each
with a different path , in my server.xml, it seems to work . The problem is
that it's discouraged in tomcat's documentation, and anyway it causes my app
to start several times, while with a simple symlink I had the same webapp
referenced as many times as I wished
Don't seem to work. It seems that I can't use a docBase in a context.xml
that points to something under the appBase directory, as it's simply ignored
and tomcat assumes that the docbase is in /webapps :
Sep 6, 2008 6:23:28 PM org.apache.catalina.startup.HostConfig
deployDescriptor
WARNING: A docBas
> From: Claudio Tassini [mailto:[EMAIL PROTECTED]
> Subject: symlinks in webapps
>
> The goal is to have the same webapp referenced by
> two contexts
Rather than use symlinks, try using an additional element in
conf/Catalina/[host]/WebMail2.xml:
(Include whatever else is needed from the META-