Separating configuration from Orbeon installation

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

Separating configuration from Orbeon installation

James Newcombe
Hi,

In my wanderings through the various sites holding documentation, blog posts, technical answers, etc, I came across some instructions for telling the Orbeon server to look in a parallel file structure for its configuration, the idea being that the local configuration would be stored outside the directory structure created by deploying the orbeon.war file onto a server (Tomcat, in my instance), thus making it simpler and less troublesome to upgrade to a newer version of Orbeon.

I can't remember where I found it - this http://blog.orbeon.com/2014/03/storing-configurations-outside-of.html blog post looks a likely candidate, but I don't think it was this; I recall specific mention of doing it to ease upgrades, and that isn't obviously the purpose of the blog post.

Next time I'll make tactical use of the 'bookmark' button, but any clues would be appreciated. I thought it was a properties setting, but it doesn't seem to make sense that you'd set a property to tell Orbeon to look somewhere else for its properties - how would it know where to look to find that instruction :-)

Thanks.



Reply | Threaded
Open this post in threaded view
|

Re: Separating configuration from Orbeon installation

acspike
I've done my share of wandering through the docs looking for a key piece of info that I only vaguely remember. I think what you're looking for can be found in two places.

First, you'll want to use a custom context file:
https://github.com/orbeon/orbeon-forms/wiki/Installation-~-Tomcat#custom-context

And inside of that context.xml file (rather than in web.xml as ordinarily) you will want to add an additional filesystem resource:
http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources

Aaron Spike

--
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].
Reply | Threaded
Open this post in threaded view
|

RE: Separating configuration from Orbeon installation

James Newcombe
Thanks Aaron. That second link looks like the thing I was looking for. I haven't been able to make a custom context work for the connection to our SQL Server enterprise cluster - I get a range of odd and thus far intractable Java errors - so I had to define the database connections in server.xml. Since I'm happy to drop Orbeon into the Tomcat webapps directory, I think the first link is probably more than I needed. The second one looks like it will do the trick.

Thanks.

James

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 10 February 2015 14:57
To: [hidden email]
Cc: Newcombe, James
Subject: Re: Separating configuration from Orbeon installation

I've done my share of wandering through the docs looking for a key piece of info that I only vaguely remember. I think what you're looking for can be found in two places.

First, you'll want to use a custom context file:
https://github.com/orbeon/orbeon-forms/wiki/Installation-~-Tomcat#custom-context

And inside of that context.xml file (rather than in web.xml as ordinarily) you will want to add an additional filesystem resource:
http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources

Aaron Spike

Capgemini is a trading name used by the Capgemini Group of companies which includes Capgemini UK plc, a company registered in England and Wales (number 943935) whose registered office is at No. 1, Forge End, Woking, Surrey, GU21 6DB.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

--
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].
Reply | Threaded
Open this post in threaded view
|

Re: Separating configuration from Orbeon installation

Aaron Spike
I'm pretty sure I've made every possible mistake while installing Orbeon at least twice. Perhaps we can help you figure out the sqlserver troubles too?

This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
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].