Hi

>>You ll not get it at this moment but using a normal tomcat listener you
an
>>get it. It would be easier and portable between tomee and tomcat.
Thanks for quick response. But I didn't get what you mean. Could you please
elaborate little bit more?

Thanks
Best Regards
/Thusitha

2015-04-08 11:50 GMT+05:30 Romain Manni-Bucau <[email protected]>:

> You ll not get it at this moment but using a normal tomcat listener you  an
> get it. It would be easier and portable between tomee and tomcat.
>  Le 8 avr. 2015 07:59, "Thusitha Thilina Dayaratne" <
> [email protected]> a écrit :
>
> > Hi,
> >
> > >>Le 8 avr. 2015 07:19, "Thusitha Thilina Dayaratne" <
> > >>[email protected]> a écrit :
> > >>Which StandardContextInfo one? What do you want to do?
> >
> > This is my code segment
> >
> > <snip>
> > public class OpenEJBContextConfig extends ContextConfig {
> >     public OpenEJBContextConfig(TomcatWebAppBuilder.StandardContextInfo
> > standardContextInfo) {
> >         ...
> >         logger.debug("OpenEJBContextConfig({0})",
> > standardContextInfo.toString());
> >         info = standardContextInfo;
> >         ...
> >         this.setDefaultWebXml(globalWebXml);
> >         this.setDefaultContextXml(globalContextXml); //This is not
> allowed
> > in tomcat 8 onwards. This should be set through the StandardContext
> >     }
> > </snip>
> >
> > So I wonder whether there is a way to get the StandardContext from the
> > TomcatWebAppBuilder.StandardContextInfo
> > instance which is already pass to this constructor.
> >
> > Thanks
> > Best Regards
> > Thusitha
> >
> > 2015-04-08 11:14 GMT+05:30 Romain Manni-Bucau <[email protected]>:
> >
> > > Hi
> > >
> > > Le 8 avr. 2015 07:19, "Thusitha Thilina Dayaratne" <
> > > [email protected]> a écrit :
> > > >
> > > > Hi,
> > > >
> > > > I'm in the process of migrating embedded Tomcat 7 application to
> Tomcat
> > > > 8.020. It depend on tomee as well.
> > > > I'm trying to use the Tomee 2.0.0-SNAPSHOT to do so.
> > > >
> > > > In tomcat 8 defaultContextXml file should be configured through the
> > > > StandardContext (This was done through ContextConfig in tomcat 7).
> > > > Is there a way that I can get the StandardContext through the
> > > > StandardContextInfo?
> > > >
> > >
> > > Which StandardContextInfo one? What do you want to do?
> > >
> > > > Thanks
> > > > Best Regards
> > > >
> > > > --
> > >
> >
> >
> >
> > --
> >
>



--

Reply via email to