issues with JBoss while deploying a war file
skhan17461 Jan 20, 2012 5:49 PMHi guys,
I'm deplyoing a war file on jboss to invoke web services using a servlet, servlet uses client code to invoke web services, the same war file is working perfectly fine with websphere, weblogic, & tomcat but its causing the follow issues with Jboss. I dont want to create services, i already have web services, i'm just invoking it. I would really appreciate if anybody can help me with this.
Thanks
14:27:29,504 INFO [stdout] (http--127.0.0.1-8080-1) Testing servlet
14:27:29,504 INFO [stdout] (http--127.0.0.1-8080-1) get writer
1
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:149)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:141)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.xml.ws.Service.<init>(Service.java:57)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at com.att.eit.amnq.AMNQTransactionService.<init>(AMNQTransactionService.java:38)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at com.att.ws.client.invoke.AMNQWSClient.initialize(AMNQWSClient.java:66)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at com.att.ws.client.invoke.AMNQWSClient.<init>(AMNQWSClient.java:80)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at com.att.wsclient.WSClientServlet.service(WSClientServlet.java:45)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
14:27:29,817 ERROR [stderr] (http--127.0.0.1-8080-1) at java.lang.Thread.run(Thread.java:662)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:94)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:203)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:147)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) ... 21 more
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at [row,col,system-id]: [1,0,"http://localhost:9080/ATS110/AMNQTransactionService?wsdl"]
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:235)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:186)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:92)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) ... 23 more
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at [row,col,system-id]: [1,0,"http://localhost:9080/ATS110/AMNQTransactionService?wsdl"]
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2104)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2010)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1102)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:1050)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:947)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:874)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:226)
14:27:29,832 ERROR [stderr] (http--127.0.0.1-8080-1) ... 25 more