You can redefine it in conf (conf/exclusions.list), in WEB-INF or we have
include/exclude system property for it.

It is on the refcard https://tomee.apache.org/refcard/refcard.html

Le 16 juil. 2016 16:56, "Daniel Cunha" <daniels...@gmail.com> a écrit :

> Romain,
>
> has an option to override the excluded jars? :)
>
> On Sat, Jul 16, 2016 at 11:52 AM, Ivan St. Ivanov <
> ivan.st.iva...@gmail.com>
> wrote:
>
> > Hi folks,
> >
> > Thanks everybody for quick responses!
> >
> > @Romain: you were right. After I renamed the jar to just actuator.jar, it
> > worked! Awesome!
> >
> > Cheers,
> > Ivan
> >
> > On Sat, Jul 16, 2016 at 5:41 PM, Romain Manni-Bucau <
> rmannibu...@gmail.com
> > >
> > wrote:
> >
> > > Should clearly but not if called javaee-actuator.jar cause javaee*.jar
> > are
> > > excluded by default.
> > >
> > > Le 16 juil. 2016 16:39, "John D. Ament" <johndam...@apache.org> a
> écrit
> > :
> > >
> > > > Looks like he has a master branch where that works properly.
> > > >
> > > > John
> > > >
> > > > On Sat, Jul 16, 2016 at 10:35 AM Alex Soto <asot...@gmail.com>
> wrote:
> > > >
> > > > > At mobile now but have you tried adding classes in war project and
> > see
> > > if
> > > > > they work and then extract to jar?
> > > > >
> > > > > El 16 jul. 2016 4:34 p. m., "Ivan St. Ivanov" <
> > > ivan.st.iva...@gmail.com>
> > > > > escribió:
> > > > >
> > > > > > Hi folks,
> > > > > >
> > > > > > I have the following case. I am developing a simple web
> > application,
> > > > > which
> > > > > > is empty for the moment, but contains a jar that exposes RESTful
> > web
> > > > > > services via JAX-RS. Here is the structure:
> > > > > >
> > > > > > - actuator.jar: contains class extending
> > javax.ws.rs.core.Application
> > > > as
> > > > > > well as a class annotated with @Path and containing a method
> > > annotated
> > > > > with
> > > > > > @GET
> > > > > > - actuator.war packages actuator.jar in WEB-INF/lib and apart
> from
> > > that
> > > > > is
> > > > > > empty
> > > > > >
> > > > > > The source code is here:
> > > > > > https://github.com/ivannov/javaee-actuator/tree/split
> > > > > >
> > > > > > I deployed this into TomEE 7.0.1 Plume and when I tried to access
> > my
> > > > > > RESTful resource, I got 404. I don't see anything in the catalina
> > > log.
> > > > > And
> > > > > > these are the application deployment messages form the console:
> > > > > >
> > > > > > INFO - Enterprise application
> > > > > > "/opt/apache-tomee-plume-7.0.1/webapps/actuator" loaded.
> > > > > > INFO - Assembling app:
> > /opt/apache-tomee-plume-7.0.1/webapps/actuator
> > > > > > INFO - Deployed
> > > > > > Application(path=/opt/apache-tomee-plume-7.0.1/webapps/actuator)
> > > > > > INFO - At least one JAR was scanned for TLDs yet contained no
> TLDs.
> > > > > Enable
> > > > > > debug logging for this logger for a complete list of JARs that
> were
> > > > > scanned
> > > > > > but no TLDs were found in them. Skipping unneeded JARs during
> > > scanning
> > > > > can
> > > > > > improve startup time and JSP compilation time.
> > > > > > INFO - Deployment of web application archive
> > > > > > /opt/apache-tomee-plume-7.0.1/webapps/actuator.war has finished
> in
> > > > 1,808
> > > > > ms
> > > > > >
> > > > > > The same works fine in Wildfly 10. It works OK on TomEE as well
> > when
> > > > > > actuator.jar is actually a war and deploy it directly.
> > > > > >
> > > > > > Do I have to do anything special in order to make resources
> > packaged
> > > in
> > > > > > WEB-INF/lib discoverable in TomEE?
> > > > > >
> > > > > > Thanks,
> > > > > > Ivan
> > > > > >
> > > > >
> > > >
> > >
> >
>
>
>
> --
> Daniel Cunha
> https://twitter.com/dvlc_
> http://www.tomitribe.com
> http://www.tomitribe.io
>

Reply via email to