[jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f
tkrah
do-not-reply at jboss.com
Tue Jul 18 12:05:14 EDT 2006
Edit:
Ok - forget to sync the databases in dvd-ds.xml and persistence.xml.
Now i changed following files:
dvd-ds.xml, persistence.xml and jboss-beans.xml to use my postgres DB.
Now i get another exception - which confuses me, because the url is correct, and the driver class too - using this jdbc url and driver in another project, which works fine there.
| Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: org.postgresql.Driver, url: jdbc:postgresql://localhost:5432/mydb)
|
and before that:
| Caused by: org.jboss.resource.JBossResourceException: Failed to register driver for: org.postgresql.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.postgresql.Driver)
|
Included jdbc3-postgresql.jar in WEB-INF/lib directory of dvdstore example - anything else i have to do?
kind regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958870#3958870
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958870
More information about the jboss-user
mailing list