`

Wildfly 8.2 configure data source

 
阅读更多

 

wildfly-8.2.0.Final/bin$ ./jboss-cl

You are disconnected at the moment. Type 'connect' to connect to the server or '

[disconnected /] connect

[standalone@localhost:9990 /] module add --name=org.postgres --dependencies=javax.api,javax.transaction.api --resources=/home/jsfcoder/Downloads/postgresql-9.3-1102.jdbc4.jar

 

[standalone@localhost:9990 /] /subsystem=datasources/jdbc-driver=postgres:add(driver-name=postgres,driver-module-name=org.postgres,driver-class-name=org.postgresql.Driver)

 

// did not try following

data-source add –jndi-name=java:/PostGreDS –name=PostgrePool –connection-url=jdbc:postgresql://localhost/postgres –driver-name=postgres –user-name=postgres –password=postgres

 

ref: http://blog.sentilabs.com/postgresql-module-on-wildfly-8-1-0/

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics