web browser access http://localhost:8080/rpc/xml show message:
redstone.xmlrpc.XmlRpcException: A problem occured during parsing
at redstone.xmlrpc.XmlRpcParser.parse(Unknown Source)
at redstone.xmlrpc.XmlRpcParser$parse.callCurrent(Unknown Source)
at org.moqui.impl.service.ServiceXmlRpcDispatcher.dispatch(ServiceXmlRpcDispat cher.groovy:40)
at org.moqui.impl.service.ServiceXmlRpcDispatcher$dispatch.call(Unknown Source)
at org.moqui.impl.context.WebFacadeImpl.handleXmlRpcServiceCall(WebFacadeImpl. groovy:245)
at org.moqui.context.WebFacade$handleXmlRpcServiceCall.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArra y.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite .java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite .java:112)
at rpc_xml_transition_xml_actions.run(rpc_xml_transition_xml_actions:5)
at rpc_xml_transition_xml_actions$run.call(Unknown Source)
at rpc_xml_transition_json_actions$run.call(Unknown Source)
at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:93)
at org.moqui.impl.actions.XmlAction$run.call(Unknown Source)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition. groovy:343)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem$run.call(Unknown Source)
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groo vy:228)
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:135)
at org.moqui.context.ScreenRender$render.call(Unknown Source)
at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:61)
at org.moqui.impl.webapp.MoquiServlet$doScreenRequest.callCurrent(Unknown Source)
at org.moqui.impl.webapp.MoquiServlet.doGet(MoquiServlet.groovy:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at winstone.WinstoneInputStream.read(WinstoneInputStream.java:51)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStr eam.read(XMLEntityManager.java:2933)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity (XMLEntityManager.java:704)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVers ion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co nfiguration.java:771)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co nfiguration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstract SAXParser.java:1205)
... 30 more
control show message:
Transaction rollback. The rollback was originally caused by: Error running tran
sition in
at org.moqui.impl.service.ServiceXmlRpcDispatcher.dispatch(ServiceXmlRpc
Dispatcher.groovy:40)
at org.moqui.impl.service.ServiceXmlRpcDispatcher$dispatch.call(Unknown
Source)
at org.moqui.impl.context.WebFacadeImpl.handleXmlRpcServiceCall(WebFacad
eImpl.groovy:245)
at org.moqui.context.WebFacade$handleXmlRpcServiceCall.call(Unknown Sour
ce)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:108)
llSite.java:112)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefin
ition.groovy:343)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem$run.call(Unknow
n Source)
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImp
l.groovy:228)
at org.moqui.impl.screen.ScreenRenderIder(ScreenRenderImpl.groovy:135)
at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groov
y:61)
at org.moqui.impl.webapp.MoquiServlet$doScreenRequest.callCurrent(Unknow
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.jav
a:244)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableIn
putStream.read(XMLEntityManager.java:2933)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(XMLEntityManager.java:704)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:771)
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
The caused by error is "java.net.SocketTimeoutException: Read timed out".
This probably happened because no data was sent with the request and it is expected data to be posted.
Did you say you just hit it in a browser? What was it that you expected or hoped would happen?
test rpc xml(webservice) demo?
ServiceXmlRpcDispatcher.groovy
in line 44-47 error msg error , should "XML-RPC " not "JSON-RPC".
Thanks surpassli, I see those two references to JSON that should be XML in the error messages.
Those are changed in commit 41df561.
Log in to post a comment.
web browser access
http://localhost:8080/rpc/xml show message:
redstone.xmlrpc.XmlRpcException: A problem occured during parsing
at redstone.xmlrpc.XmlRpcParser.parse(Unknown Source)
at redstone.xmlrpc.XmlRpcParser$parse.callCurrent(Unknown Source)
at org.moqui.impl.service.ServiceXmlRpcDispatcher.dispatch(ServiceXmlRpcDispat
cher.groovy:40)
at org.moqui.impl.service.ServiceXmlRpcDispatcher$dispatch.call(Unknown
Source)
at org.moqui.impl.context.WebFacadeImpl.handleXmlRpcServiceCall(WebFacadeImpl.
groovy:245)
at org.moqui.context.WebFacade$handleXmlRpcServiceCall.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArra
y.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite
.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite
.java:112)
at rpc_xml_transition_xml_actions.run(rpc_xml_transition_xml_actions:5)
at rpc_xml_transition_xml_actions$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArra
y.java:42)
at rpc_xml_transition_json_actions$run.call(Unknown Source)
at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:93)
at org.moqui.impl.actions.XmlAction$run.call(Unknown Source)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition.
groovy:343)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem$run.call(Unknown
Source)
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groo
vy:228)
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:135)
at org.moqui.context.ScreenRender$render.call(Unknown Source)
at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:61)
at org.moqui.impl.webapp.MoquiServlet$doScreenRequest.callCurrent(Unknown
Source)
at org.moqui.impl.webapp.MoquiServlet.doGet(MoquiServlet.groovy:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at winstone.WinstoneInputStream.read(WinstoneInputStream.java:51)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStr
eam.read(XMLEntityManager.java:2933)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity
(XMLEntityManager.java:704)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVers
ion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co
nfiguration.java:771)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co
nfiguration.java:737)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstract
SAXParser.java:1205)
... 30 more
control show message:
Transaction rollback. The rollback was originally caused by: Error running
tran
sition in
redstone.xmlrpc.XmlRpcException: A problem occured during parsing
at redstone.xmlrpc.XmlRpcParser.parse(Unknown Source)
at redstone.xmlrpc.XmlRpcParser$parse.callCurrent(Unknown Source)
at org.moqui.impl.service.ServiceXmlRpcDispatcher.dispatch(ServiceXmlRpc
Dispatcher.groovy:40)
at org.moqui.impl.service.ServiceXmlRpcDispatcher$dispatch.call(Unknown
Source)
at org.moqui.impl.context.WebFacadeImpl.handleXmlRpcServiceCall(WebFacad
eImpl.groovy:245)
at org.moqui.context.WebFacade$handleXmlRpcServiceCall.call(Unknown Sour
ce)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:112)
at rpc_xml_transition_xml_actions.run(rpc_xml_transition_xml_actions:5)
at rpc_xml_transition_xml_actions$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:42)
at rpc_xml_transition_json_actions$run.call(Unknown Source)
at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:93)
at org.moqui.impl.actions.XmlAction$run.call(Unknown Source)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefin
ition.groovy:343)
at org.moqui.impl.screen.ScreenDefinition$TransitionItem$run.call(Unknow
n Source)
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImp
l.groovy:228)
at org.moqui.impl.screen.ScreenRenderIder(ScreenRenderImpl.groovy:135)
at org.moqui.context.ScreenRender$render.call(Unknown Source)
at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groov
y:61)
at org.moqui.impl.webapp.MoquiServlet$doScreenRequest.callCurrent(Unknow
n Source)
at org.moqui.impl.webapp.MoquiServlet.doGet(MoquiServlet.groovy:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.jav
a:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at winstone.WinstoneInputStream.read(WinstoneInputStream.java:51)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableIn
putStream.read(XMLEntityManager.java:2933)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(XMLEntityManager.java:704)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:771)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
... 30 more
The caused by error is "java.net.SocketTimeoutException: Read timed out".
This probably happened because no data was sent with the request and it is
expected data to be posted.
Did you say you just hit it in a browser? What was it that you expected or
hoped would happen?
test rpc xml(webservice) demo?
ServiceXmlRpcDispatcher.groovy
in line 44-47 error msg error , should "XML-RPC " not "JSON-RPC".
Thanks surpassli, I see those two references to JSON that should be XML in the
error messages.
Those are changed in commit 41df561.