Hello together,
we're using the membrane-esb-3.2.4 for SOAP proxying and in addition for one HTTP redirection.
All of the SOAP processing is doing well (thanks team, good work!) but the HTTP part fails under
some circumstances. We have identified the POST processing as one possible fault:
Internal Server Error
While processing your request, the following error was detected. Stack traces can be disabled by setting the @printStackTrace attribute on transport. More details might be found in the log.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
at com.predic8.membrane.core.interceptor.cbr.XPathCBRInterceptor.findRoute(XPathCBRInterceptor.java:73)
at com.predic8.membrane.core.interceptor.cbr.XPathCBRInterceptor.handleRequest(XPathCBRInterceptor.java:54)
at com.predic8.membrane.core.interceptor.InterceptorFlowController.invokeRequestHandlers(InterceptorFlowController.java:94)
at com.predic8.membrane.core.interceptor.UserFeatureInterceptor.handleRequest(UserFeatureInterceptor.java:41)
at com.predic8.membrane.core.interceptor.InterceptorFlowController.invokeRequestHandlers(InterceptorFlowController.java:94)
at com.predic8.membrane.core.interceptor.InterceptorFlowController.invokeHandlers(InterceptorFlowController.java:60)
at com.predic8.membrane.core.transport.http.AbstractHttpHandler.invokeHandlers(AbstractHttpHandler.java:65)
at com.predic8.membrane.core.transport.http.HttpServerHandler.process(HttpServerHandler.java:179)
at com.predic8.membrane.core.transport.http.HttpServerHandler.run(HttpServerHandler.java:87)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--------------- linked to ------------------
javax.xml.xpath.XPathExpressionException
at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
at com.predic8.membrane.core.interceptor.cbr.XPathCBRInterceptor.findRoute(XPathCBRInterceptor.java:73)
at com.predic8.membrane.core.interceptor.cbr.XPathCBRInterceptor.handleRequest(XPathCBRInterceptor.java:54)
at com.predic8.membrane.core.interceptor.InterceptorFlowController.invokeRequestHandlers(InterceptorFlowController.java:94)
at com.predic8.membrane.core.interceptor.UserFeatureInterceptor.handleRequest(UserFeatureInterceptor.java:41)
at com.predic8.membrane.core.interceptor.InterceptorFlowController.invokeRequestHandlers(InterceptorFlowController.java:94)
at com.predic8.membrane.core.interceptor.InterceptorFlowController.invokeHandlers(InterceptorFlowController.java:60)
at com.predic8.membrane.core.transport.http.AbstractHttpHandler.invokeHandlers(AbstractHttpHandler.java:65)
at com.predic8.membrane.core.transport.http.HttpServerHandler.process(HttpServerHandler.java:179)
at com.predic8.membrane.core.transport.http.HttpServerHandler.run(HttpServerHandler.java:87)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
... 13 more
Any ideas about this issue?
With best regards,
Guenther
--
University of Applied Sciences Karlsruhe / Information Center (IZ)
Moltkestrasse 30
76133 Karlsruhe/Germany
Web:
www.hs-karlsruhe.de/iz