分析錯誤我使用wso2esb 4.7.0和wso2dss 3.1.0.my .dbs文件中wso2dss工作,但是當我訪問它變成wso2esb它顯示在ESB終端考取一樣的錯誤:在wso2esb和wso2dss
LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:0b6a1043-5904-4550-ba27-8e91da337bdd, Direction: response, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><Fault><faultcode>soapenv:Server</faultcode><faultstring>java.lang.RuntimeException: Error obtaining parser from data source:DS Fault Message: Error in 'SQLQuery.processNormalQuery'
DS Code: DATABASE_ERROR
Source Data Service:-
Name: logindataservice
Location: /logindataservice.dbs
Description: N/A
Default Namespace: http://ws.wso2.org/dataservice
Current Request Name: select_all_test_operation
Current Params: {limit=}
Nested Exception:-
java.lang.NumberFormatException: For input string: ""
</faultstring><detail/></Fault></soapenv:Body></soapenv:Envelope>
在wso2dss它顯示同一時間:
Caused by: javax.xml.stream.XMLStreamException: DS Fault Message: Error in 'SQLQuery.processNormalQuery'
DS Code: DATABASE_ERROR
Source Data Service:-
Name: logindataservice
Location: /logindataservice.dbs
Description: N/A
Default Namespace: http://ws.wso2.org/dataservice
Current Request Name: select_all_test_operation
Current Params: {limit=}
Nested Exception:-
java.lang.NumberFormatException: For input string: ""
和在客戶端或在捲曲命令它顯示:
{"Fault":{"faultcode":"soapenv:Server","faultstring":"java.lang.RuntimeException: Error obtaining parser from data source:DS Fault Message: Error in 'SQLQuery.processNormalQuery'\nDS Code: DATABASE_ERROR\nSource Data Service:-\nName: logindataservice\nLocation: \/logindataservice.dbs\nDescription: N\/A\nDefault Namespace: http:\/\/ws.wso2.org\/dataservice\nCurrent Request Name: select_all_test_operation\nCurrent Params: {limit=}\nNested Exception:-\njava.lang.NumberFormatException: For input string: \"\"\n","detail":""}}* Closing connection #0
我konw ot的解析錯誤,但我無法reslove this.What我應該做什麼?
請問您可以添加您的代理配置。 –