This content has been marked as final.
Show 1 reply
-
1. Re: howto setup a postgre datasource?
darranl Nov 10, 2003 7:40 AM (in response to eldorsen)Stop JBoss
Assuming that you are running the default configuration copy the jar file containing the JDBC drivers to {jboss_home}/server/default/lib
Look on {jboss_home}/docs/ somewhere in the folder or a sub folder there should be an example postgres-service.xml or postgres-ds.xml, copy this file to {jboss_home}/server/default/deploy
For JBoss 3.2.2 the path to the examples is {jboss_home}/docs/examples/jca but I am not sure about the other versions.
Edit the file that you copied to the deploy folder so that it uses your database.
Start JBoss.