Wojtek Augustynski [
http://community.jboss.org/people/waugust] created the discussion
"Server not finding drivers"
To view the discussion, visit:
http://community.jboss.org/message/575292#575292
--------------------------------------------------------------
I have to be missing something trivial here..
Using JBoss (or hibernate?) tools on Helios, I define my drive, ping it and all good.
Though JBoss doesn't seem to find it:
Caused by javax.servlet.ServletException with message:
"javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection"
Caused by javax.faces.el.EvaluationException with message:
"javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection"
Caused by javax.persistence.PersistenceException with message:
"org.hibernate.exception.GenericJDBCException: Cannot open connection"
Caused by org.hibernate.exception.GenericJDBCException with message: "Cannot open
connection"
Caused by org.jboss.util.NestedSQLException with message: "Unable to get managed
connection for testSeamDatasource; - nested throwable: (javax.resource.ResourceException:
Unable to get managed connection for testSeamDatasource)"
Caused by javax.resource.ResourceException with message: "Unable to get managed
connection for testSeamDatasource"
Caused by org.jboss.resource.JBossResourceException with message: "Could not create
connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to
register driver for: org.postgresql.Driver; - nested throwable:
(java.lang.*ClassNotFoundException: org.postgresql.Driver*))"
Caused by org.jboss.resource.JBossResourceException with message: "Failed to
register driver for: org.postgresql.Driver; - nested throwable:
(java.lang.ClassNotFoundException: org.postgresql.Driver)"
Caused by java.lang.ClassNotFoundException with message:
"org.postgresql.Driver"
Am I foolish to think that all I need to had done was specify the path to the driver in
the IDE and everything would be taken care of on the AS on deployment?
Tried also with mysql and the same thing...(so I know its me)... I ping it alright in the
IDE though the server can't find it.
When I go to the admin console and test the connection there it says
"Successful", though I think it means that it successfully tested it and not
connected as the Result section shows no connection obtained...
Sorry for being noobish.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/575292#575292]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]