SAI created CXF-5128:
------------------------
Summary: Error in CXF implementation on WAS 6.1.0.37
Key: CXF-5128
URL: https://issues.apache.org/jira/browse/CXF-5128
Project: CXF
Issue Type: Bug
Components: Configuration
Affects Versions: 2.5.10
Environment: Local
Windows 7 Enterprise
JBOSS Version - 4.0.4
JDK - jdk1.5.0_22
Maven - 2.2.1
cxf-2.5.10
Development/QA :
Windows Server
WAS 6.1.0.37
JDK - jdk1.5.0_22
Maven - 2.2.1
cxf-2.5.10
Reporter: SAI
Priority: Critical
Hi Team - We are able to implement the Web services successfully in our local
environment with the above Local Server Details and trying to expose the
application as war file. The war file is successfully created . Our Development
/ QA server environment is on WAS 6.1.0.37 and we are trying to install the
created war file. The war file is successfully deployed and there are no start
up errors in the log . We are able to navigate the context root page which
displays the list of webservices. When we click on the WSDL link we are getting
the following error.
at
org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:265)
at
org.apache.cxf.frontend.WSDLGetInterceptor.getDocument(WSDLGetInterceptor.java:160)
at
org.apache.cxf.frontend.WSDLGetInterceptor.handleMessage(WSDLGetInterceptor.java:112)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)
at
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:233)
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214)
at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:194)
at
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:129)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:223)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:199)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1219)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:658)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3574)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:270)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
Caused by: java.lang.RuntimeException: Problem creating schema implementation
at
org.apache.cxf.wsdl11.ServiceWSDLBuilder.getSchemaImplementation(ServiceWSDLBuilder.java:296)
at
org.apache.cxf.wsdl11.ServiceWSDLBuilder.buildTypes(ServiceWSDLBuilder.java:312)
at
org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:202)
at
org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:186)
... 34 more
Caused by: WSDLException: faultCode=CONFIGURATION_ERROR: No Java extensionType
found to represent a '{http://www.w3.org/2001/XMLSchema}schema' element in the
context of a 'javax.wsdl.Types'.:
at
javax.wsdl.extensions.ExtensionRegistry.createExtension(ExtensionRegistry.java:341)
at
org.apache.cxf.wsdl11.ServiceWSDLBuilder.getSchemaImplementation(ServiceWSDLBuilder.java:294)
... 37 more
We have tried setting up the class loader option to the Application classes as
first instead of parent . If we set up like that, we are getting the error
[7/15/13 10:26:56:085 EDT] 0000002c WebExtensionP W Servlet CXFServlet is
currently unavailable: SRVE0201E: Servlet
[org.apache.cxf.transport.servlet.CXFServlet]: not a servlet class
Can any please provide an insight on the issue which will help us in successful
configuration . This one of the very urgent project needs pls.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira