s signer information does not match signer information of other classes in the same

Source: Internet
Author: User
Tags wrapper

When you use Proxool to connect to SQL Server 2012, there is always the following error, which was originally thought to be a proxool configuration file problem. Take a closer look at the anomaly, the original is Sqljdbc4.jar in mischief

The solution is:

Open Sqljdbc4.jar to delete the Meta-info file MANIFEST.MF msftsign in the directory. Rsa,msftsig. SF can


The exception information is as follows:

Java.lang.ExceptionInInitializerError at Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.logicalcobwebs.cglib.proxy.Enhancer.setCallbacksHelper (enhancer.java:616)
At Org.logicalcobwebs.cglib.proxy.Enhancer.setThreadCallbacks (enhancer.java:609)
At Org.logicalcobwebs.cglib.proxy.Enhancer.createUsingReflection (enhancer.java:631)
At Org.logicalcobwebs.cglib.proxy.Enhancer.firstInstance (enhancer.java:538)
At Org.logicalcobwebs.cglib.core.AbstractClassGenerator.create (abstractclassgenerator.java:225)
At Org.logicalcobwebs.cglib.proxy.Enhancer.createHelper (enhancer.java:377)
At Org.logicalcobwebs.cglib.proxy.Enhancer.create (enhancer.java:285)
At Org.logicalcobwebs.proxool.ProxyFactory.getProxy (proxyfactory.java:116)
At Org.logicalcobwebs.proxool.ProxyFactory.getWrappedConnection (proxyfactory.java:85)
At Org.logicalcobwebs.proxool.ConnectionPool.getConnection (connectionpool.java:261)
At Org.logicalcobwebs.proxool.ProxoolDriver.connect (proxooldriver.java:89)
At Java.sql.DriverManager.getConnection (Unknown Source)
At Java.sql.DriverManager.getConnection (Unknown Source)
At Portal.petrochina.eas.dbconnection.SQLServerAccountConnectionPool.getInstance ( SQLSERVERACCOUNTCONNECTIONPOOL.JAVA:60)
At Portal.petrochina.eas.service.UserInfoService.authenticateInfo (userinfoservice.java:42)
At Test. Accountuserauthenticate.test (accountuserauthenticate.java:26)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.junit.runners.model.frameworkmethod$1.runreflectivecall (frameworkmethod.java:47)
At Org.junit.internal.runners.model.ReflectiveCallable.run (reflectivecallable.java:12)
At org.junit.runners.model.FrameworkMethod.invokeExplosively (frameworkmethod.java:44)
At Org.junit.internal.runners.statements.InvokeMethod.evaluate (invokemethod.java:17)
At Org.junit.runners.ParentRunner.runLeaf (parentrunner.java:271)
At Org.junit.runners.BlockJUnit4ClassRunner.runChild (blockjunit4classrunner.java:70)
At Org.junit.runners.BlockJUnit4ClassRunner.runChild (blockjunit4classrunner.java:50)
At Org.junit.runners.parentrunner$3.run (parentrunner.java:238)
At Org.junit.runners.parentrunner$1.schedule (parentrunner.java:63)
At Org.junit.runners.ParentRunner.runChildren (parentrunner.java:236)
At org.junit.runners.parentrunner.access$000 (parentrunner.java:53)
At Org.junit.runners.parentrunner$2.evaluate (parentrunner.java:229)
At Org.junit.runners.ParentRunner.run (parentrunner.java:309)
At Org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run (junit4testreference.java:50)
At Org.eclipse.jdt.internal.junit.runner.TestExecution.run (testexecution.java:38)
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (remotetestrunner.java:459)
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (remotetestrunner.java:675)
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (remotetestrunner.java:382)
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (remotetestrunner.java:192)
caused by:org.logicalcobwebs.cglib.core.codegenerationexception:java.lang.reflect.invocationtargetexception-- >null
At Org.logicalcobwebs.cglib.core.AbstractClassGenerator.create (abstractclassgenerator.java:237)
At Org.logicalcobwebs.cglib.reflect.fastclass$generator.create (fastclass.java:64)
At Org.logicalcobwebs.cglib.proxy.MethodProxy.helper (methodproxy.java:81)
At Org.logicalcobwebs.cglib.proxy.MethodProxy.create (methodproxy.java:46)
At $java. sql.wrapper$ $EnhancerByProxool $ $c 3684300. Cglib$statichook1 (<generated>)
At $java. sql.wrapper$ $EnhancerByProxool $ $c 3684300.<clinit> (<generated>)
... More
caused by:java.lang.reflect.InvocationTargetException
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.logicalcobwebs.cglib.core.ReflectUtils.defineClass (reflectutils.java:384)
At Org.logicalcobwebs.cglib.core.AbstractClassGenerator.create (abstractclassgenerator.java:219)
... More
caused By:java.lang.SecurityException:class "com.microsoft.sqlserver.jdbc.isqlserverconnection$$ Fastclassbyproxool$$2b8cf6af "' s signer information does not match signer information of other classes in the same
At Java.lang.ClassLoader.checkCerts (Unknown Source)
At Java.lang.ClassLoader.preDefineClass (Unknown Source)
At Java.lang.ClassLoader.defineClass (Unknown Source)
... More

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.