I downloaded Orbeon CE and followed this tutorial to install it http://wiki.orbeon.com/forms/doc/developer-guide/admin/installing#TOC-Software-requirements I am using Apache Tomcat.
I could open orbeon on my browser and also create and test a form without problems. The error I encounter is when I want to save it: "Unable to complete action There was an error communicating with the database. Please contact the application administrator." Here http://wiki.orbeon.com/forms/doc/developer-guide/exist-configuration I read that "By default, Orbeon Forms ships with an embedded eXist database." This is the the log of localhost I find: 2-set-2013 19.01.16 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate exception for servlet exist-rest-servlet javax.servlet.ServletException: No database instance available at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:140) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:136) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Can someone help me? thank you a lot! |
Update:
Here the exist-conf.xml: <db-connection cacheSize="20M" collectionCache="10M" database="native" files="exist-data" pageSize="4096" nodesBuffer="-1"> I tried also to install eXist database but nothing. |
Administrator
|
Could it be that Tomcat doesn't have permissions to write to the
exist-data folder? Try granting access with chmod (assuming Unix). -Erik On Mon, Sep 2, 2013 at 4:59 PM, colet_ <[hidden email]> wrote: > Update: > > Here the exist-conf.xml: > > <db-connection cacheSize="20M" collectionCache="10M" database="native" > files="exist-data" pageSize="4096" nodesBuffer="-1"> > I tried also to install eXist database but nothing. > > -- > View this message in context: http://discuss.orbeon.com/When-saving-a-form-in-Orbeon-Form-Builder-I-get-an-error-tp4657239p4657243.html > Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.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]. -- 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 .
Hi Erik, thank you for your reply!
I follow your advice, but it did not work :-( I proceeded as follow: in command line I accessed in "WEB-INF" folder where "exist-data" is and inserted this command: chmod a+rwx "exist-data" Then I also checked on the "exist-data" folder proprieties to verify the permissions and they were right: all can read write and execute. I started again Tomcat and open on my browser orbeon again, but it does not save my forms :-( Do I have to install eXist? it is the Form Runner right? |
Administrator
|
I am not sure what the problem is, but everything usually works out of the box. You don't need to setup an external eXist to make the demos work.
Maybe the content of exist-data is corrupted. You could try unzip orbeon.war again. If that doesn't work, maybe try to clear the content of exist-data. This will force a blank database, but it will lack some demo forms and data. -Erik |
Free forum by Nabble | Edit this page |