|
Jetty example source code file (filter.properties)
The Jetty filter.properties source code
ATOMIKOS-DATASOURCE1-PRE=
ATOMIKOS-DATASOURCE2-PRE=
ATOMIKOS-DATASOURCE1=\
<New class="com.atomikos.jdbc.SimpleDataSourceBean">\
<Set name="xaDataSourceClassName">org.apache.derby.jdbc.EmbeddedXADataSource\
<Set name="xaDataSourceProperties">databaseName=testdb;createDatabase=create\
<Set name="UniqueResourceName">mydatasource\
</New>\
ATOMIKOS-DATASOURCE2=\
<New class="com.atomikos.jdbc.SimpleDataSourceBean">\
<Set name="xaDataSourceClassName">org.apache.derby.jdbc.EmbeddedXADataSource\
<Set name="xaDataSourceProperties">databaseName=testdb2;createDatabase=create\
<Set name="UniqueResourceName">mydatasource2\
</New>
ATOMIKOS-DATASOURCE99-PRE=
ATOMIKOS-DATASOURCE99=\
<New class="com.atomikos.jdbc.SimpleDataSourceBean">\
<Set name="xaDataSourceClassName">org.apache.derby.jdbc.EmbeddedXADataSource\
<Set name="xaDataSourceProperties">databaseName=testdb99;createDatabase=create\
<Set name="UniqueResourceName">mydatasource99\
</New>
ATOMIKOS-TRANSACTIONMANAGER=
ATOMIKOS-USERTRANSACTION= <New class="com.atomikos.icatch.jta.UserTransactionImp"/>
JOTM-DATASOURCE1-PRE=\
<New class="org.mortbay.jetty.plus.naming.Resource">\
<Arg>myxadatasource\
<Arg>\
<New id="myxadatasource" class="org.enhydra.jdbc.standard.StandardXADataSource">\
<Set name="DriverName">org.apache.derby.jdbc.EmbeddedDriver\
<Set name="Url">jdbc:derby:myderbyDB1;create=true\
<Set name="User">\
<Set name="Password">\
<Set name="transactionManager">\
</New>\
</Arg>\
</New>
JOTM-DATASOURCE1=\
<New class="org.enhydra.jdbc.pool.StandardXAPoolDataSource">\
<Arg>\
<Set name="DataSourceName">myxadatasource\
</New>
JOTM-DATASOURCE2-PRE=\
<New class="org.mortbay.jetty.plus.naming.Resource">\
<Arg>myxadatasource2\
<Arg>\
<New id="myxadatasource2" class="org.enhydra.jdbc.standard.StandardXADataSource">\
<Set name="DriverName">org.apache.derby.jdbc.EmbeddedDriver\
<Set name="Url">jdbc:derby:myderbyDB2;create=true\
<Set name="User">\
<Set name="Password">\
<Set name="transactionManager">\
</New>\
</Arg>\
</New>
JOTM-DATASOURCE2=\
<New class="org.enhydra.jdbc.pool.StandardXAPoolDataSource">\
<Arg>\
<Set name="DataSourceName">myxadatasource2\
</New>
JOTM-DATASOURCE99-PRE=\
<Call id="tm" name="getAttribute">
Other Jetty examples (source code examples)Here is a short list of links related to this Jetty filter.properties source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.