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:
[EMAIL PROTECTED] 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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user