Re: Second issue with simple rest application on TomEE 9.1.2

2024-04-02 Thread Kean Erickson
Hello Francois,

One thing I noticed when switching to microprofile is that openapi became
more strict and wouldn't document resources unless they have a @Produces
and @Consumes at class level. So I set json as the default for both on each
of those classes, and override where needed.

@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)

That was a while ago but it still seems like removing those class level
annotations results in the APIs not being included by openapI.

On Tue, Apr 2, 2024, 3:51 AM COURTAULT Francois
 wrote:

> THALES GROUP LIMITED DISTRIBUTION to email recipients
>
> Hello everyone,
>
> Context: TomEE 9.1.2 micro-profile flavor.
>
> I have raised an issue in another POST (Some issues with simple rest
> application).
>
> This time:
>
>   *   I add a new class which extends Application.
> @ApplicationPath("myapp")
>
> public class MyApp extends Application {
> }
>
>   *   The previous Root resource is still there
> @Path("myresource")
> public class MyResource {
>
> @GET
> public Response test() {
>
>   return Response.ok().build();
>
> }
>
> }
>
>   *   I remove web.xml from the war or the web.xml is empty (eg no servlet
> declared)
>
> By doing so, I think I am still compliant to the spec:
>
>   *   “If an Application subclass is present…”: this the case
>   *   “If no servlet handles this application”: web.xml removed: this is
> the case
>   *   “When an Application subclass is present in the archive, if both
> Application.getClasses
> and Application.getSingletons return an empty collection (default
> implementation so this is the case) then
> all root resource classes and providers packaged in the web application
> MUST be included
> and the JAX-RS implementation is REQUIRED to discover them automatically
> by scanning a .war as described above”
>
> But when I startup TomEE micro-profile, I got:
> 02-Apr-2024 12:04:57.650 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST
> Application: http://localhost:8080/JAXRS/   ->
> org.apache.openejb.server.rest.InternalApplication@19f9287a org.apache.openejb.server.rest.InternalApplication@19f9287a>
> 02-Apr-2024 12:04:57.654 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
> Service URI: http://localhost:8080/JAXRS/health -> Pojo
> org.apache.tomee.microprofile.health.MicroProfileHealthChecksEndpoint
> 02-Apr-2024 12:04:57.654 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/health ->  Response
> getChecks()
> 02-Apr-2024 12:04:57.654 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/health/live->  Response
> getLiveChecks()
> 02-Apr-2024 12:04:57.654 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/health/ready   ->  Response
> getReadyChecks()
> 02-Apr-2024 12:04:57.654 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/health/started ->  Response
> getStartedChecks()
>
> No GET on a path with myresource or myapp ☹
> What’s wrong in my understanding  of the spec ?
>
> For curiosity, I deployed the very same war on TomEE 8.0.16 micro-profile.
> This time I got:
> 02-Apr-2024 12:44:37.179 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST
> Application: http://localhost:8080/JAXRS/myapp
>  -> jaxrs.skeleton.MyApp@7c39193f
> 02-Apr-2024 12:44:37.181 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
> Service URI: http://localhost:8080/JAXRS/myapp/health
>   -> Pojo
> org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
> 02-Apr-2024 12:44:37.182 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/health  ->
> Response getChecks()
> 02-Apr-2024 12:44:37.185 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
> Service URI: http://localhost:8080/JAXRS/myapp/metrics
>  -> Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints
> 02-Apr-2024 12:44:37.185 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/metrics ->
> Object getJson(SecurityContext, UriInfo)
> 02-Apr-2024 12:44:37.185 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/metrics ->
> String getText(SecurityContext, UriInfo)
> 02-Apr-2024 12:44:37.185 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/metrics/{registry}<
> http://localhost:8080/JAXRS/myapp/metrics/%7bregistry%7d>

Re: Some issues with simple rest application

2024-04-02 Thread Richard Zowalla
Hi,

I don't see an actual issue here. I have reproduced the example you
described in your mail here (declare a resource, add an application
servlet in web.xml):
 
https://github.com/rzo1/ml-jaxrs-repro

Running that on a TomEE 9.1.2 (Microprofile) deploys the resource as
expected:

02-Apr-2024 20:16:38.994 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST
Application: http://localhost:8282/myapp->
org.apache.openejb.config.AnnotationDeployer$ProvidedJAXRSApplication@7a023e34
02-Apr-2024 20:16:38.996 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints 
Service URI: http://localhost:8282/myapp/health -> Pojo
org.apache.tomee.microprofile.health.MicroProfileHealthChecksEndpoint
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health ->  Response
getChecks()   
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health/live->  Response
getLiveChecks()   
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health/ready   ->  Response
getReadyChecks()  
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health/started ->  Response
getStartedChecks()
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints 
Service URI: http://localhost:8282/myapp/myresource -> Pojo
com.github.rzo1.MyResource   
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/myresource ->  Response test()


Next, I went on and followed the instructions for the second example
(add a class extending Application, purge web.xml)

https://github.com/rzo1/ml-jaxrs-repro/tree/case-2

Also works as expected:

02-Apr-2024 20:16:38.994 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST
Application: http://localhost:8282/myapp->
org.apache.openejb.config.AnnotationDeployer$ProvidedJAXRSApplication@7a023e34
02-Apr-2024 20:16:38.996 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints 
Service URI: http://localhost:8282/myapp/health -> Pojo
org.apache.tomee.microprofile.health.MicroProfileHealthChecksEndpoint
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health ->  Response
getChecks()   
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health/live->  Response
getLiveChecks()   
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health/ready   ->  Response
getReadyChecks()  
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/health/started ->  Response
getStartedChecks()
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints 
Service URI: http://localhost:8282/myapp/myresource -> Pojo
com.github.rzo1.MyResource   
02-Apr-2024 20:16:38.997 INFORMATION [main]
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8282/myapp/myresource ->  Response test()

Might have missed something from your explanation, though.

Gruß
Richard


