[英]Java application deploying on Linux platform
I am trying to deploy project war file on Linux platform and its giving me following error. 我正在尝试在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 details 服务器详细信息
Server - Tomcat v8.5
configuration in the property file. 属性文件中的配置。
jdbc.url = jdbc:sqlserver://DC01ODSDBDV03;databaseName=ExecDB_Stg;integratedSecurity=true;
hibernate.dialect = org.hibernate.dialect.SQLServer2008Dialect
hibernate.show_sql = true
hibernate.format_sql = true
We have tried adding the following javakerberos property but it didnt work. 我们尝试添加以下javakerberos属性,但是没有起作用。
authenticationScheme=JavaKerberos
Please help. 请帮忙。
To save you a lot of pain really try to convince sql admins to allow you the password authentication. 为了节省您很多麻烦,请尝试说服sql管理员允许您进行密码验证。
Otherwise you need to run Tomcat under an AD service account, which is not difficult if you kow how to do that. 否则,您需要在AD服务帐户下运行Tomcat,如果您知道该怎么做,这并不困难。
I wrote a blog about SPNEGO authentication . 我写了一个有关SPNEGO身份验证的博客。 you do not need all the steps, it is enough that Tomcat will run as AD service.
您不需要所有步骤,Tomcat就可以作为AD服务运行就足够了。 (until configuring krb5.ini file)
(直到配置krb5.ini文件)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.