Sunday, August 24, 2014

Editing sqljdbc4.jar or sqljdbc.jar file

Editing sqljdbc.jar OR sqljdbc4.jar file

Solution of Error:

java.lang.SecurityException: invalid SHA1 signature file digest for com/microsoft/sqlserver/jdbc/InputStreamGetterArgs.class
at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:453) at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:453)
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:24

 First of all select "sqljdbc4.jar" file, right click it and select "Extract to sqljdbc4\"
Inside 'sqljdbc4' folder you will find three files. Go inside 'Meta-inf' folder.
Delete all files and folder except 'MANIFEST.MF'
















Open  'MANIFEST.MF' file and remove all lines except first line.


Save the file and compress folder 'com', 'META-INF', and 'microsoft'.

Finally, change the name of compressed folder into 'sqljdbc4.jar'. Import this jar file to your project library.

14 comments:

  1. thanks for this excellent article! Just the scripts I've been looking for. a quick question:
    how did you create those beautiful charts/graph in your post? many thanks!!!

    Java training in Chennai | Java training institute in Chennai | Java course in Chennai

    ReplyDelete
  2. Very thankful to you for your neat descrition about sql in step by steps.
    motorola service center near me

    ReplyDelete
  3. Best Ways to Win at Online Baccarat - Worrione
    Online Baccarat is one of the most popular casinos 샌즈카지노 in the world and one 바카라 사이트 of the most popular ways 바카라 to win at online casino is to try and play. It's an online

    ReplyDelete