On Wed, 22 Aug 2001, Vladimir Grishchenko wrote:

> Hi there,
>
> May be somebody can give me a quick answer with regards to T3.2.2.
>
> I need to have multiple context paths to point to the same doc base,
> say my server.xml has the following entries:
>
>  <Context path="/somectx"
>           docBase="d:/foo/bar"
>           debug="0"
>           reloadable="false" >
>  </Context>
>
>
>  <Context path="/somectx1"
>           docBase="d:/foo/bar"
>           debug="0"
>           reloadable="false" >
>  </Context>
>
> Will the above config cause my webapp classes/servlets to be loaded
> twice through different classloaders,

Yes.

> or TC is smart enough to realize
> it's the same webapp?
>

It is *not* the same webapp.

Every webapp must have a unique context path, and you have just defined
two different context paths here.  The fact that the document base is the
same is just a coincidence.

> Thanks,
> --V.
>

Craig


Reply via email to