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" <[email protected]> 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 <[email protected]> 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" <[email protected]>
> > 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
> > >
> >
>

Reply via email to