java.lang.SecurityException: class "com.microsoft.sqlserver.jdbc.SQLServerConnection"'s signer information does not match signer information of other classes in the same package

java.lang.SecurityException: class "com.microsoft.sqlserver.jdbc.SQLServerConnection"'s signer information does not match signer information of other classes in the same package

  • Comments 4

We have heard from customers using WebSphere 6.0 and trying to use the v1.2 JDBC driver that they are encountering the above exception.  This problem is primarily due to a name mismatch between our JDBC driver and another vendor's jdbc driver.  While the v1.2 JDBC driver is supported by IBM WebSphere 6.1, it is not officially supported on WebSphere 6.0.  We recommend customers to upgrade to WebSphere 6.1 or later when possible.  If you are unable to upgrade to WebSphere 6.1 or later, one potential workaround is to install the v1.2 JDBC driver in a separate directory and configuring WebSphere to look for the driver in the new directory.  We have seen this resolves the issue in a number of cases.

Jimmy Wu
SQL Server JDBC Team

Leave a Comment
  • Please add 6 and 2 and type the answer here:
  • Post
  • I am not able to get connect to the sqlserver 2000 database....

    i even set the path and also installed the sql driver ver:2.0

    plz help me out.....

  • Hi 'anup',

    You mentioned that you installed the sql driver ver:2.0.  Are you referring to the SQL Server 2005 JDBC driver v1.2?  At the time of your posting, we have not released our v2.0 beta yet.

    For connectivity questions, I recommend that you post your question on the SQL Server Data Access forum (http://forums.microsoft.com/msdn/ShowForum.aspx?siteid=1&ForumID=87) where you'll get a wider set of people helping out.  Remember to include any error messages you are getting and your configuration, such as client side JVM and whether SQL Server is running as default instance or named instance, TCP enabled, etc.

    Jimmy

  • Hi,

    Is there any official document of IBM or MS to state that WebShpere 6.0 does not support JDBC 1.2? We met the same problem and need some related document.

    Thanks a lot.

    Neil

  • SQL server 2005

    JDBC 1.2

    java.lang.SecurityException: class "com.microsoft.sqlserver.jdbc.TDSCommand"'s signer information does not match signer information of other classes in the same package

           at java.lang.ClassLoader.checkCerts(ClassLoader.java(Compiled Code))

           at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))

           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))

           at java.net.URLClassLoader.defineClass(URLClassLoader.java:475)

           at java.net.URLClassLoader.access$500(URLClassLoader.java(Inlined Compiled Code))

           at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))

           at java.security.AccessController.doPrivileged1(Native Method)

           at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

           at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))

           at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:90)

           at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))

           at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))

           at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnectionInternal(Unknown Source)

           at com.microsoft.sqlserver.jdbc.SQLServerPooledConnection.createNewConnection(Unknown Source)

    Any resolution for this?

Page 1 of 1 (4 items)