Difference between revisions of "Instance creator setup"
Jump to navigation
Jump to search
old>Admin (Created page with " <?xml version="1.0" encoding="UTF-8"?> <Context docBase="@DOCBASE@" swallowOutput="true"> <Resource name="jdbc/TempusServaLive" auth="Container" type="javax.sql.DataSo...") |
m (4 revisions imported) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
=== Template for deployment descriptor === | |||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<Context docBase="@DOCBASE@" swallowOutput="true"> | <Context docBase="@DOCBASE@" swallowOutput="true"> | ||
<Resource name="jdbc/TempusServaLive" auth="Container" type="javax.sql.DataSource" | <Resource name="jdbc/TempusServaLive" auth="Container" type="javax.sql.DataSource" | ||
maxActive="80" maxIdle="30" maxWait="2000" | |||
removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true" | |||
username="@USERNAME@" password="@PASSWORD@" driverClassName="com.mysql.jdbc.Driver" | |||
url="jdbc:mysql://localhost:3306/@DBLIVE@?autoReconnect=true" | |||
/> | /> | ||
<Resource name="jdbc/TempusServaTest" auth="Container" type="javax.sql.DataSource" | <Resource name="jdbc/TempusServaTest" auth="Container" type="javax.sql.DataSource" | ||
maxActive="5" maxIdle="3" maxWait="10000" | |||
logAbandoned="true" | |||
username="@USERNAME@" password="@PASSWORD@" driverClassName="com.mysql.jdbc.Driver" | |||
url="jdbc:mysql://localhost:3306/@DBTEST@?autoReconnect=true" | |||
/> | /> | ||
</Context> | </Context> |
Latest revision as of 11:52, 10 December 2021
Template for deployment descriptor
<?xml version="1.0" encoding="UTF-8"?> <Context docBase="@DOCBASE@" swallowOutput="true"> <Resource name="jdbc/TempusServaLive" auth="Container" type="javax.sql.DataSource" maxActive="80" maxIdle="30" maxWait="2000" removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true" username="@USERNAME@" password="@PASSWORD@" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/@DBLIVE@?autoReconnect=true" /> <Resource name="jdbc/TempusServaTest" auth="Container" type="javax.sql.DataSource" maxActive="5" maxIdle="3" maxWait="10000" logAbandoned="true" username="@USERNAME@" password="@PASSWORD@" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/@DBTEST@?autoReconnect=true" /> </Context>