Am Montag, dem 01.04.2024 um 20:15 + schrieb COURTAULT Francois:
> THALES GROUP LIMITED DISTRIBUTION to email recipients
> 
> Hello everyone,
> 
> After having read the Jakarta Restful 3.0 specification.
> I want to check how it works.
> 
> For that I have built a web application (war) without any Application
> subclass.
> According to the specification, I have to add a servlet with the name
> jakarta.ws.rs.core.Application in web.xml.
> In the war, I have:
> 
>   *   a Root resource named MyResource
> @Path("myresource")
> 
> public class MyResource {
> 
>     @GET
> 
>    public Response test () {
> 
>     return Response.ok().build();
> 
>     }
> 
> }
> 
>   *   web.xml with the following section
>     
> 
>     jakarta.ws.rs.core.Application
> 
>     
> 
>     
> 
>     jakarta.ws.rs.core.Application
> 
>     /myapp/*
> 
>     
> 
> Pb when I start up tomee-microprofile 9.1.2, I see:
> 01-Apr-2024 21:42:21.835 INFO [main]
> org.apache.openejb.server.cxf.

RE: Some issues with simple rest application

2024-04-02 Thread COURTAULT Francois
THALES GROUP LIMITED DISTRIBUTION to email recipients 

Hello everyone,

I posted "Second issue with simple rest application on TomEE 9.1.2".
In fact I deployed the very same application on TomEE 8.0.16 micro-profile 
flavor.

The output is not the same (see below).
02-Apr-2024 12:58:44.825 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
Application: http://localhost:8080/JAXRS/-> 
org.apache.openejb.server.rest.InternalApplication@149238fe
02-Apr-2024 12:58:44.827 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/health  -> Pojo 
org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
02-Apr-2024 12:58:44.827 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/health  ->  Response 
getChecks()
02-Apr-2024 12:58:44.830 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/metrics -> Pojo 
org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/metrics ->  Object 
getJson(SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/metrics ->  String 
getText(SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/metrics/{registry}  ->  Object 
getJson(String, SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/metrics/{registry}  ->  String 
getText(String, SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/metrics/{registry}/{metric} ->  Object 
getJson(String, String, SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/metrics/{registry}/{metric} ->  String 
getText(String, String, SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
OPTIONS http://localhost:8080/JAXRS/metrics/{registry}  ->  Object 
getMetadata(String, SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
OPTIONS http://localhost:8080/JAXRS/metrics/{registry}/{metric} ->  Object 
getMetadata(String, String, SecurityContext, UriInfo)
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/myresource  -> Pojo 
jaxrs.skeleton.MyResource
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/myresource  ->  Response 
test()
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/openapi -> Pojo 
org.apache.geronimo.microprofile.openapi.jaxrs.OpenAPIEndpoint
02-Apr-2024 12:58:44.831 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/openapi ->  OpenAPI 
get()

This time I am able to see a GET on a path with myresource 😊

So big issue on TomEE 9.1.2 micro-profile ? 

Best Regards.


-Original Message-
From: COURTAULT Francois  
Sent: mardi 2 avril 2024 09:50
To: users@tomee.apache.org
Subject: RE: Some issues with simple rest application

THALES GROUP LIMITED DISTRIBUTION to email recipients 

Hello Kean,

I am using TomEE 9.1.2 microprofile flavor.
In the conf/system.properties file, I have this line tomee.mp.scan = all So 
it's not due to this lack of this property unfortunately.

Thanks for trying to help me.
I am able to provide you the war if needed.

Best Regards.

-Original Message-
From: Kean Erickson 
Sent: lundi 1 avril 2024 23:25
To: users@tomee.apache.org
Subject: Re: Some issues with simple rest application

If you're on tomee plus or plume, there is a system.proprties flag needed to 
turn on the automatic resource scanning

tomee.mp.scan = all

On Mon, Apr 1, 2024, 1:16 PM COURTAULT Francois 
 wrote:

> THALES GROUP LIMITED 

Second issue with simple rest application on TomEE 9.1.2

2024-04-02 Thread COURTAULT Francois
THALES GROUP LIMITED DISTRIBUTION to email recipients

Hello everyone,

Context: TomEE 9.1.2 micro-profile flavor.

I have raised an issue in another POST (Some issues with simple rest 
application).

This time:

  *   I add a new class which extends Application.
@ApplicationPath("myapp")

public class MyApp extends Application {
}

  *   The previous Root resource is still there
@Path("myresource")
public class MyResource {

@GET
public Response test() {

  return Response.ok().build();

}

}

  *   I remove web.xml from the war or the web.xml is empty (eg no servlet 
declared)

By doing so, I think I am still compliant to the spec:

  *   “If an Application subclass is present…”: this the case
  *   “If no servlet handles this application”: web.xml removed: this is the 
case
  *   “When an Application subclass is present in the archive, if both 
Application.getClasses
and Application.getSingletons return an empty collection (default 
implementation so this is the case) then
all root resource classes and providers packaged in the web application MUST be 
included
and the JAX-RS implementation is REQUIRED to discover them automatically by 
scanning a .war as described above”

But when I startup TomEE micro-profile, I got:
02-Apr-2024 12:04:57.650 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
Application: http://localhost:8080/JAXRS/   -> 
org.apache.openejb.server.rest.InternalApplication@19f9287a
02-Apr-2024 12:04:57.654 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/health -> Pojo 
org.apache.tomee.microprofile.health.MicroProfileHealthChecksEndpoint
02-Apr-2024 12:04:57.654 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/health ->  Response getChecks()
02-Apr-2024 12:04:57.654 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/health/live->  Response getLiveChecks()
02-Apr-2024 12:04:57.654 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/health/ready   ->  Response getReadyChecks()
02-Apr-2024 12:04:57.654 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/health/started ->  Response 
getStartedChecks()

No GET on a path with myresource or myapp ☹
What’s wrong in my understanding  of the spec ?

For curiosity, I deployed the very same war on TomEE 8.0.16 micro-profile.
This time I got:
02-Apr-2024 12:44:37.179 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
Application: http://localhost:8080/JAXRS/myapp -> 
jaxrs.skeleton.MyApp@7c39193f
02-Apr-2024 12:44:37.181 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/myapp/health  -> Pojo 
org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
02-Apr-2024 12:44:37.182 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/myapp/health  ->  
Response getChecks()
02-Apr-2024 12:44:37.185 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
URI: http://localhost:8080/JAXRS/myapp/metrics -> Pojo 
org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints
02-Apr-2024 12:44:37.185 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/myapp/metrics ->  
Object getJson(SecurityContext, UriInfo)
02-Apr-2024 12:44:37.185 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET http://localhost:8080/JAXRS/myapp/metrics ->  
String getText(SecurityContext, UriInfo)
02-Apr-2024 12:44:37.185 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET 
http://localhost:8080/JAXRS/myapp/metrics/{registry}
  ->  Object getJson(String, SecurityContext, UriInfo)
02-Apr-2024 12:44:37.186 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET 
http://localhost:8080/JAXRS/myapp/metrics/{registry}
  ->  String getText(String, SecurityContext, UriInfo)
02-Apr-2024 12:44:37.186 INFO [main] 
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
GET 
http://localhost:8080/JAXRS/myapp/metrics/{

RE: Some issues with simple rest application

2024-04-02 Thread COURTAULT Francois
THALES GROUP LIMITED DISTRIBUTION to email recipients 

Hello Kean,

I am using TomEE 9.1.2 microprofile flavor.
In the conf/system.properties file, I have this line tomee.mp.scan = all
So it's not due to this lack of this property unfortunately.

Thanks for trying to help me.
I am able to provide you the war if needed.

Best Regards.

-Original Message-
From: Kean Erickson  
Sent: lundi 1 avril 2024 23:25
To: users@tomee.apache.org
Subject: Re: Some issues with simple rest application

If you're on tomee plus or plume, there is a system.proprties flag needed to 
turn on the automatic resource scanning

tomee.mp.scan = all

On Mon, Apr 1, 2024, 1:16 PM COURTAULT Francois 
 wrote:

> THALES GROUP LIMITED DISTRIBUTION to email recipients
>
> Hello everyone,
>
> After having read the Jakarta Restful 3.0 specification.
> I want to check how it works.
>
> For that I have built a web application (war) without any Application 
> subclass.
> According to the specification, I have to add a servlet with the name 
> jakarta.ws.rs.core.Application in web.xml.
> In the war, I have:
>
>   *   a Root resource named MyResource
> @Path("myresource")
>
> public class MyResource {
>
> @GET
>
>public Response test () {
>
> return Response.ok().build();
>
> }
>
> }
>
>   *   web.xml with the following section
> 
>
> jakarta.ws.rs.core.Application
>
> 
>
> 
>
> jakarta.ws.rs.core.Application
>
> /myapp/*
>
> 
>
> Pb when I start up tomee-microprofile 9.1.2, I see:
> 01-Apr-2024 21:42:21.835 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
> Service URI: http://localhost:8080/JAXRS/myapp/health -> Pojo
> org.apache.tomee.microprofile.health.MicroProfileHealthChecksEndpoint
> 01-Apr-2024 21:42:21.835 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/health ->  Response
> getChecks()
> 01-Apr-2024 21:42:21.835 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/health/live->  Response
> getLiveChecks()
> 01-Apr-2024 21:42:21.835 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/health/ready   ->  Response
> getReadyChecks()
> 01-Apr-2024 21:42:21.835 INFO [main]
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
>GET http://localhost:8080/JAXRS/myapp/health/started ->  Response
> getStartedChecks()
>
> No GET on a path with myresource ☹
> What’s wrong in my understanding  of the spec (“REQUIRED …. and to 
> automatically discover all root resource classes …”) ?
>
> Best Regards.
>
>
>
>