[英]Java application deploying on Linux platform
我正在尝试在Linux平台上部署项目War文件,它给了我以下错误。
com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionId:1207f4ed-32d0-44e8-ae1c-308b157e9903
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Could not open connection
服务器详细信息
Server - Tomcat v8.5
属性文件中的配置。
jdbc.url = jdbc:sqlserver://DC01ODSDBDV03;databaseName=ExecDB_Stg;integratedSecurity=true;
hibernate.dialect = org.hibernate.dialect.SQLServer2008Dialect
hibernate.show_sql = true
hibernate.format_sql = true
我们尝试添加以下javakerberos属性,但是没有起作用。
authenticationScheme=JavaKerberos
请帮忙。
为了节省您很多麻烦,请尝试说服sql管理员允许您进行密码验证。
否则,您需要在AD服务帐户下运行Tomcat,如果您知道该怎么做,这并不困难。
我写了一个有关SPNEGO身份验证的博客。 您不需要所有步骤,Tomcat就可以作为AD服务运行就足够了。 (直到配置krb5.ini文件)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.