Skip to content

Instantly share code, notes, and snippets.

@Gubaer
Last active September 21, 2015 16:20
Show Gist options
  • Save Gubaer/ceb3b4193923d351435e to your computer and use it in GitHub Desktop.
Save Gubaer/ceb3b4193923d351435e to your computer and use it in GitHub Desktop.
orbeon.xml in /etc/tomcat7/Catalina/localhost
<!--
orbeon.xml - Tomcat context for orbeon
-->
<Context
docBase="/home/karl/software/orbeon/orbeon.war"
reloadable="false"
override="true"
allowLinking="true"
>
<Parameter
override="false"
name="oxf.resources.priority.0"
value="org.orbeon.oxf.resources.FilesystemResourceManagerFactory"/>
<!--
Implies that the config file is in
/home/me/software/orbeon/config/properties-local.xml
Note the path segment 'config' which is assumed implicitly!
-->
<Parameter
override="false"
name="oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory"
value="/home/me/software/orbeon"/>
<Resource
name="jdbc/postgresql"
auth="Container"
type="javax.sql.DataSource"
initialSize="3"
maxActive="10"
maxIdle="20"
maxWait="30000"
driverClassName="org.postgresql.Driver"
validationQuery="select 1"
testOnBorrow="true"
username="orbeon"
password="orbeon"
url="jdbc:postgresql://localhost:5432/orbeon?useUnicode=true&amp;characterEncoding=UTF8&amp;socketTimeout=30&amp;tcpKeepAlive=true"/>
</Context>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment