Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

Anyone seen this exception?

Thread view: 
Bryan - 12 Jul 2007 00:30 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.