JBoss and Postgresql
To setup JBoss to use postgresql instead of hsqldb follow this procedure
- Shutdown JBoss
- delete hsqldb-ds.xml from [server]/deploy
- copy postgres-ds.xml from [jboss.home]/docs/examples to [server]/deploy
- edit postgres-ds.xml and replace all occurences of PostgresDS with DefaultDS
- delete hsqldb-jdbc?-service.xml (leave hsqldb-jdbc-state-service.xml there) [server]/deploy/jms
- copy postgres-jdbc3-service.xml [jboss.home]/docs/examples/jms to [server]deploy/jms
- edit postgres-jdbc3-service.xml and replace all occurences of PostgresDS with DefaultDS
- Start JBoss
- Adapt your applications and redeploy them
Tested with JBoss version 4.0.3 and postgresql 8.0.4-21
0 Comments:
Post a Comment
<< Home