]
Jim Ma updated WFLY-13471:
--------------------------
Summary: Warn the ws deployment packaged with JAXP implementation (was: Fail the ws
deployment packaged with JAXP implementation)
Warn the ws deployment packaged with JAXP implementation
--------------------------------------------------------
Key: WFLY-13471
URL:
https://issues.redhat.com/browse/WFLY-13471
Project: WildFly
Issue Type: Bug
Components: Web Services
Affects Versions: 19.1.0.Final
Reporter: Jim Ma
Assignee: Jim Ma
Priority: Major
Fix For: 21.0.0.Beta1
Deploy JAXWS application that packages an older JAXP implementation.
Try to get the wsdl: wget
http://localhost:8080/helloWorld?wsdl
When the container is performing operations, it should use the container's JAXP
implementation, else it could fail if the application is packaging a version that is not
compatible.
{code}
19:28:42,560 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP
7.3.0.GA (WildFly Core 10.1.2.Final-redhat-00001) started in 4091ms - Started 426 of 652
services (374 services are lazy, passive or on-demand)
19:28:45,537 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling
request to /helloWorld: java.lang.AbstractMethodError:
org.apache.xerces.dom.DeferredDocumentImpl.setXmlStandalone(Z)V
at org.apache.cxf.frontend.WSDLGetUtils.updateDoc(WSDLGetUtils.java:332)
at org.apache.cxf.frontend.WSDLGetUtils.writeWSDLDocument(WSDLGetUtils.java:708)
at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:151)
at org.apache.cxf.frontend.WSDLGetInterceptor.getDocument(WSDLGetInterceptor.java:129)
at org.apache.cxf.frontend.WSDLGetInterceptor.handleMessage(WSDLGetInterceptor.java:77)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
at
org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
at
org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:503)
at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
...
{code}