OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.14k stars 587 forks source link

JAX-WS attempts to initialize extensions during app shutdown #4857

Open aguibert opened 6 years ago

aguibert commented 6 years ago

While working on a new FAT for OpenLiberty, I saw the following error in logs (the app was just enabling the javaee-8.0 feature and not even using JAX-WS):

[8/27/18 16:08:00:823 CDT] 00000072 com.ibm.ws.webcontainer.webapp                               E SRVE0280E: Extension processor failed to initialize in factory [com.ibm.ws.jaxws.webcontainer.JaxWsExtensionFactory@59a4e43b]: java.lang.IllegalStateException: SRVE0320E: Programmatic configuration methods must be called from within contextInitialized.
    at com.ibm.ws.webcontainer.webapp.WebApp.commonAddServlet(WebApp.java:5935)
    at com.ibm.ws.webcontainer.webapp.WebApp.addServlet(WebApp.java:5906)
    at com.ibm.ws.jaxws.webcontainer.WebEndpointPublisher.publish(WebEndpointPublisher.java:129)
    at com.ibm.ws.jaxws.webcontainer.JaxWsExtensionFactory.createExtensionProcessor(JaxWsExtensionFactory.java:120)
    at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:2035)
    at com.ibm.ws.webcontainer.webapp.WebApp.removeExtensionFactory(WebApp.java:6381)
    at com.ibm.ws.webcontainer.osgi.WebContainer.unsetExtensionFactory(WebContainer.java:1294)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:229)
        more OSGi stack...
aguibert commented 6 years ago

ffdc_18.08.27_16.08.00.0.log

ashankar commented 2 years ago

Is this issue resolved or not yet? I'm also facing the same issue.

tbitonti commented 1 month ago

This is still observed on 31-July-2024.