https://bz.apache.org/bugzilla/show_bug.cgi?id=58481

--- Comment #1 from immo.schulz-gerl...@fernuni-hagen.de ---
I've got the same problem (I assume): 
Tested with
* Tomcat 8.0.26 and 8.0.28 
* Webapp using the JAX-WS Servlet of jax-ws-ri 2.2.10 (or older)
* Apache HTTPD 2.4.12, 2.4.8 and 2.2.11 with mod_proxy and AJP connection.
* Java 1.8.0_45
* Solaris 10

Each combination produces SOAP errors on every second SOAP call (while all
other HTTP calls to other servlets work fine).

This problem was introduced with the switch to Tomcat 8. In Tomcat 7, the SOAP
webservices work fine.
Also this is an AJP only problem: Calling the SOAP Webservices via the HTTP
connector (Port 8080) directly also works fine in Tomcat 8.

Stack Trace:

06-Nov-2015 13:54:18.938 SEVERE [ajp-nio-8011-exec-3]
com.sun.xml.ws.transport.http.HttpAdapter.invokeAsync SOAP-Nachricht konnte
wegen folgender Ausnahme nicht erstellt wer
den: Fehler bei XML-Reader: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[1,1]
Message: Vorzeitiges Dateiende.
 com.sun.xml.ws.protocol.soap.MessageCreationException: SOAP-Nachricht konnte
wegen folgender Ausnahme nicht erstellt werden: Fehler bei XML-Reader:
javax.xml.stream.XMLStre
amException: ParseError at [row,col]:[1,1]
Message: Vorzeitiges Dateiende.
        at
com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:319)
        at
com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:503)
        at
com.sun.xml.ws.transport.http.HttpAdapter.invokeAsync(HttpAdapter.java:713)
        at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:212)
        at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:161)
        at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:197)
        at
com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:81)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
        at
org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844)
        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:663)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: Fehler bei
XML-Reader: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Vorzeitiges Dateiende.
        at
com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:326)
        at
com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:99)
        at
com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:169)
        at
com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:104)
        at
com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:215)
        at
com.oracle.webservices.impl.encoding.StreamDecoderImpl.decode(StreamDecoderImpl.java:64)
        at
com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:249)
        at
com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:166)
        at
com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:314)
        ... 29 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Vorzeitiges Dateiende.
        at
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:601)
        at
com.sun.xml.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:96)
        at
com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:80)
        ... 36 more

06-Nov-2015 13:54:19.318 INFO [ajp-nio-8011-exec-2]
com.sun.xml.ws.transport.http.HttpAdapter.fixQuotesAroundSoapAction Received
WS-I BP non-conformant Unquoted SoapAction H
TTP header: 



P.S.: This doesn't seem to be a Tomcat-only problem, I also found this:
https://java.net/jira/browse/GLASSFISH-12235
According to that post, the Glassfish 2 container had the same problem while
Glassfish 3 solved it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to