aspose file tools*
The moose likes JDBC and the fly likes NonRegisteringDriver.connect(NonRegisteringDriver.java:282) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "NonRegisteringDriver.connect(NonRegisteringDriver.java:282)" Watch "NonRegisteringDriver.connect(NonRegisteringDriver.java:282)" New topic
Author

NonRegisteringDriver.connect(NonRegisteringDriver.java:282)

Sanket L Shah
Ranch Hand

Joined: May 08, 2009
Posts: 49
Hi All,

I am developing one application in which i am using Hibernate....
When I am trying to do anything with database it throws exception like...


ava.lang.ExceptionInInitializerError
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)

at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)



Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)


Please help me...
Thank you...
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

"Mca Sanket Shah",
Please check your private messages. I had also requested the same of you in this thread


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40041
    
  28
Question more suited to the JDBC forum. Moving.
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874



I guess your driver jar is corrupted. Which driver is it ? try to extract and see. Or download the driver again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NonRegisteringDriver.connect(NonRegisteringDriver.java:282)