I'm having a similar problem as well when migrating:

java.lang.Exception: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in
prolog



ender wrote:
> 
> Hello,
> 
> I'm currently trying to migrate an application from servicemix 3.0.1 to
> 3.2, but no luck so far. In 3.2, the lightweight XSLT transformer seems to
> cause problems: i keep getting "WstxEOFException: Unexpected EOF in
> prolog" errors, unless the XSLT transformer is bypassed. 
> Did anything important change in the transformer?
> 
> Thanks,
> Stein
> 
> 
> Full stack trace:
> WARN  - jetty                          - /echoTransformation/
> java.lang.Exception: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in
> prolog
>  at [row,col {unknown-source}]: [1,38]
>         at
> org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:214)
>         at
> org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:356)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
>         at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
>         at org.mortbay.jetty.Server.handle(Server.java:269)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
>         at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:333)
>         at
> org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,38]
>         at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:628)
>         at
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2021)
>         at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1927)
>         at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1054)
>         at
> org.apache.servicemix.jbi.jaxp.XMLStreamHelper.copy(XMLStreamHelper.java:78)
>         at
> org.apache.servicemix.soap.marshalers.SoapWriter.writeContents(SoapWriter.java:204)
>         at
> org.apache.servicemix.soap.marshalers.SoapWriter.writeSoapEnvelope(SoapWriter.java:196)
>         at
> org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:105)
>         at
> org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:84)
>         at
> org.apache.servicemix.http.processors.ProviderProcessor.writeMessage(ProviderProcessor.java:309)
>         at
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:141)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:619)
> 

-- 
View this message in context: 
http://www.nabble.com/LW-XSLT-transformer-changes-between-3.0.1-and-3.2-tf3269456s12049.html#a11400232
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to