I am getting this error from a java app that I just inherited from
someone who left my company (sweet).
17:18:28 WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0,
SQLState: null
17:18:28 ERROR org.hibernate.util.JDBCExceptionReporter - Cannot create
JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL ''
17:18:28 WARN org.hibernate.cfg.SettingsFactory - Could not obtain
connection metadata
java.sql.SQLException: Cannot create JDBC driver of class
'oracle.jdbc.driver.OracleDriver' for connect URL ''
This only happens with the user logged into a win xp machine as a
non-administrator- if you have admin privileges everything works fine!
Any hints?
Thanks!
Bryan
dor.orgad@gmail.com - 12 Jul 2007 03:08 GMT
It looks like its complaining about not getting a url to connect to.
Check that the user you are connecting as has a valid url connection
string
> I am getting this error from a java app that I just inherited from
> someone who left my company (sweet).
[quoted text clipped - 15 lines]
> Thanks!
> Bryan
Roedy Green - 12 Jul 2007 03:10 GMT
>Cannot create
>JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL ''
That sounds suspiciously like the jar with the Oracle JDBC driver is
not on the Classpath or in the EXT directory.
See http://mindprod.com/jgloss/classpath.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Arne Vajhøj - 22 Jul 2007 22:28 GMT
> I am getting this error from a java app that I just inherited from
> someone who left my company (sweet).
[quoted text clipped - 10 lines]
> This only happens with the user logged into a win xp machine as a
> non-administrator- if you have admin privileges everything works fine!
The last fact indicates that something like the driver jar file
is protected so that only the admin users can access it.
Arne