Hey, I’ve now added the ability to turn on / off MP on Plume or Plus with the configuration property “tomee.mp.scan” [none|all]. For now, it only works for the entire server, so you can’t use it locally for a single application, but I plan to add the support for it as well. Also, its either all the specs or none, but I also plan to support selectively pick the specs.
Even with the flag turned on, Plus and Plume seem pretty stable, but I left it disabled by default. MicroProfile flavour is on of course. I merged everything to master so we can have a builedbot build and see how it looks like. Cheers, Roberto > On 1 Feb 2019, at 21:42, j4fm <[email protected]> wrote: > > This GeronimoOpenAPIExtension.java line 150. > > return openapis.computeIfAbsent(application, > app -> createOpenApi(application.getClass(), > Stream.concat(endpoints.stream().map(Bean::getBeanClass), > Stream.concat(app.getClasses().stream(), > app.getSingletons().stream().map(Object::getClass))))); > > Is what triggers the access exception. > > I see the classes list on the application for this one does not include MP > classes when it gets there. So I suspected that it's overriding getClasses > and it is. > > So I expect that is the problem. I am going to do a test fix for the > specific REST application in question and see. > > > > -- > Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html
