You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Anthony Fryer <ap...@hotmail.com> on 2012/05/22 00:55:49 UTC
Can you configure tomee to not scan a jar in WEB-INF/lib?
I have a big jar file (9Mb) that only contains resources in
/META-INF/resources and no java classes. I deploy this in WEB-INF/lib of my
war file. I was wondering if it is possible to somehow tell tomee to not
scan just this one jar file when the application deploys?
--
View this message in context: http://openejb.979440.n4.nabble.com/Can-you-configure-tomee-to-not-scan-a-jar-in-WEB-INF-lib-tp4649006.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Can you configure tomee to not scan a jar in WEB-INF/lib?
Posted by Anthony Fryer <ap...@hotmail.com>.
Thanks, worked perfectly.
--
View this message in context: http://openejb.979440.n4.nabble.com/Can-you-configure-tomee-to-not-scan-a-jar-in-WEB-INF-lib-tp4649006p4649037.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Can you configure tomee to not scan a jar in WEB-INF/lib?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
using conf/exclusions.list it is possible.
on last release you have to add all default exclusions manually (on trunk
there is an alias for that). Here the default list:
http://svn.apache.org/repos/asf/openejb/trunk/openejb/container/openejb-core/src/main/resources/default.exclusions
the format is one jar prefix by line.
- Romain
2012/5/22 Anthony Fryer <ap...@hotmail.com>
> I have a big jar file (9Mb) that only contains resources in
> /META-INF/resources and no java classes. I deploy this in WEB-INF/lib of
> my
> war file. I was wondering if it is possible to somehow tell tomee to not
> scan just this one jar file when the application deploys?
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Can-you-configure-tomee-to-not-scan-a-jar-in-WEB-INF-lib-tp4649006.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>