开发者

SQLNestedException Exception - Native SSPI library not loaded

开发者 https://www.devze.com 2023-03-01 05:25 出处:网络
I am getting the exception below in my server logs.What does it mean and how do i fix it? org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (I/O Error: SSO Failed: N

I am getting the exception below in my server logs. What does it mean and how do i fix it?

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system prope开发者_如何学Pythonrty.)


Please add more detail in your question.

This seems to be a common jTDS error that occurs when connecting to a SQL server using windows authentication. If that is the case try adding x86/SSO/ntlm.dll (or the equivalent variant for your server architecture) from the jTDS distribution into the java.library.path by using

-Djava.library.path=path/to/dll on jvm startup

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号