Hi,
I've got a windows instillation of Orbeon and FR running on Tomcat. It's working beautifully except for image attachments using the standard Form Builder control in Form Runner. I can upload image attachments fine to the system, and the images appear in the Tomcat/temp directory as expected just fine. However when the form goes to save the image in the eXist database, something goes wrong. The image is not saved correctly, though it appears the eXist file does contain an entry pointing to its URI in /fr/service/exist/crud/$app/$form/data/$docID/$imageID. In Orbeon.log I get this error message when attempting to save the form data: ERROR XFormsServer - xforms-submit-error - setting throwable {throwable: "org.orbeon.oxf.xforms.submission.XFormsSubmissionException: (serializing instance): xforms:submission: binary serialization without a type is not yet implemented. null, line -1, column -1: xforms:submission: binary serialization without a type is not yet implemented. at org.orbeon.oxf.xforms.submission.XFormsModelSubmission$SerializationParameters.<init>(XFormsModelSubmission.java:975) at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XFormsModelSubmission.java:438) at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:295) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1021) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1010) at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:60) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:241) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:241) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1010) at org.orbeon.oxf.xforms.action.actions.XFormsDispatchAction.execute(XFormsDispatchAction.java:103) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1012) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEventCheckTarget(XFormsContainingDocument.java:925) at org.orbeon.oxf.xforms.XFormsContainingDocument.handleExternalEvent(XFormsContainingDocument.java:905) at org.orbeon.oxf.xforms.processor.XFormsServer.createAndDispatchEvents(XFormsServer.java:519) at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:328) at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:63) at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:94) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35) at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:472) at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:505) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:551) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:503) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:191) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:251) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:100) at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) at java.lang.Thread.run(Unknown Source) "} Any insight into why this is happening and what I need to do to correct it would be appreciated. Thanks, Austin Stanley |
Administrator
|
Austin,
That shouldn't happen. It's as some type disappeared in the data. Which version are you using? Do you have a sample form you can send? -Erik On Thu, Sep 9, 2010 at 11:32 AM, Austin Stanley <[hidden email]> wrote: > > Hi, > > I've got a windows instillation of Orbeon and FR running on Tomcat. It's > working beautifully except for image attachments using the standard Form > Builder control in Form Runner. I can upload image attachments fine to the > system, and the images appear in the Tomcat/temp directory as expected just > fine. However when the form goes to save the image in the eXist database, > something goes wrong. The image is not saved correctly, though it appears > the eXist file does contain an entry pointing to its URI in > /fr/service/exist/crud/$app/$form/data/$docID/$imageID. > > In Orbeon.log I get this error message when attempting to save the form > data: > > ERROR XFormsServer - xforms-submit-error - setting throwable {throwable: > "org.orbeon.oxf.xforms.submission.XFormsSubmissionException: (serializing > instance): xforms:submission: binary serialization without a type is not yet > implemented. > null, line -1, column -1: xforms:submission: binary serialization without a > type is not yet implemented. > at > org.orbeon.oxf.xforms.submission.XFormsModelSubmission$SerializationParameters.<init>(XFormsModelSubmission.java:975) > at > org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XFormsModelSubmission.java:438) > at > org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:295) > at > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1021) > at > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1010) > at > org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:60) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:241) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:241) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204) > at > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000) > at > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1010) > at > org.orbeon.oxf.xforms.action.actions.XFormsDispatchAction.execute(XFormsDispatchAction.java:103) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256) > at > org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204) > at > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000) > at > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1012) > at > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEventCheckTarget(XFormsContainingDocument.java:925) > at > org.orbeon.oxf.xforms.XFormsContainingDocument.handleExternalEvent(XFormsContainingDocument.java:905) > at > org.orbeon.oxf.xforms.processor.XFormsServer.createAndDispatchEvents(XFormsServer.java:519) > at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:328) > at > org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:63) > at > org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:94) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445) > at > org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35) > at > org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:472) > at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:505) > at > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:551) > at > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:503) > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:191) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644) > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:251) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644) > at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90) > at > org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:100) > at > org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427) > at > org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384) > at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) > at java.lang.Thread.run(Unknown Source) > "} > > Any insight into why this is happening and what I need to do to correct it > would be appreciated. > > Thanks, > > Austin Stanley > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FR-Image-Attachment-Error-tp2533388p2533388.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |