问题描述
根据我的配置,我正在使用 4.6.0 WSO2ESB,它可以在某些情况下工作,但会出现未知错误,这是一个完整的工具.我在下面的场景中尝试了很多方法是我传递了错误的值,该值依赖于主键但是 WSO2 esb 即使我尝试了所有属性也无法处理这个问题.这个小问题我的插入工作正常,但如果 WSO2DSS ESb 中的任何主键违规错误无法将其发送到我添加的故障序列
i am using 4.6.0 WSO2ESB as per my configuration its working some scenarios but giving unkonow faults is it a fulfilled tool. i tried in many ways this below scenarios is i am passing wrong value which primary key dependant but WSO2 esb unable to handle this even i tried all the properties .if any one knows about WSO2 enough well help me i am struck past too many days about this small issue my insertion is working but if any primary key violation error is thier in WSO2DSS ESb unable to send it to fault sequence i added
<property name="FORCE_ERROR_ON_SOAP_FAULT" value="true" scope="default" type="STRING"/>
尽管当 dss 处于关闭模式时,它在 EsB 中给出了这样的错误,但它正确地传递到故障序列,我的错误就是它会发生的原因
eventhough its giving like this error in EsB when dss is off mode its passing to fault sequence correctly my error is why it will occuerss
[201
3-03-19 12:01:27,099] ERROR - NativeWorkerPool Uncaught exception
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [1,167]
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.om.impl.llom.OMDocumentImpl.buildNext(OMDocumentImpl.java:135)
at org.apache.axiom.om.impl.llom.OMNodeImpl.getNextOMSibling(OMNodeImpl.java:122)
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:343)
at org.apache.axiom.om.impl.traverse.OMChildrenIterator.getNextNode(OMChildrenIterator.java:36)
at org.apache.axiom.om.impl.traverse.OMAbstractIterator.hasNext(OMAbstractIterator.java:58)
at org.jaxen.util.DescendantAxisIterator.hasNext(DescendantAxisIterator.java:101)
at org.jaxen.expr.DefaultStep.evaluate(DefaultStep.java:152)
at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140)
at org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPath.java:113)
at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)
at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674)
at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213)
at org.jaxen.BaseXPath.evaluate(BaseXPath.java:172)
at org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:297)
at org.apache.synapse.mediators.builtin.PropertyMediator.getResultValue(PropertyMediator.java:299)
at org.apache.synapse.mediators.builtin.PropertyMediator.mediate(PropertyMediator.java:95)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:71)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:223)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:443)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:217)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [1,167]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)
at com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.java:3903)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2037)
at com.ctc.wstx.sr.BasicStreamReader.closeContentTree(BasicStreamReader.java:2886)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2629)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1062)
at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
at org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34)
at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
... 27 more
[2013-03-19 12:02:22,573] INFO - CarbonAuthenticationUtil '[email protected] [-1234]' logged in at [2013-03-19 12:02:22,572+0530]
[2013-03-19 12:02:27,101] WARN - SourceHandler Connection time out after request is read: 127.0.0.1:58904->127.0.0.1:828
对于我的其他配置,例如 Proxy reff 是
for my other configuartions like Proxy reff is
https://stackoverflow.com/questions/15474647/how-we-can-resolve-this-issue-in-wso2esb-or-wso2dss我该如何处理这在 Wso2ESB 中,它没有将响应传递给客户端
推荐答案
我希望您也在此集成中使用 DSS.在您的数据服务中,您可以禁用流式传输并重试.为此,请取消选中数据服务配置中的启用流".
I hope you are using DSS in this integration too. In your Data Service can you disable streaming and try again. to do so uncheck "enable streaming" at the Data Service configuration.
http://docs.wso2.org/wiki/display/DSS301/RDBMS
(参考第二张图片).
这篇关于WSO2ESB 有 Bug 根据这个配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!