Error on upload File and Save

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

Error on upload File and Save

jrabasilio
Hei Alex,

I have a form with a label and a upload file.
when save the form with out file, saved ok, but when i put file in upload
file the form gives one error
"There was an error communicating with the database. Please contact the
application administrator."

And in server log is
"2019-01-08 14:54:56,637 ERROR
[org.orbeon.oxf.xforms.processor.XFormsServer] (ajp-/0.0.0.0:8909-1)
xforms-submit-error - xf:submission: binary serialization with anyURI type
failed reading URL.
"

This error not occur in all installations.
My orbeon version is the Orbeon Forms 2018.1 , but update for the lasted
version and error is same.

Thanks


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Error on upload File and Save

Alessandro  Vernet
Administrator
Hi João,

Are you using the built-in eXist database, or did you setup Orbeon Forms
with a relational database? If so, which one? And could you attach your
`orbeon.log` with that error?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Error on upload File and Save

jrabasilio

I Use mysql database.

I send my orbeon log.

thanks
orbeon.log <http://discuss.orbeon.com/file/t375602/orbeon.log>  

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Error on upload File and Save

Alessandro  Vernet
Administrator
Hi João,

Mmmh… the most relevant error related the problem you're describing is:
> xforms-submit-error - xf:submission: binary serialization with anyURI type
> failed reading URL

But that isn't telling us much. So we have more information in the log,
could you please try to set your logging as described in the Development
configuration section of the XForms Logging page, stop your server, remove
the `orbeon.log`, restart the server, reproduce the issue and attach the
`orbeon.log` you get?

https://doc.orbeon.com/configuration/advanced/xforms-logging.html

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Error on upload File and Save

jrabasilio
hi,

Log file from orbeon.

The problem only ocorre in two installations, not in all, whos is more
strange.
The configuration in all installations is the same.
The orbeon version 2018.01

thank

orbeon_(1).log <http://discuss.orbeon.com/file/t375602/orbeon_%281%29.log>  

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Error on upload File and Save

Alessandro  Vernet
Administrator
Hi João,

Thank you for the log. When you upload a file, before it is saved to the
database, the file is stored on the server in a temporary file. When saving,
the temporary file is read and sent to the persistence API. In your case, it
seems that reading the temporary file fails. Can you see why this could
happen on your system?

If not, maybe you can start by enabling the XForms inspector (property
below), load the form, attach the file, and before saving in `fr-form-model`
/ `fr-form-instance` see what the temporary URL is, and check that the file
is indeed there on the server. You'll let us know what you find.

<property as="xs:boolean" name="oxf.epilogue.xforms.inspector"
value="true"/>

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Error on upload File and Save

Alessandro  Vernet
Administrator
Hi João, in case this is a problem with a temporary file, did you get a
chance to check if the file exists based on the path in the XForms
Inspector, as suggested in my previous message?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet