Hi, I am newbie to Orbeon Forms and seeking please for your technical assistance. Issue: Unable to send email Installed version: orbeon-2019.2.0.201912301747-CE Testing platform: Ubuntu and Win10 (with XAMPP) Error msg: "An error has occurred while processing the request." I followed the steps mentioned in https://doc.orbeon.com/configuration/properties/form-runner/form-runner-detail-page/form-runner-email and explored for solutions in other forums too, but until now I have been unsuccessful to send out an email via Orbeon Form on both test environments. I have attached below my config and logs for your reference. Requesting kindly for the community's help to guide me where I may have made the error in configuration and setup --- my config of properties-local.xml --- <properties xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <property as="xs:NMTOKENS" name="oxf.xforms.logging.debug">process</property> <property as="xs:anyURI" name="oxf.url-rewriting.service.base-uri" value="http://localhost:8080/orbeon"/> <property as="xs:boolean" name="oxf.http.exceptions" value="false"/> <property as="xs:string" name="oxf.fr.email.smtp.host.*.*" value="smtp.mailserver.com"/> <property as="xs:string" name="oxf.fr.email.smtp.port.*.*" value="587"/> <property as="xs:string" name="oxf.fr.email.smtp.encryption.*.*" value="tls"/> <property as="xs:string" name="oxf.fr.email.smtp.username.*.*" value="[hidden email]"/> <property as="xs:string" name="oxf.fr.email.smtp.credentials.*.*" value="pa$sword"/> <property as="xs:string" name="oxf.fr.email.from.*.*" value="[hidden email]"/> <property as="xs:string" name="oxf.fr.email.reply-to.*.*" value="[hidden email]"/> <property as="xs:string" name="oxf.fr.email.to.*.*" value="[hidden email]"/> <property as="xs:string" name="oxf.fr.resource.*.*.en.email.subject" value="Here is your confirmation: "/> <property as="xs:string" name="oxf.fr.resource.*.*.en.email.body" value="Hi, here is an email from Orbeon Forms!"/> <property as="xs:string" name="oxf.fr.detail.buttons.orbeon.contact">summary clear pdf save-final send review</property> </properties> --- logs from orbeon.log --- 2020-05-09 14:44:01,069 ERROR ProcessorService - +----------------------------------------------------------------------------------------------------------------------+ |An Error has Occurred | |----------------------------------------------------------------------------------------------------------------------| |[No error message provided.] | |----------------------------------------------------------------------------------------------------------------------| |Application Call Stack | |----------------------------------------------------------------------------------------------------------------------| |oxf:/ops/pfc/xforms-xml-submission.xpl |executing processor | 56| |······················································································································| |element=<p:processor name="oxf:pipeline">[...]</p:processor> | |name ={http://www.orbeon.com/oxf/processors}pipeline | |----------------------------------------------------------------------------------------------------------------------| |oxf:/ops/xforms/xforms-server-submit.xpl |executing processor | 68| |······················································································································| |element=<p:processor name="oxf:xforms-server">[...]</p:processor> | |name ={http://www.orbeon.com/oxf/processors}xforms-server | |----------------------------------------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.oxf.http.SessionExpiredException | |----------------------------------------------------------------------------------------------------------------------| |org.orbeon.oxf.xforms.state.XFormsStateManager$ |$anonfun$acquireDocumentLock$1|XFormsStateManager.scala | 154| |scala.Option |getOrElse |Option.scala | 189| |org.orbeon.oxf.xforms.state.XFormsStateManager$ |acquireDocumentLock |XFormsStateManager.scala | 154| |.orbeon.oxf.xforms.XFormsContainingDocumentSupport$|withLock |XFormsContainingDocumentSuppor| 75| |org.orbeon.oxf.xforms.processor.XFormsServer |org$orbeon$oxf$xforms$processo|XFormsServer.scala | 635| |org.orbeon.oxf.xforms.processor.XFormsServer |start |XFormsServer.scala | 561| |g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run |PipelineProcessor.java | 617| |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.oxf.common.ValidationException | |----------------------------------------------------------------------------------------------------------------------| |org.orbeon.oxf.common.OrbeonLocationException$ |wrapException |OrbeonLocationException.scala | 60| |org.orbeon.oxf.common.OrbeonLocationException |wrapException |OrbeonLocationException.scala | | |g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run |PipelineProcessor.java | 619| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren |PipelineProcessor.java | 679| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|start |PipelineProcessor.java | 614| |g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run |PipelineProcessor.java | 617| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren |PipelineProcessor.java | 679| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|start |PipelineProcessor.java | 614| |g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getInput |PipelineProcessor.java | 141| |g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getKeyImpl |PipelineProcessor.java | 109| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey |ProcessorOutputImpl.java | 261| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |getKey |ProcessorOutputImpl.java | 401| |processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl |ConcreteChooseProcessor.java | 135| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey |ProcessorOutputImpl.java | 261| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |getKey |ProcessorOutputImpl.java | 401| |org.orbeon.oxf.processor.ProcessorImpl |getInputKey |ProcessorImpl.java | 489| |orbeon.oxf.processor.pipeline.PipelineProcessor$1$2|run |PipelineProcessor.java | 113| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren |PipelineProcessor.java | 679| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000 |PipelineProcessor.java | 60| |g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getKeyImpl |PipelineProcessor.java | 111| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey |ProcessorOutputImpl.java | 261| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |getKey |ProcessorOutputImpl.java | 401| |cessor.pipeline.TeeProcessor$TeeProcessorOutputImpl|getKeyImpl |TeeProcessor.java | 147| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey |ProcessorOutputImpl.java | 261| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |getKey |ProcessorOutputImpl.java | 401| |org.orbeon.oxf.processor.ProcessorImpl |getInputKey |ProcessorImpl.java | 489| |org.orbeon.oxf.processor.ProcessorImpl |getInputKeyValidity |ProcessorImpl.java | 521| |org.orbeon.oxf.processor.ProcessorImpl |isInputInCache |ProcessorImpl.java | 502| |org.orbeon.oxf.processor.ProcessorImpl |isInputInCache |ProcessorImpl.java | 507| |processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl |ConcreteChooseProcessor.java | 131| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey |ProcessorOutputImpl.java | 261| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |getKey |ProcessorOutputImpl.java | 401| |org.orbeon.oxf.processor.ProcessorImpl |getInputKey |ProcessorImpl.java | 489| |org.orbeon.oxf.processor.ProcessorImpl |getInputKeyValidity |ProcessorImpl.java | 521| |org.orbeon.oxf.processor.ProcessorImpl |isInputInCache |ProcessorImpl.java | 502| |org.orbeon.oxf.processor.ProcessorImpl |isInputInCache |ProcessorImpl.java | 507| |processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl |ConcreteChooseProcessor.java | 131| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey |ProcessorOutputImpl.java | 261| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |getKey |ProcessorOutputImpl.java | 401| |cessor.pipeline.TeeProcessor$TeeProcessorOutputImpl|getKeyImpl |TeeProcessor.java | 147| |---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---| |scala.runtime.java8.JFunction0$mcV$sp |apply |JFunction0$mcV$sp.java | 23| |org.orbeon.oxf.util.DynamicVariable |withValue |DynamicVariable.scala | 42| |org.orbeon.oxf.webapp.ProcessorService$ |withProcessorService |ProcessorService.scala | 146| |org.orbeon.oxf.servlet.OrbeonServlet |service |OrbeonServlet.scala | 76| |javax.servlet.http.HttpServlet |service |HttpServlet.java | 728| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 303| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 208| |org.apache.tomcat.websocket.server.WsFilter |doFilter |WsFilter.java | 52| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 241| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 208| |org.orbeon.oxf.servlet.FormRunnerAuthFilter |doFilter |FormRunnerAuthFilter.scala | 50| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 241| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 208| |org.orbeon.oxf.servlet.LimiterFilter |$anonfun$doFilter$3 |LimiterFilter.scala | 85| |scala.runtime.java8.JFunction0$mcV$sp |apply |JFunction0$mcV$sp.java | 23| |org.orbeon.oxf.logging.LifecycleLogger$ |withEvent |LifecycleLogger.scala | 125| |org.orbeon.oxf.servlet.LimiterFilter |$anonfun$doFilter$2 |LimiterFilter.scala | 85| |scala.runtime.java8.JFunction0$mcV$sp |apply |JFunction0$mcV$sp.java | 23| |org.orbeon.oxf.logging.LifecycleLogger$ |withEvent |LifecycleLogger.scala | 125| |org.orbeon.oxf.servlet.LimiterFilter |$anonfun$doFilter$1 |LimiterFilter.scala | 78| |org.orbeon.oxf.servlet.LimiterFilter |$anonfun$doFilter$1$adapted |LimiterFilter.scala | 72| |scala.Option |foreach |Option.scala | 407| |org.orbeon.oxf.servlet.LimiterFilter |doFilter |LimiterFilter.scala | 72| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 241| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 208| |org.apache.catalina.core.StandardWrapperValve |invoke |StandardWrapperValve.java | 219| |org.apache.catalina.core.StandardContextValve |invoke |StandardContextValve.java | 110| |org.apache.catalina.authenticator.AuthenticatorBase|invoke |AuthenticatorBase.java | 492| |org.apache.catalina.core.StandardHostValve |invoke |StandardHostValve.java | 165| |org.apache.catalina.valves.ErrorReportValve |invoke |ErrorReportValve.java | 104| |org.apache.catalina.valves.AccessLogValve |invoke |AccessLogValve.java |1025| |org.apache.catalina.core.StandardEngineValve |invoke |StandardEngineValve.java | 116| |org.apache.catalina.connector.CoyoteAdapter |service |CoyoteAdapter.java | 452| |org.apache.coyote.http11.AbstractHttp11Processor |process |AbstractHttp11Processor.java |1195| |e.coyote.AbstractProtocol$AbstractConnectionHandler|process |AbstractProtocol.java | 654| |.apache.tomcat.util.net.JIoEndpoint$SocketProcessor|run |JIoEndpoint.java | 319| |java.util.concurrent.ThreadPoolExecutor |runWorker | | | |java.util.concurrent.ThreadPoolExecutor$Worker |run | | | |che.tomcat.util.threads.TaskThread$WrappingRunnable|run |TaskThread.java | 61| |java.lang.Thread |run | | | +----------------------------------------------------------------------------------------------------------------------+ 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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/c5282125-5d5b-412d-b01f-58602b0bfedf%40googlegroups.com. |
Administrator
|
Hi Jey,
I suspect there are other errors before or after the one your quoted that might tell us more about what is happening. 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 (see link below), 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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1589259361636-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
-- My apologies for the delay to reply back. I have troubleshooted and resolved the issue. Thank you. Jey. On Tuesday, May 12, 2020 at 12:56:03 AM UTC-4, Alessandro Vernet wrote: Hi Jey, 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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1afc3fc9-059b-4268-8b00-ed6f1cbb1915%40googlegroups.com. |
Administrator
|
Excellent Jey, I'm glad you got that email config to work! And thank you for
the update. ‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1589598248240-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |