tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umer Rashid" <>
Subject Re: getContext() returns null
Date Mon, 19 Apr 2004 06:22:11 GMT
I did, but I got the error at Tomcat startup. I had written:

        <Context path="/A" docBase="A" debug="0"
  reloadable="true" crossContext="true"/>

in server.xml. Is there no way to access context of another servlet from
root servlet/war?


----- Original Message -----
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Friday, April 16, 2004 5:55 PM
Subject: RE: getContext() returns null

Did you try setting crossContext to true for the A context as well? ;)

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Umer Rashid []
>Sent: Friday, April 16, 2004 6:49 AM
>To: Tomcat Users List
>Subject: getContext() returns null
>I was able to acess A.war from B.war, but after I set B.war as ROOT (by
>setting Context path="" in server.xml),
>in B.war return null, even though I have set crossContext ="true" in
>Context tag of B. Can anyone tell me how this problem can be fixed?
>Regards, umer

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message