Error adding a record to the database

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

Error adding a record to the database

ashuster

I get the following error (in ops.log file) when adding a record to the database:

 

2008-01-17 11:13:27,184 INFO  ProcessorService  - /xforms-hello/add - Timing: 312 - Cache hits for cache.main: 232, fault: 36, adds: 33, expirations: 0, success rate: 86%

2008-01-17 11:13:27,184 INFO  ProcessorService  - /xforms-hello/add - Received request

2008-01-17 11:13:28,059 INFO  ProcessorService  - /xforms-hello/add - Timing: 875 - Cache hits for cache.main: 18, fault: 13, adds: 15, expirations: 0, success rate: 58%

2008-01-17 11:13:28,059 ERROR XFormsServer  - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException: line 27 of oxf:/config/xforms-widgets.xsl (processing submission response): xforms:submission for submission id: add-submission, error code received when submitting instance: 500

oxf:/config/xforms-widgets.xsl, line 27, column -1: xforms:submission for submission id: add-submission, error code received when submitting instance: 500

            at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:855)

            at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:980)

            at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:45)

            at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:122)

            at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:32)

            at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:122)

            at org.orbeon.oxf.xforms.XFormsContainingDocument.runAction(XFormsContainingDocument.java:1033)

            at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:153)

            at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:961)

            at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:809)

            at org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:283)

            at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:223)

            at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:47)

            at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:73)

            at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)

            at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:984)

            at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)

            at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)

            at org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)

            at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)

            at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213)

            at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:1008)

            at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213)

            at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)

            at org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)

            at org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)

            at org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:151)

            at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)

            at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:142)

            at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:650)

            at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554)

            at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:647)

            at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:229)

            at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:650)

            at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554)

            at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:647)

            at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95)

            at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)

            at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

            at java.lang.Thread.run(Thread.java:595)

 

Alex Shuster

 

 


======================================================================================
Notice: This message is intended only for use by the person or entity to which it is addressed. Because it may contain confidential information intended solely for the addressee, you are notified that any disclosing, copying, downloading, distributing, or retaining of this message, and any attached files, is prohibited and may be a violation of state or federal law. If you received this message in error, please notify the sender by reply mail, and delete the message and all attached files.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Error adding a record to the database

Alessandro Vernet
Administrator
Alex,

The request to /xforms-hello/add seem to have been sucessful, reading
from the log. But the submission ID add-submission has received a 500
error. Are you sure that this submission did the request to
/xforms-hello/add, or was there another URL involved?

If this doesn't help, we would need an example we can reproduce to
help further on this.

Alex

On Jan 17, 2008 9:29 AM, Alex Shuster <[hidden email]> wrote:

>
>
>
>
> I get the following error (in ops.log file) when adding a record to the
> database:
>
>
>
> 2008-01-17 11:13:27,184 INFO  ProcessorService  - /xforms-hello/add -
> Timing: 312 - Cache hits for cache.main: 232, fault: 36, adds: 33,
> expirations: 0, success rate: 86%
>
> 2008-01-17 11:13:27,184 INFO  ProcessorService  - /xforms-hello/add -
> Received request
>
> 2008-01-17 11:13:28,059 INFO  ProcessorService  - /xforms-hello/add -
> Timing: 875 - Cache hits for cache.main: 18, fault: 13, adds: 15,
> expirations: 0, success rate: 58%
>
> 2008-01-17 11:13:28,059 ERROR XFormsServer  - XForms - submission -
> xforms-submit-error throwable:
> org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException: line
> 27 of oxf:/config/xforms-widgets.xsl (processing submission response):
> xforms:submission for submission id: add-submission, error code received
> when submitting instance: 500
>
> oxf:/config/xforms-widgets.xsl, line 27, column -1: xforms:submission for
> submission id: add-submission, error code received when submitting instance:
> 500
>
>             at
> org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:855)
>
>             at
> org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:980)
>
>             at
> org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:45)
>
>             at
> org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:122)
>
>             at
> org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:32)
>
>             at
> org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:122)
>
>             at
> org.orbeon.oxf.xforms.XFormsContainingDocument.runAction(XFormsContainingDocument.java:1033)
>
>             at
> org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:153)
>
>             at
> org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:961)
>
>             at
> org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:809)
>
>             at
> org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:283)
>
>             at
> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:223)
>
>             at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:47)
>
>             at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:73)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:984)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
>             at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>
>             at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:1008)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
>             at
> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>
>             at
> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>
>             at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:151)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
>
>             at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:142)
>
>             at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:650)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554)
>
>             at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:647)
>
>             at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:229)
>
>             at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:650)
>
>             at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554)
>
>             at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:647)
>
>             at
> org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95)
>
>             at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>
>             at
> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>
>             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>             at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>
>             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>             at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>             at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>             at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
>             at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>
>             at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>
>             at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
>             at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>
>             at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>
>             at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
>             at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
>             at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
>             at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
>             at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
>             at java.lang.Thread.run(Thread.java:595)
>
>
>
> Alex Shuster
>
>
>
>
>
>
> ________________________________
>
> ======================================================================================
>  Notice: This message is intended only for use by the person or entity to
> which it is addressed. Because it may contain confidential information
> intended solely for the addressee, you are notified that any disclosing,
> copying, downloading, distributing, or retaining of this message, and any
> attached files, is prohibited and may be a violation of state or federal
> law. If you received this message in error, please notify the sender by
> reply mail, and delete the message and all attached files.
>
> --
> 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
>
>


--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.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