Last active
September 21, 2015 16:20
-
-
Save Gubaer/ceb3b4193923d351435e to your computer and use it in GitHub Desktop.
orbeon.xml in /etc/tomcat7/Catalina/localhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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&characterEncoding=UTF8&socketTimeout=30&tcpKeepAlive=true"/> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment