Created
December 14, 2015 17:01
-
-
Save Koichi-Kobayashi/d3f248fa51527e51b6c8 to your computer and use it in GitHub Desktop.
glassfish-resourcesサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<resources> | |
<jdbc-connection-pool datasource-classname="org.postgresql.ds.PGSimpleDataSource" res-type="javax.sql.DataSource" name="SamplePool"> | |
<property name="user" value="postgres"/> | |
<property name="password" value="aipo"/> | |
<property name="url" value="jdbc:postgresql://localhost:5433/org001"/> | |
</jdbc-connection-pool> | |
<jdbc-resource jndi-name="jdbc/SampleDS" pool-name="SamplePool"/> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment