Guest User

Untitled

a guest
Sep 14th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. module add --name=org.postgres --resources=/tmp/postgresql-9.3-1101.jdbc41.jar --dependencies=javax.api,javax.transaction.api
  2. /subsystem=datasources/jdbc-driver=postgres:add(driver-name="postgres",driver-module-name="org.postgres",driver-class-name=org.postgresql.Driver)
  3. data-source add --jndi-name=java:jboss/datasource/PgsqlDS --name=PostgrePool --connection-url=jdbc:postgresql://localhost/db_name --driver-name=postgres --user-name=[username] --password=[password]
Add Comment
Please, Sign In to add comment