It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes NonRegisteringDriver.connect( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "NonRegisteringDriver.connect(" Watch "NonRegisteringDriver.connect(" New topic


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...

at com.mysql.jdbc.NonRegisteringDriver.connect(

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

Caused by: access denied (java.lang.RuntimePermission modifyThreadGroup)
at Source)
at Source)

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

Joined: Jul 26, 2007
Posts: 10747

"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

Joined: Oct 13, 2005
Posts: 44500
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:
subject: NonRegisteringDriver.connect(
It's not a secret anymore!