Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Kerberos Connect with jdbc

avatar
Frequent Visitor

When I try to connect with mssql and kerberos I get the message "java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.sqlserver.jdbc.KerbAuthentication"

When I'm trying to set false credentials I get another message so the kerberos itself seems to work.

I set the driver location, classname and in the connectionstring itself I use authenticationScheme=JavaKerberos. Jaas Config and kerberos config are also there. How I can get more Information for my problem? What I am missing?

3 REPLIES 3

avatar
Community Manager

Welcome to the community @Fuz. While you wait for a more knowledgable person to respond, can you provide the driver version ?

 

Keep the questions coming

avatar
Frequent Visitor
I tried it with mssql-jdbc-12.4.2.jre11.jar and mssql-jdbc-12.6.1.jre11.jar with no difference. I also added the path /enu/jars of the package to the path. I also tried to reference it in the db controller service as folder and direct as file. It can’t be found somehow.

avatar
Visitor

Hello,

did you ever find a solution? I am running into the same error. Even tried mssql-12.2.0 and mssql-8.2.2.