tested on plain Java SE 1.8.0u202 and Java SE 11.0.2.
When publishing an endpoint following stack-trace is logged in WARNING level (and monitoring MBean is not setup):
java.lang.NoClassDefFoundError: org/glassfish/pfl/basic/func/UnaryPredicate
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.glassfish.gmbal.util.GenericConstructor.getConstructor(GenericConstructor.java:58)
at org.glassfish.gmbal.util.GenericConstructor.create(GenericConstructor.java:90)
at org.glassfish.gmbal.ManagedObjectManagerFactory.createStandalone(ManagedObjectManagerFactory.java:77)
at com.sun.xml.ws.server.MonitorBase.createMOM(MonitorBase.java:193)
at com.sun.xml.ws.server.MonitorBase.createMOMLoop(MonitorBase.java:181)
at com.sun.xml.ws.server.MonitorBase.createManagedObjectManager(MonitorBase.java:104)
at com.sun.xml.ws.server.WSEndpointImpl.obtainManagedObjectManager(WSEndpointImpl.java:610)
at com.sun.xml.ws.server.WSEndpointImpl.initManagedObjectManager(WSEndpointImpl.java:591)
at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:121)
at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:307)
at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:302)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:134)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:548)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:530)
at com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:304)
at com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:217)
This does not happen on 2.4.1 which includes the missing classes (albeit in the package org.glassfish.gmbal.generic).
Hi
tested on plain Java SE 1.8.0u202 and Java SE 11.0.2.
When publishing an endpoint following stack-trace is logged in WARNING level (and monitoring MBean is not setup):
java.lang.NoClassDefFoundError: org/glassfish/pfl/basic/func/UnaryPredicate at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.glassfish.gmbal.util.GenericConstructor.getConstructor(GenericConstructor.java:58) at org.glassfish.gmbal.util.GenericConstructor.create(GenericConstructor.java:90) at org.glassfish.gmbal.ManagedObjectManagerFactory.createStandalone(ManagedObjectManagerFactory.java:77) at com.sun.xml.ws.server.MonitorBase.createMOM(MonitorBase.java:193) at com.sun.xml.ws.server.MonitorBase.createMOMLoop(MonitorBase.java:181) at com.sun.xml.ws.server.MonitorBase.createManagedObjectManager(MonitorBase.java:104) at com.sun.xml.ws.server.WSEndpointImpl.obtainManagedObjectManager(WSEndpointImpl.java:610) at com.sun.xml.ws.server.WSEndpointImpl.initManagedObjectManager(WSEndpointImpl.java:591) at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:121)
at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:307)
at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:302)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:134)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:548)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:530)
at com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:304)
at com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:217)
This does not happen on 2.4.1 which includes the missing classes (albeit in the package org.glassfish.gmbal.generic).