| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE resources PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Resource Definitions //EN" "http://www.sun.com/software/appserver/dtds/sun-resources_1_4.dtd"> |
| <!-- |
| |
| Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0, which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| This Source Code may also be made available under the following Secondary |
| Licenses when the conditions for such availability set forth in the |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| version 2 with the GNU Classpath Exception, which is available at |
| https://www.gnu.org/software/classpath/license.html. |
| |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| |
| --> |
| |
| <resources> |
| <jdbc-connection-pool datasource-classname="org.apache.derby.jdbc.ClientXADataSource" max-pool-size="5" res-type="javax.sql.XADataSource" steady-pool-size="5" name="java:app/jdbc/jdbc-unshareable-pool" idle-timeout-in-seconds="3600"> |
| <property name="User" value="dbuser"></property> |
| <property name="Password" value="dbpassword"></property> |
| <property name="driverType" value="4"></property> |
| <property name="portNumber" value="1527"></property> |
| <property name="dataBaseName" value="testdb"></property> |
| <property name="retrieveMessagesFromServerOnGetMessage" value="true"></property> |
| <property name="create" value="true"></property> |
| <property name="serverName" value="localhost"></property> |
| </jdbc-connection-pool> |
| <jdbc-resource pool-name="java:app/jdbc/jdbc-unshareable-pool" jndi-name="java:app/jdbc/unshareable"></jdbc-resource> |
| <jdbc-connection-pool datasource-classname="org.apache.derby.jdbc.ClientXADataSource" max-pool-size="5" res-type="javax.sql.XADataSource" steady-pool-size="5" name="java:app/jdbc-shareable-pool" idle-timeout-in-seconds="3600"> |
| <property name="User" value="dbuser"></property> |
| <property name="Password" value="dbpassword"></property> |
| <property name="driverType" value="4"></property> |
| <property name="portNumber" value="1527"></property> |
| <property name="dataBaseName" value="testdb"></property> |
| <property name="retrieveMessagesFromServerOnGetMessage" value="true"></property> |
| <property name="create" value="true"></property> |
| <property name="serverName" value="localhost"></property> |
| </jdbc-connection-pool> |
| <jdbc-resource pool-name="java:app/jdbc-shareable-pool" jndi-name="java:app/jdbc/shareable"></jdbc-resource> |
| <jdbc-connection-pool datasource-classname="org.apache.derby.jdbc.ClientDataSource" max-pool-size="5" res-type="javax.sql.DataSource" steady-pool-size="5" name="java:app/jdbc-local-pool" idle-timeout-in-seconds="3600"> |
| <property name="User" value="dbuser"></property> |
| <property name="Password" value="dbpassword"></property> |
| <property name="driverType" value="4"></property> |
| <property name="portNumber" value="1527"></property> |
| <property name="dataBaseName" value="testdb"></property> |
| <property name="retrieveMessagesFromServerOnGetMessage" value="true"></property> |
| <property name="create" value="true"></property> |
| <property name="serverName" value="localhost"></property> |
| </jdbc-connection-pool> |
| <jdbc-resource pool-name="java:app/jdbc-local-pool" jndi-name="java:app/jdbc/localdatasource"></jdbc-resource> |
| </resources> |
| |