9 Replies Latest reply on Oct 26, 2016 6:36 PM by Debashish Saha

    Sql server connection using Windows authentication is not working

    Debashish Saha Newbie

      I am following this https://access.redhat.com/solutions/1134453.

      The problem statement is perfectly matching.

      I followed each and every steps mentioned there.

      there it was flagged as verified.But I am getting the following stack.

       

      com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionId:22f7c000-f4c7-4917-a08d-1fc408c96fab

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1667)

        at com.microsoft.sqlserver.jdbc.AuthenticationJNI.<init>(AuthenticationJNI.java:60)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:2229)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(SQLServerConnection.java:41)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:2220)

        at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1326)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)

        at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)

        at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:328)

        at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)

        at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)

        at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)

        at org.eclipse.datatools.enablement.msft.internal.sqlserver.connection.JDBCSQLServerConnectionFactory.createConnection(JDBCSQLServerConnectionFactory.java:27)

        at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)

        at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)

        at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)

        at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)

        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\Windows\System32\sqljdbc_auth.dll already loaded in another classloader

        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1907)

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)

        at java.lang.Runtime.loadLibrary0(Runtime.java:870)

        at java.lang.System.loadLibrary(System.java:1122)

        at com.microsoft.sqlserver.jdbc.AuthenticationJNI.<clinit>(AuthenticationJNI.java:35)

        ... 19 more

       

      Thank you in advance.