| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions //EN" "http://glassfish.org/dtds/glassfish-resources_1_5.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 allow-non-component-callers="false" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="java:app/jdbc-pointbase-pool1" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8"> |
| <property name="ServerName" value="localhost"/> |
| <property name="PortNumber" value="1527"/> |
| <property name="DatabaseName" value="testdb"/> |
| <property name="User" value="dbuser"/> |
| <property name="Password" value="dbpassword"/> |
| <property name="URL" value="jdbc:derby://localhost:1527/testdb;create=true;"/> |
| </jdbc-connection-pool> |
| |
| <jdbc-resource enabled="true" jndi-name="java:app/jdbc/XAPointbase" object-type="user" pool-name="java:app/jdbc-pointbase-pool1"/> |
| |
| <admin-object-resource enabled="true" jndi-name="java:app/eis/testAdmin" object-type="user" res-adapter="generic-ra" res-type="connector.MyAdminObject"> |
| <property name="ResetControl" value="BEGINNING"/> |
| </admin-object-resource> |
| |
| </resources> |
| |