Store configuration properties in database or shared folder.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Store configuration properties in database or shared folder.

aitor
Hello,

I want to configure Orbeon in a cluster with two or more tomcat nodes. And the question is that I want to have this configuration's file properties "properties-local.xml" stored in the data base; or if it is not posible to have this properties stored in the data base, to store it in a shared folder. And if the solution is to store the configuration file in the shared folder. Are there some problem to access two nodes at the same time to the propertie's file "properties-local.xml" in the shared folder? And if the solution is the shared configuration file. What I have seen to do is to have the file "properties.xml" in the path:
\webapps\orbeon\WEB-INF\resources\config\properties.xml
And configure the property with the shared file:
<xi:include href="oxf:/config/properties-local.xml"/>
Is this configuration correct?

Another question is: how to access to an orbeon property from a JSP page? And what is the code to do it?

Thanks