[jboss-user] [JBoss Seam] - Could not create connection - deployment problem
pista666
do-not-reply at jboss.com
Sat Feb 24 20:21:42 EST 2007
hi folks,
playing with app generation, (seam generate-entities)
everything is fine, until deployment, when i get this:
01:52:39,917 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: org.postgresql.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.postgresql.Driver))
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
i have pgsql-jdbc.jar(original filename postgresql-8.2-504.jdbc2.jar) in project/lib dir but it does not copies jar into deploy dir of jboss
so i have tryied to add it to project/exploded-archives/ ... this way it gets to server:
[pista at aihome crud7]$ find /opt/jboss/server/ -name *pgsql-jdbc*
/opt/jboss/server/default/lib/pgsql-jdbc.jar
/opt/jboss/server/default/deploy/crud7.ear/crud7.war/WEB-INF/lib/pgsql-jdbc.jar
/opt/jboss/server/default/deploy/crud7.ear/pgsql-jdbc.jar
.... BUT STILL SAME ERROR
thankx for any advice
pista
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021808#4021808
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021808
More information about the jboss-user
mailing list