geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Nanner/MxI Technologies <aman.nan...@mxi.com>
Subject Re: Enabling "CrossContext" in web applications
Date Tue, 13 Feb 2007 18:32:19 GMT
Thanks, this works!

I had to change the namespace of the web-app element in my geronimo-web.xml
to the Tomcat namespace that you specified, and add the <cross-context/>
element.  This is an interesting technique to make the gernimo-web.xml more
specific to the container.

Aman


"Paul McMahan" <paulmcmahan@gmail.com> wrote on 02-13-2007 11:48:10 AM:

> I haven't played with this in a while, but I think you just need to
> add <cross-context/> to your deployment plan (geronimo-web.xml),
> according to the schema
> http://geronimo.apache.org/schemas-1.1/geronimo-tomcat-1.1.xsd.
>
> For example, something like this should work:
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1">
>     <context-root>/mywebapp</context-root>
>     <cross-context/>
> </web-app>
>
> Best wishes,
> Paul
>
> On 2/13/07, Aman Nanner/MxI Technologies <aman.nanner@mxi.com> wrote:
> >
> > Hi,
> >
> > I need to enable the Tomcat "CrossContext" parameter for my web
> > applications, so that their contexts are visible to each other, but I
am
> > not clear on how to do this properly in Geronimo 1.2-beta.
> >
> > I saw somewhere in a dev mailing list that the following snippet should
be
> > added to the geronimo-web.xml plan:
> >
> > ---
> > <container-config container="Tomcat">
> >      <config-param name="CrossContext">true</config-param>
> > </container-config>
> > ---
> >
> > However, on the IBM website, I also see that there is a
geronimo-tomcat.xml
> > descriptor that I could put in my web application and that allows for
the
> > configurability of this CrossContext parameter (based on WASCE
1.1.0.1).
> > Currently, I do not have any geronimo-tomcat.xml descriptors in my web
> > applications.  Does anybody know what the best way to do this is?
> >
> > Thanks,
> > Aman
> >
> >
>
__________________________________________________________________________________

> > * This message is intended only for the use of the individual or
> entity to which it is addressed, and may contain information that is
> privileged, confidential and exempt from disclosure under applicable
> law. Unless you are the addressee (or authorized to receive for the
> addressee), you may not use, copy or disclose the message or any
> information contained in the message. If you have received this
> message in error, please advise the sender by reply e-mail , and
> delete the message, or call (collect) 001 613 747 4698. *
> >
> >

__________________________________________________________________________________
* This message is intended only for the use of the individual or entity to which it is addressed,
and may contain information that is privileged, confidential and exempt from disclosure under
applicable law. Unless you are the addressee (or authorized to receive for the addressee),
you may not use, copy or disclose the message or any information contained in the message.
If you have received this message in error, please advise the sender by reply e-mail , and
delete the message, or call (collect) 001 613 747 4698. *


Mime
View raw message