fr-send-submission-none, error code received when submitting instance: 404

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

fr-send-submission-none, error code received when submitting instance: 404

javaudvikling
Hi,

I have google this issue and can not find answer... i hope someone this forum can help me...

I have following config:

<property as="xs:boolean" name="oxf.fr.detail.send.pdf" value="true"/>

<property
  as="xs:string"
  name="oxf.fr.detail.process.send.*.*"
  value='require-valid        
         then send("http://localhost:8080/examples/jsp/jsp2/tagfiles/hello.jsp")
         then navigate("http://localhost:8080/examples/jsp/jsp2/tagfiles/ok.jsp")
         recover navigate("http://localhost:8080/examples/jsp/jsp2/tagfiles/test.jsp")'/>


PS. All the stated pages exist on the server and works fine when typing the url in a browser.

When i press the send button i get the following error:


2013-10-30 14:07:53,839 DEBUG wire  - << "HTTP/1.1 404 Not Found[\r][\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "Server: Apache-Coyote/1.1[\r][\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "Cache-Control: no-cache, no-store, must-revalidate[\r][\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "Pragma: no-cache[\r][\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "Expires: 0[\r][\n]"
2013-10-30 14:07:53,839 INFO  ProcessorService  - /fr/Skat/Skats/ - Timing: 110
2013-10-30 14:07:53,839 DEBUG wire  - << "Content-Type: text/html;charset=utf-8[\r][\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "Content-Length: 1817[\r][\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "Date: Wed, 30 Oct 2013 13:07:53 GMT[\r][\n]"
2013-10-30 14:07:53,839 DEBUG NetUtils  - Deleting temporary request-scoped file: C:\apache-tomcat-7.0.47\temp\upload__7f5acc82_1420979ff7d__8000_00000006.tmp
2013-10-30 14:07:53,839 DEBUG wire  - << "[\r][\n]"
2013-10-30 14:07:53,839 DEBUG DefaultClientConnection  - Receiving response: HTTP/1.1 404 Not Found
2013-10-30 14:07:53,839 DEBUG headers  - << HTTP/1.1 404 Not Found
2013-10-30 14:07:53,839 DEBUG headers  - << Server: Apache-Coyote/1.1
2013-10-30 14:07:53,839 DEBUG headers  - << Cache-Control: no-cache, no-store, must-revalidate
2013-10-30 14:07:53,839 DEBUG headers  - << Pragma: no-cache
2013-10-30 14:07:53,839 DEBUG headers  - << Expires: 0
2013-10-30 14:07:53,839 DEBUG headers  - << Content-Type: text/html;charset=utf-8
2013-10-30 14:07:53,839 DEBUG headers  - << Content-Length: 1817
2013-10-30 14:07:53,839 DEBUG headers  - << Date: Wed, 30 Oct 2013 13:07:53 GMT
2013-10-30 14:07:53,839 DEBUG NetUtils  - Deleting temporary request-scoped file: C:\apache-tomcat-7.0.47\temp\upload__7f5acc82_1420979ff7d__8000_00000007.tmp
2013-10-30 14:07:53,839 DEBUG DefaultHttpClient  - Connection can be kept alive indefinitely
2013-10-30 14:07:53,839 DEBUG wire  - << "<!DOCTYPE HTML>[\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "<html><head><link rel="stylesheet" href="/orbeon/1e34714ce926b28825d966454f0a570fbc29fe56/apps/fr/style/bootstrap/css/bootstrap.css" type="text/css" media="all"><link rel="stylesheet" href="/orbeon/1e34714ce926b28825d966454f0a570fbc29fe56/apps/fr/style/form-runner-bootstrap-override.css" type="text/css" media="all"><link rel="stylesheet" href="/orbeon/1e34714ce926b28825d966454f0a570fbc29fe56/apps/fr/style/form-runner-base.css" type="text/css" media="all"><link rel="stylesheet" href="/orbeon/1e34714ce926b28825d966454f0a570fbc29fe56/apps/fr/style/form-runner-orbeon.css" type="text/css" media="all"><title>Not Found</title><meta name="generator" content="Orbeon Forms 4.3.1.0.201308300457 PE"><link rel="shortcut icon" href="/orbeon/1e34714ce926b28825d966454f0a570fbc29fe56/ops/images/orbeon-icon-16.ico"><link rel="icon" href="/orbeon/1e34714ce926b28825d966454f0a570fbc29fe56/ops/images/orbeon-icon-16.png" type="image/png"></head><body><div id="fr-view" class="fr-view"><div id="doc4"><div class="fr-header"><div class="fr-logo">Logo</div></div><div id="bd" class="fr-container"><div id="yui-main"><div class="yui-b"><div class="yui-g fr-top">

[\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "                                            Not Found[\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "                                        

</div><div class="yui-g fr-separator"> </div><div class="yui-g fr-body"><div class="fr-error-message"><p>[\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "                                                Oops, the page requested was not found![\n]"
2013-10-30 14:07:53,839 DEBUG wire  - << "                                            </p></div></div><div class="yui-g fr-separator"> </div></div></div></div><div id="ft" class="fr-footer"></div></div></div></body></html>"
2013-10-30 14:07:53,839 DEBUG XFormsServer  -                 end connecting {time (ms): "120"}
2013-10-30 14:07:53,839 DEBUG XFormsServer  -                 start handling result
2013-10-30 14:07:53,839 DEBUG XFormsServer  -                   evaluated model variables {count: "10"}
2013-10-30 14:07:53,839 DEBUG XFormsServer  -                 end handling result {time (ms): "0"}
2013-10-30 14:07:53,839 DEBUG XFormsServer  -               end submission {time (ms): "130"}
2013-10-30 14:07:53,839 DEBUG XFormsServer  -               evaluated model variables {count: "10"}
2013-10-30 14:07:53,849 ERROR XFormsServer  -               xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: fr-send-submission-none, error code received when submitting instance: 404           |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.submission.XFormsSubmissionException                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|getReplacer                   |XFormsModelSubmission.java    | 730|
|rg.orbeon.oxf.xforms.submission.RegularSubmission$1|call                          |RegularSubmission.java        | 101|
|rg.orbeon.oxf.xforms.submission.RegularSubmission$1|call                          |RegularSubmission.java        |  71|
|org.orbeon.oxf.xforms.submission.BaseSubmission    |submitCallable                |BaseSubmission.java           | 100|
|org.orbeon.oxf.xforms.submission.RegularSubmission |connect                       |RegularSubmission.java        | 124|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|doSubmit                      |XFormsModelSubmission.java    | 464|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|performDefaultAction          |XFormsModelSubmission.java    | 296|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply$mcV$sp                  |Dispatch.scala                | 137|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
|org.orbeon.oxf.xforms.event.Dispatch$              |withEvent$1                   |Dispatch.scala                |  38|
|org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                 |Dispatch.scala                |  72|
|org.orbeon.oxf.xforms.action.XFormsAPI$            |send                          |XFormsAPI.scala               | 268|
|org.orbeon.oxf.xforms.action.XFormsAPI$            |sendThrowOnError              |XFormsAPI.scala               | 285|
|org.orbeon.oxf.fr.Actions$$anonfun$trySend$1       |apply                         |SimpleProcess.scala           | 587|
|org.orbeon.oxf.fr.Actions$$anonfun$trySend$1       |apply                         |SimpleProcess.scala           | 555|
|scala.util.Try$                                    |apply                         |Try.scala                     | 161|
|org.orbeon.oxf.fr.Actions$class                    |trySend                       |SimpleProcess.scala           | 555|
|org.orbeon.oxf.fr.SimpleProcess$                   |trySend                       |SimpleProcess.scala           |  40|
|org.orbeon.oxf.fr.Actions$$anonfun$AllowedActions$7|apply                         |SimpleProcess.scala           | 395|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 728|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 305|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 210|
|org.apache.tomcat.websocket.server.WsFilter        |doFilter                      |WsFilter.java                 |  51|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 243|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 210|
|org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 222|
|org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 123|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                        |AuthenticatorBase.java        | 502|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 171|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         | 100|
|org.apache.catalina.valves.AccessLogValve          |invoke                        |AccessLogValve.java           | 953|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 118|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 408|
|org.apache.coyote.http11.AbstractHttp11Processor   |process                       |AbstractHttp11Processor.java  |1041|
|e.coyote.AbstractProtocol$AbstractConnectionHandler|process                       |AbstractProtocol.java         | 603|
|.apache.tomcat.util.net.JIoEndpoint$SocketProcessor|run                           |JIoEndpoint.java              | 312|
|java.util.concurrent.ThreadPoolExecutor            |runWorker                     |ThreadPoolExecutor.java       |1145|
|java.util.concurrent.ThreadPoolExecutor$Worker     |run                           |ThreadPoolExecutor.java       | 615|
|java.lang.Thread                                   |run                           |Thread.java                   | 724|
+----------------------------------------------------------------------------------------------------------------------+"}
2013-10-30 14:07:53,859 DEBUG XFormsServer  -               optimized dispatching {name: "xforms-submit-error", target: "fr-send-submission-none", native handlers called: "1"}
2013-10-30 14:07:53,859 DEBUG ThreadSafeClientConnManager  - Released connection is reusable.
2013-10-30 14:07:53,859 DEBUG ConnPoolByRoute  - Releasing connection [{}->http://localhost:8080][null]
2013-10-30 14:07:53,859 DEBUG ConnPoolByRoute  - Pooling connection [{}->http://localhost:8080][null]; keep alive indefinitely
2013-10-30 14:07:53,859 DEBUG ConnPoolByRoute  - Notifying no-one, there are no waiting threads
2013-10-30 14:07:53,859 DEBUG XFormsServer  -               optimized dispatching {name: "xforms-submit", target: "fr-send-submission-none", native handlers called: "0"}
2013-10-30 14:07:53,859 DEBUG XFormsServer  -             end running action {time (ms): "170"}
2013-10-30 14:07:53,859 DEBUG XFormsServer  -             combining with then {action: "ActionAst(navigate,Map(None -> http://localhost:8080/examples/jsp/jsp2/tagfiles/ok.jsp))"}
2013-10-30 14:07:53,859 DEBUG XFormsServer  -             combining with recover {action: "ActionAst(navigate,Map(None -> http://localhost:8080/examples/jsp/jsp2/tagfiles/test.jsp))"}
2013-10-30 14:07:53,869 DEBUG XFormsServer  -             recovering {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|[No error message provided.]                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
Reply | Threaded
Open this post in threaded view
|

Re: fr-send-submission-none, error code received when submitting instance: 404

Alessandro  Vernet
Administrator
Sorry, but I can't say from your log what is causing that 404. Could you try updating your log4j.xml and properties-local.xml as described in the "development configuration" section linked below, reproduce the problem, and attach the relevant portion of the orbeon.log?

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet