-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathserver.xml
24 lines (21 loc) · 1.13 KB
/
server.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<server>
<featureManager>
<feature>webProfile-7.0</feature>
</featureManager>
<httpEndpoint id="defaultHttpEndpoint"
host="*"
httpPort="9080"
httpsPort="-1">
</httpEndpoint>
<webApplication name="GetStartedJava" context-root="/" location="GetStartedJava.war"/>
<variable name="DERBY_JDBC_DRIVER_PATH" value="/opt/ibm/wlp/usr/shared/resources/derby/"/>
<dataSource id="wasstarter" jdbcDriverRef="Derby_Network_Server_Using_Derby_Client" jndiName="jdbc/wasstarter">
<properties.derby.client databaseName="demo" serverName="${env.DERBY_HOST}" portNumber="${env.DERBY_PORT}" user="${env.DERBY_USER}" password="${env.DERBY_PASSWORD}" />
<connectionManager agedTimeout="0" connectionTimeout="180" maxIdleTime="1800" maxPoolSize="10" minPoolSize="1" reapTime="180"/>
</dataSource>
<jdbcDriver id="Derby_Network_Server_Using_Derby_Client" javax.sql.DataSource="org.apache.derby.jdbc.ClientConnectionPoolDataSource">
<library>
<file name="${DERBY_JDBC_DRIVER_PATH}/derbyclient.jar"/>
</library>
</jdbcDriver>
</server>