-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathserver.xml
More file actions
88 lines (72 loc) · 5.22 KB
/
server.xml
File metadata and controls
88 lines (72 loc) · 5.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<server description="OIPA">
<!-- Enable features -->
<featureManager>
<feature>adminCenter-1.0</feature>
<feature>jdbc-4.1</feature>
<feature>jsp-2.3</feature>
<feature>jaxws-2.2</feature>
<feature>restConnector-1.0</feature>
</featureManager>
<applicationMonitor dropinsEnabled="true" pollingRate="500ms" updateTrigger="polled"/>
<config monitorInterval="500ms" updateTrigger="polled"/>
<!-- This template enables security. To get the full use of all the capabilities, a keystore and user registry are required. -->
<!-- For the keystore, default keys are generated and stored in a keystore. To provide the keystore password, generate an
encoded password using bin/securityUtility encode and add it below in the password attribute of the keyStore element.
Then uncomment the keyStore element. -->
<keyStore id="defaultKeyStore" password="ZZbDRNakSNcGVFrAJBk4PxxRHt3CepYgN+Vm09VM78g=" />
<!--For a user registry configuration, configure your user registry. For example, configure a basic user registry using the
basicRegistry element. Specify your own user name below in the name attribute of the user element. For the password,
generate an encoded password using bin/securityUtility encode and add it in the password attribute of the user element.
Then uncomment the user element. -->
<basicRegistry id="basic" realm="BasicRealm">
<user name="pasUser" password="{xor}Lz4sCiw6LQ=="/>
</basicRegistry>
<administrator-role>
<user>pasUser</user>
</administrator-role>
<!-- To allow access to this server from a remote client host="*" has been added to the following element -->
<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="9080" httpsPort="9443" />
<library id="OIPA_LIBS">
<fileset dir="${shared.resource.dir}/oipa" includes="*.jar" scanInterval="5s"/>
<folder dir="${shared.resource.dir}/conf" />
</library>
<library id="global">
<fileset dir="/extensions" includes="*.jar" scanInterval="2s"/>
</library>
<library id="MSJDBCLib">
<fileset dir="${shared.resource.dir}/db_drivers" includes="*.jar" />
</library>
<!-- Automatically expand WAR files and EAR files -->
<applicationManager autoExpand="true"/>
<webApplication contextRoot="PASJava" name="OIPA" autoStart="true" type="war" location="PASJava.war">
<classloader delegation="parentFirst" privateLibraryRef="OIPA_LIBS, MSJDBCLib, global" />
</webApplication>
<webApplication contextRoot="PaletteConfig" name="PALETTE" autoStart="true" type="war" location="PaletteConfig.war">
<classloader delegation="parentFirst" privateLibraryRef="OIPA_LIBS, MSJDBCLib, global" />
</webApplication>
<dataSource id="AdminServer" jndiName="ADMINSERVERDS" type="javax.sql.DataSource">
<jdbcDriver libraryRef="MSJDBCLib"
javax.sql.DataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.ConnectionPoolDataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.XADataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource"/>
<connectionManager maxPoolSize="20" minPoolSize="5"/>
<properties databaseName="${env.DB_NAME}" password="${env.DB_PASSWORD}" serverName="${env.DB_HOST}" portNumber="${env.DB_PORT}" user="${env.DB_USER}"></properties>
</dataSource>
<dataSource id="AdminServerResource" jndiName="ADMINSERVERRESOURCEDS" type="javax.sql.DataSource">
<jdbcDriver libraryRef="MSJDBCLib"
javax.sql.DataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.ConnectionPoolDataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.XADataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource"/>
<connectionManager maxPoolSize="20" minPoolSize="5"/>
<properties databaseName="${env.DB_NAME}" password="${env.DB_PASSWORD}" serverName="${env.DB_HOST}" portNumber="${env.DB_PORT}" user="${env.DB_USER}"></properties>
</dataSource>
<dataSource id="AdminServerSearch" jndiName="ADMINSERVERSEARCHDS" type="javax.sql.DataSource">
<jdbcDriver libraryRef="MSJDBCLib"
javax.sql.DataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.ConnectionPoolDataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.XADataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource"/>
<connectionManager maxPoolSize="20" minPoolSize="5"/>
<properties databaseName="${env.DB_NAME}" password="${env.DB_PASSWORD}" serverName="${env.DB_HOST}" portNumber="${env.DB_PORT}" user="${env.DB_USER}"></properties>
</dataSource>
<dataSource id="AdminServerReadOnly" jndiName="ADMINSERVERREADONLYDS" type="javax.sql.DataSource">
<jdbcDriver libraryRef="MSJDBCLib"
javax.sql.DataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.ConnectionPoolDataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource" javax.sql.XADataSource="net.sourceforge.jtds.jdbcx.JtdsDataSource"/>
<connectionManager maxPoolSize="20" minPoolSize="5"/>
<properties databaseName="${env.DB_NAME}" password="${env.DB_PASSWORD}" serverName="${env.DB_HOST}" portNumber="${env.DB_PORT}" user="${env.DB_USER}"></properties>
</dataSource>
</server>