hi ludovic!

Nope, you don't need it in there. What we do in a few apps is to package those 
apps into an EAR, then unpack the whole EAR into the ./webapps folder in tomcat 
and add the /lib folder as shared.loader in ./conf/catalina.properties.
That gives you a shared ClassLoader which sits inbetween tomcat and your single 
webapps. Those WARs will be child-classloaders of the shared loader.

Of course you can also move all the stuff into tomcats lib folder as well...

LieGrue,
strub




>________________________________
> From: "[email protected]" <[email protected]>
>To: [email protected] 
>Sent: Tuesday, 12 November 2013, 9:19
>Subject: Re: OWB on Tomcat 7
> 
>
>
>On 09/11/2013 14:24, Mark Struberg wrote:
>
>Hi folks!
>>
>>There are 2 different ways to work with OpenWebBeans and tomcat.
>>
>>A, your app is using CDI but you do not need the container to
        understand CDI.
>>In that case just add owb-core jar + spi + xbean-asm4-shaded +
        owb-web into your WEB-INF/lib and add
        WebBeansConfigurationListener to your web.xml as
        <listener>
>>
Is it required that openwebbeans is in tomcat WEB-INF/lib ? In my environment, 
we can have tens of webapps on a single tomcat server.
>In this contexte, requiring all of them to use the same version of
    OWB is not a sensible option.
>
>Best regards,
>
>Ludovic
>
>|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
| 
>
>

Reply via email to