I am getting following error while accessing db with Windows Authentication. Changes done in program - Added integratedSecurity=true in connection url.
Using following versions -
Jdk - 1.8
JVM - 64bit
Windows 10
sqljdbc4-2.0
tomcat 8(tomcat is added through zip file so it is not showing up in services.msc)
I was getting following warning and then sql exception. Warning:failed to load sqljdbc_auth.dll file SQLServerException : This driver is not configured for integrated authentication.
After that, I downloaded the dll file for 4.2(tried other versions as well, 6.0, 6.2 and 7.0) and placed it in all possible places like -
/java/jdk1.8.0/jre/bin
/java/jdk1.8.0/jre/lib
/java/jdk1.8.0/bin
/java/jdk1.8.0/lib
C://Windows/System32
C://Windows/SysWow64
/tomcat/apache tomcat/bin
/tomcat/apache tomcat/lib
After all this process, now I am getting following error in the program -
A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007143f213, pid=17620, tid=0x0000000000003440 JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode windows-amd64 compressed oops) Problematic frame: V [jvm.dll+0x13f213] Failed to write core dump. Minidumps are not enabled by default on client versions of Windows An error report file with more information is saved as: C:\Users\truptis4\Downloads\eclipse-jee-mars-2-win32-x86_64\eclipse\hs_err_pid17620.log If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp
I tried small poc which is not using any server,it only takes connection url and try to connect to db with windows authentication, still I am getting the same error.
User contributions licensed under CC BY-SA 3.0