Hi, I´m configuring my Orbeon to connect with my database MariaDB. I have
done these 3 steps as I did to configure mysql too. 1- Configure server.xml of Tomcat inside <Host></Host> <Context path="/orbeon" docBase="C:/LiferayMariaDB/LiferayMariaDB/bundles/tomcat-8.0.32/webapps/orbeon.war" reloadable="false" override="true" allowLinking="true"> <Resource name="jdbc/mariadb" driverClassName="org.mariadb.jdbc.Driver" auth="Container" type="javax.sql.DataSource" initialSize="3" maxActive="10" maxIdle="10" maxWait="30000" poolPreparedStatements="true" testOnBorrow="true" validationQuery="select 1" username="root" password="root" url="jdbc:mariadb://localhost:3307/orbeon?useUnicode=true&characterEncoding=UTF8"/> </Context> 2- Add properties in the properties-local.xml <property as="xs:string" name="oxf.fr.persistence.provider.*.*.*" value="mysql"/> <property as="xs:string" name="oxf.fr.persistence.mysql.datasource" value="mysql"/> 3- Add the mariadb and java connector in tomcat/lib. (mariadb-java-client:2.2.5.jar) I think I don´t forget anything else. Hope you can help me, thanks. Iñigo. -- 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]. |
Administrator
|
Hi Iñigo,
And what is the issue you're seeing when doing the setup with MariaDB instead of MySQL? Do you have any error when starting Tomcat, or in the `orbeon.log`? 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 |
When I click on Save button appears the error on the image inserted.
<http://discuss.orbeon.com/file/t375647/DatabaseError.jpg> Starting Tomcat I don´t have any issue but when I click on save button, this is the orbeon.log: 2018-06-27 08:14:05,229 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "start: filter", "path": "/xforms-server", "method": "POST"} 2018-06-27 08:14:05,229 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "start: chain", "path": "/xforms-server", "method": "POST", "wait": "0"} 2018-06-27 08:14:05,246 WARN auth - not setting credentials headers because credentials are not found 2018-06-27 08:14:05,246 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "start: handle"} 2018-06-27 08:14:05,246 INFO ProcessorService - /xforms-server - Received request 2018-06-27 08:14:05,324 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "ajax with update events", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca"} 2018-06-27 08:14:05,324 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "before document lock", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca"} 2018-06-27 08:14:05,324 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "got document lock", "path": "/xforms-server", "method": "POST", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca", "wait": "0"} 2018-06-27 08:14:05,385 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "after cacheOrStore", "document cache current size": "1", "document cache max size": "50"} 2018-06-27 08:14:05,385 INFO ProcessorService - /xforms-server - Timing: 139 2018-06-27 08:14:05,386 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "end: handle", "time": "140 ms"} 2018-06-27 08:14:05,387 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "end: chain", "time": "157 ms"} 2018-06-27 08:14:05,387 INFO lifecycle - event: {"request": "14", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "end: filter", "time": "158 ms"} 2018-06-27 08:14:05,527 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "start: filter", "path": "/xforms-server", "method": "POST"} 2018-06-27 08:14:05,527 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "start: chain", "path": "/xforms-server", "method": "POST", "wait": "0"} 2018-06-27 08:14:05,527 WARN auth - not setting credentials headers because credentials are not found 2018-06-27 08:14:05,528 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "start: handle"} 2018-06-27 08:14:05,528 INFO ProcessorService - /xforms-server - Received request 2018-06-27 08:14:05,537 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "ajax with update events", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca"} 2018-06-27 08:14:05,537 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "before document lock", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca"} 2018-06-27 08:14:05,537 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "got document lock", "path": "/xforms-server", "method": "POST", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca", "wait": "0"} 2018-06-27 08:14:05,538 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "after cacheOrStore", "document cache current size": "1", "document cache max size": "50"} 2018-06-27 08:14:05,538 INFO ProcessorService - /xforms-server - Timing: 10 2018-06-27 08:14:05,539 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "end: handle", "time": "11 ms"} 2018-06-27 08:14:05,541 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "end: chain", "time": "12 ms"} 2018-06-27 08:14:05,541 INFO lifecycle - event: {"request": "15", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "end: filter", "time": "14 ms"} 2018-06-27 08:14:06,146 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "start: filter", "path": "/xforms-server", "method": "POST"} 2018-06-27 08:14:06,146 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "start: chain", "path": "/xforms-server", "method": "POST", "wait": "0"} 2018-06-27 08:14:06,146 WARN auth - not setting credentials headers because credentials are not found 2018-06-27 08:14:06,147 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "start: handle"} 2018-06-27 08:14:06,147 INFO ProcessorService - /xforms-server - Received request 2018-06-27 08:14:06,162 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "ajax with update events", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca"} 2018-06-27 08:14:06,162 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "before document lock", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca"} 2018-06-27 08:14:06,162 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "got document lock", "path": "/xforms-server", "method": "POST", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca", "wait": "0"} 2018-06-27 08:14:06,164 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "fr", "message": "start: process", "uuid": "cd5f9f6d80e6415ec98d91f598900952f93784ca", "scope": "oxf.fr.detail.process", "name": "save"} 2018-06-27 08:14:06,188 INFO lifecycle - event: {"request": "17", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "start: handle", "path": "/fr/service/persistence/crud/orbeon/builder/data/901b92fd6aa61928cbd5c37984b89cd9b7c2958f/data.xml", "method": "PUT"} 2018-06-27 08:14:06,188 INFO ProcessorService - /fr/service/persistence/crud/orbeon/builder/data/901b92fd6aa61928cbd5c37984b89cd9b7c2958f/data.xml - Received request 2018-06-27 08:14:06,207 ERROR PageFlowControllerProcessor - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "PUT", path: "/fr/service/persistence/crud/orbeon/builder/data/901b92fd6aa61928cbd5c37984b89cd9b7c2958f/data.xml"} 2018-06-27 08:14:06,214 ERROR PageFlowControllerProcessor - +----------------------------------------------------------------------------------------------------------------------+ |An Error has Occurred | |----------------------------------------------------------------------------------------------------------------------| |no base URL specified for requested persistence provider `mariadb` (check properties) | |----------------------------------------------------------------------------------------------------------------------| |Application Call Stack | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/fr/page-flow.xml |reading page model data output| 18| |······················································································································| |element=<service path="/fr/service/persistence/.*" model="persistence/proxy.xpl"/> | |model =persistence/proxy.xpl | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/fr/persistence/proxy.xpl |executing processor | 18| |······················································································································| |element=<p:processor name="fr:persistence-proxy"/> | |name ={http://orbeon.org/oxf/xml/form-runner}persistence-proxy | |----------------------------------------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.oxf.common.OXFException | |----------------------------------------------------------------------------------------------------------------------| |org.orbeon.oxf.fr.FormRunnerPersistence$$anonfun$2 |apply |FormRunnerPersistence.scala | 116| |org.orbeon.oxf.fr.FormRunnerPersistence$$anonfun$2 |apply |FormRunnerPersistence.scala | 116| |scala.Option |getOrElse |Option.scala | 121| |org.orbeon.oxf.fr.FormRunnerPersistence$ |getPersistenceURLHeadersFromPr|FormRunnerPersistence.scala | 115| |org.orbeon.oxf.fr.FormRunnerPersistence$ |getPersistenceURLHeaders |FormRunnerPersistence.scala | 96| |org.orbeon.oxf.fr.FormRunnerPersistenceProxy$ |proxyRequest |FormRunnerPersistenceProxy.sca| 111| |org.orbeon.oxf.fr.FormRunnerPersistenceProxy$ |proxyRequest |FormRunnerPersistenceProxy.sca| 88| |org.orbeon.oxf.fr.FormRunnerPersistenceProxy |start |FormRunnerPersistenceProxy.sca| 62| |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|readImpl |PipelineProcessor.java | 84| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |processor.pipeline.choose.ConcreteChooseProcessor$1|readImpl |ConcreteChooseProcessor.java | 126| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |org.orbeon.oxf.processor.IdentityProcessor$1 |readImpl |IdentityProcessor.java | 33| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run |PipelineProcessor.java | 93| |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|readImpl |PipelineProcessor.java | 91| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |org.orbeon.oxf.processor.IdentityProcessor$1 |readImpl |IdentityProcessor.java | 33| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |org.orbeon.oxf.processor.IdentityProcessor$1 |readImpl |IdentityProcessor.java | 33| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run |PipelineProcessor.java | 93| |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|readImpl |PipelineProcessor.java | 91| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |processor.pipeline.choose.ConcreteChooseProcessor$1|readImpl |ConcreteChooseProcessor.java | 126| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |ssor.pipeline.PipelineProcessor$InternalTopOutput$1|run |PipelineProcessor.java | 535| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeParents |PipelineProcessor.java | 696| |org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$400 |PipelineProcessor.java | 60| |cessor.pipeline.PipelineProcessor$InternalTopOutput|readImpl |PipelineProcessor.java | 531| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |org.orbeon.oxf.processor.NullSerializer |start |NullSerializer.java | 28| |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.oxf.common.OXFException | |----------------------------------------------------------------------------------------------------------------------| |org.orbeon.oxf.processor.NullSerializer |start |NullSerializer.java | 30| |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| |f.processor.pipeline.choose.ConcreteChooseProcessor|start |ConcreteChooseProcessor.java | 231| |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| |ller.PageFlowControllerProcessor$PageOrServiceRoute|process |PageFlowControllerProcessor.sc| 588| |g.orbeon.oxf.controller.PageFlowControllerProcessor|start |PageFlowControllerProcessor.sc| 180| |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|readImpl |PipelineProcessor.java | 84| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |processor.pipeline.choose.ConcreteChooseProcessor$1|readImpl |ConcreteChooseProcessor.java | 126| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |org.orbeon.oxf.processor.IdentityProcessor$1 |readImpl |IdentityProcessor.java | 33| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run |PipelineProcessor.java | 93| |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|readImpl |PipelineProcessor.java | 91| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |org.orbeon.oxf.processor.IdentityProcessor$1 |readImpl |IdentityProcessor.java | 33| |essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read |ProcessorOutputImpl.java | 256| |org.orbeon.oxf.processor.impl.ProcessorOutputImpl |read |ProcessorOutputImpl.java | 392| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 262| |org.orbeon.oxf.processor.ProcessorImpl |readInputAsSAX |ProcessorImpl.java | 266| |---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---| |javax.servlet.http.HttpServlet |service |HttpServlet.java | 742| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 231| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 166| |org.apache.tomcat.websocket.server.WsFilter |doFilter |WsFilter.java | 52| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 193| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 166| |org.orbeon.oxf.servlet.FormRunnerAuthFilter |doFilter |FormRunnerAuthFilter.scala | 24| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 193| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 166| |doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp |LimiterFilter.scala | 85| |doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply |LimiterFilter.scala | 85| |doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply |LimiterFilter.scala | 85| |org.orbeon.oxf.logging.LifecycleLogger$ |withEvent |LifecycleLogger.scala | 125| |.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply$mcV$sp |LimiterFilter.scala | 84| |.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply |LimiterFilter.scala | 78| |.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply |LimiterFilter.scala | 78| |org.orbeon.oxf.logging.LifecycleLogger$ |withEvent |LifecycleLogger.scala | 125| |rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply |LimiterFilter.scala | 78| |rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply |LimiterFilter.scala | 72| |scala.Option |foreach |Option.scala | 257| |org.orbeon.oxf.servlet.LimiterFilter |doFilter |LimiterFilter.scala | 72| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 193| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 166| |org.apache.catalina.core.StandardWrapperValve |invoke |StandardWrapperValve.java | 198| |org.apache.catalina.core.StandardContextValve |invoke |StandardContextValve.java | 96| |org.apache.catalina.authenticator.AuthenticatorBase|invoke |AuthenticatorBase.java | 496| |org.apache.catalina.core.StandardHostValve |invoke |StandardHostValve.java | 140| |org.apache.catalina.valves.ErrorReportValve |invoke |ErrorReportValve.java | 81| |org.apache.catalina.valves.AbstractAccessLogValve |invoke |AbstractAccessLogValve.java | 650| |org.apache.catalina.core.StandardEngineValve |invoke |StandardEngineValve.java | 87| |org.apache.catalina.connector.CoyoteAdapter |service |CoyoteAdapter.java | 342| |org.apache.coyote.http11.Http11Processor |service |Http11Processor.java | 803| |org.apache.coyote.AbstractProcessorLight |process |AbstractProcessorLight.java | 66| |rg.apache.coyote.AbstractProtocol$ConnectionHandler|process |AbstractProtocol.java | 790| |.apache.tomcat.util.net.NioEndpoint$SocketProcessor|doRun |NioEndpoint.java |1468| |org.apache.tomcat.util.net.SocketProcessorBase |run |SocketProcessorBase.java | 49| |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 | | | +----------------------------------------------------------------------------------------------------------------------+ 2018-06-27 08:14:06,215 INFO ProcessorService - /fr/service/persistence/crud/orbeon/builder/data/901b92fd6aa61928cbd5c37984b89cd9b7c2958f/data.xml - Timing: 26 2018-06-27 08:14:06,216 INFO lifecycle - event: {"request": "17", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "end: handle", "time": "27 ms"} 2018-06-27 08:14:06,218 ERROR XFormsServer - xforms-submit-error - xf:submission for submission id: fr-create-update-submission, error code received when submitting instance: 500 2018-06-27 08:14:06,236 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "fr", "message": "end: process", "time": "71 ms"} 2018-06-27 08:14:06,256 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "xforms", "message": "after cacheOrStore", "document cache current size": "1", "document cache max size": "50"} 2018-06-27 08:14:06,256 INFO ProcessorService - /xforms-server - Timing: 109 2018-06-27 08:14:06,256 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "service", "message": "end: handle", "time": "110 ms"} 2018-06-27 08:14:06,257 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "end: chain", "time": "111 ms"} 2018-06-27 08:14:06,257 INFO lifecycle - event: {"request": "16", "session": "5629C4073A0F10A3F4222D0F35619F6F", "source": "limiter", "message": "end: filter", "time": "112 ms"} Thanks, Iñigo. -- 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]. |
This post was updated on .
In reply to this post by Alessandro Vernet
In the first post I put wrong the properties-local.xml file.
I put the following properties to configure mariadb persistence provider and datasource: <property as="xs:string" name="oxf.fr.persistence.provider.*.*.*" value="mariadb"/> <property as="xs:string" name="oxf.fr.persistence.mariadb.datasource" value="mariadb"/> <property as="xs:anyURI" name="oxf.fr.persistence.mariadb.uri" value="/fr/service/mariadb"/> And appears the following error in the orbeon.log. ERROR XFormsServer - xforms-submit-error - xf:submission for submission id: fr-create-update-submission, error code received when submitting instance: 404. Thanks, Iñigo. -- 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 orbeon+unsubscribe@googlegroups.com. To post to this group, send email to orbeon@googlegroups.com. |
Administrator
|
Hi Iñigo,
Even if you're using MariaDB, the provider should still be `mysql`. So try having just the following 2 properties: <property as="xs:string" name="oxf.fr.persistence.provider.*.*.*" value="mysql"/> <property as="xs:string" name="oxf.fr.persistence.mysql.datasource" value="mariadb"/> The first is to say that you want to use the MySQL implementation, and the second that the datasource for the MySQL implementation should be `mariadb`. You'll let me know if this helps. 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 |
Thanks so much for your help, that was the problem. Now it works fine, thanks again. Iñigo. -- 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]. |
Administrator
|
Excellent Iñigo! And thank you for the update.
----- -- 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 |
Free forum by Nabble | Edit this page |