This is probably not the best way to do this, though, since hypersql's setup is different from a standard JDBC driver. (The database runs in the same VM as JBoss) A better solution is get the 3.0 postgresql-service.xml from the public documentation on the database setup: http://jboss.org/online-manual/HTML/ch03s12.html and modify it for your setup. (Change the server address, username, password, etc.) You can just dump the postgresql.jar file into the deploy directory to make it accessible.
McAuley, Tim wrote: >Which version of JBoss are you using? > >My advise is firstly to make sure you're using a copy of the service file >applicable to the version of JBoss you're using. > >- Make a copy of hsqldb-default-service.xml and rename it to >postgres-service.xml. >- Modify the relevent sections for use with Postgres i.e. > - jdbc driver, datasource name (if not default) > - database to access, and username password > (possibly the location of the postgres jar file needs to be added >in). > >If you let me know what version of JBoss you have, I might be able to send >you a copy of my postgres service file. I have been using alpha, beta and >beta2 (26/03) > >Tim > > >>I havent been successful in get PostgreSQL to be used >>for CMP in my entity EJB running on JBoss 3.0.0. >>Can anyone show some light in the areas I am may have >>overlooked or if possible a step by step listing of >>what I is required to get PostgreSQL being used for >>CMP. >>Thank you all in advance. >> >>Allan Kamau. >> > >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
