aspose file tools*
The moose likes Websphere and the fly likes Error trying to connect Mysql Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error trying to connect Mysql Database" Watch "Error trying to connect Mysql Database" New topic
Author

Error trying to connect Mysql Database

Savio Barros
Greenhorn

Joined: Oct 24, 2007
Posts: 2
Hi,
I created a JDBC connection, but when I hit [TEST CONNECTION] button, I get the error below. Can you guys help me out?

Many thanks

Savio Barros

[7/27/13 10:17:10:691 BRT] 00000020 SystemErr R java.sql.SQLException: java.lang.IllegalAccessError: Class com/mysql/jdbc/NonRegisteringDriver illegally accessing "protected" member of class com/mysql/jdbc/ConnectionImpl
[7/27/13 10:17:10:691 BRT] 00000020 SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:499)
[7/27/13 10:17:10:691 BRT] 00000020 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[7/27/13 10:17:10:691 BRT] 00000020 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[7/27/13 10:17:10:691 BRT] 00000020 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[7/27/13 10:17:10:691 BRT] 00000020 SystemErr R at java.lang.reflect.Method.invoke(Method.java:611)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Error trying to connect Mysql Database