wood burning stoves 2.0*
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: 1
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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error trying to connect Mysql Database
 
Similar Threads
issues in configuring application on Websphere app server 5.x
Problem using Apache CXF WebService client
WebSphere Datasource JNDI
DB initialization failure error in application
Error converting data type varchar to int.