This is a follow-up to this question...
After quite a lot of trial-and-error, we simply can't get the Orbeon form builder working, period. Even reinstalling from scratch on a fresh system does not seem to work, and we are at a loss on how to proceed.
We are thinking we will need to learn the XML syntax and "hand-edit" new forms until this is resolved. As a simple test, we tried taking an existing form from the MySQL "orbeon.orbeon_form_definitions" table and copying it unchanged to another system. Although the form works properly on the originating system, when we move it to another Orbeon instance this way, we are seeing exceptions when trying to run the new form (by invoking "fr/app/form/new"). Thus, we can't even create forms by hand.
The debugging log reveals this:
INFO ProcessorService - /fr/app/formname/new - Received request
INFO ProcessorService - /fr/service/persistence/crud/app/formname/form/form.xhtml - Received request
INFO ProcessorService - /fr/service/mysql/crud/app/formname/form/form.xhtml - Received request
INFO ProcessorService - /fr/service/persistence/form/app/formname - Received request
INFO ProcessorService - /fr/service/mysql/form/app/formname - Received request
INFO ProcessorService - /fr/service/mysql/form/app/formname - Timing: 784
INFO DatabaseContext - Committing JDBC connection for datasource: jdbc/mysql.
INFO ProcessorService - /fr/service/persistence/form/app/formname - Timing: 964
INFO ProcessorService - /fr/service/mysql/crud/app/formname/form/form.xhtml - Timing: 4285
INFO DatabaseContext - Committing JDBC connection for datasource: jdbc/mysql.
INFO ProcessorService - /fr/service/persistence/crud/app/formname/form/form.xhtml - Timing: 4827
ERROR PageFlowControllerProcessor - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/app/formname/new"}
ERROR PageFlowControllerProcessor -
+---------------------------------------------------------------------------------------------------+
|An Error has Occurred |
|---------------------------------------------------------------------------------------------------|
|Fatal error: Premature end of file. |
Configuration is Orbeon 4.4CE, MySQL 5.6 persistence layer, Tomcat 7.0.52, Java 1.7.67 and Ubuntu 14.04.
Two questions:
- What are we doing wrong?
- Is there any better way to diagnose this sort of problem?
form.xhtmlin the database. I can only conclude that the copy from one database to the other was not done right, somehow. 3. The MAIN question is why would Form Builder stop working? This is definitely not right. Can you send Orbeon a db dump? - ebruchez