Commit 12e9c0c1 authored by iSergio's avatar iSergio
Browse files

Add configure PostgreSQL driver

parent c9e7ff4a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -117,3 +117,8 @@ chkconfig as7-standalone on
chkconfig as7-domain off
service as7-domain stop
service as7-standalone restart

# Add PostgreSQL JDBC driver
align_left "$DOTSTRING" "Add PostgreSQL JDBC Driver"
result=`jboss-cli.sh --connect --commands="/subsystem=datasources/jdbc-driver=postgresql:add(driver-name=postgresql, driver-module-name=org.postgresql, driver-xa-datasource-class-name=org.postgresql.xa.PGXADataSource)"` &>/dev/null
align_echo $? $result