Error message when navigating to Form Runner Home

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

Error message when navigating to Form Runner Home

dmz1970
This post was updated on .
Any idea why this would happen. The log file doesn't even get created.

Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

dmz1970
Anyone?
Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

dmz1970
In reply to this post by dmz1970
This happens on a fresh installation of Orbeon 4.10 CE on Tomcat7.

Am I lacking some security configuration?

Also, not sure if it's relevant, but I'm trying to access http://192.168.137.220:8080/orbeon/fr/ from a desktop, that is not the same machine that's hosting Orbeon.

Please, help!
Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

Alessandro  Vernet
Administrator
Hi Daniel,

When you say that the log file wasn't created, are you referring to the orbeon.log? By default that file gets created in ../logs/orbeon.log, which means that if you start Tomcat in tomcat/bin, you'll find it in tomcat/logs, along the other log files. If you can't find it there, I'd recommend you set an absolute path in Orbeon Forms WEB-INF/resources/config/log4j.xml to a place where you want the orbeon.log to be.

Once you have that taken of, you'll be in a much better place to solve the problem you're after, as the log file will most likely contain some indication of why that process is failing.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

dmz1970
Hi, Alex!

This is my log4j.xml: log4j.xml
As you can see there, the log is directed to /tmp/orbeon.log, and all events are logged.

Anyway, I've restarted tomcat and got the same error again, but this time the log file was generated: orbeon.zip

Unfortunately, I'm not familiar enough with Orbeon, to understand what log event might correlate with my problem.
Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

Alessandro  Vernet
Administrator
Hi Daniel,

Thank you for the log. I see the following error:

"Unable to initialialize database instance 'exist': Exception while reading lucene index directory: Permission denied"

The WEB-INF/exist-data needs to be writable, as this is where eXist stores it data. If you'd like to place this in different directory, you can by changing the exist-conf.xml, but for now, I'd just recommend you make that directory writable.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

dmz1970
Alex,

Making WEB-INF/exist-data writeable solved the problem. Thank you very much!
I think this should be included in the installation instructions.

Daniel
Reply | Threaded
Open this post in threaded view
|

Re: Error message when navigating to Form Runner Home

Alessandro  Vernet
Administrator
Daniel, good point, and this is now done:

https://github.com/orbeon/orbeon-forms/wiki/Installation-~-Basic#database-setup

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet