当我尝试使用活动目录运行应用程序时,我的tomcat服务器8.0.53自动停止

时间:2018-12-11 08:05:53

标签: hibernate tomcat8

我的第一个问题:

我在NetBeans 8.2中将jsf 2.2 Primeface与Hibernate一起使用。我们希望使用活动目录将Hibernate连接到MS SQL Server数据库。登录时,我们使用ldap身份验证,但要从服务器连接到数据库,我们需要使用活动目录。我使用this链接中提供的信息配置了tomcat服务器。

hibernate.cfg.xml文件中的连接URL如下

<property name="hibernate.connection.url">jdbc:sqlserver://db:url;databaseName=abcd;pooling=true;integratedSecurity=true</property>

i登录tomcat服务器自动停止时,它无法从数据库检索数据到服务器。

上述文件“仅在我们删除 integratedSecurity = true 并且我们在cfg.xml中手动提供用户名和密码时起作用”。档案为: <property name="hibernate.username">username</property> <property name="hibernate.password">password</property>

控制台日志中没有有关停止服务的数据,但在日志文件夹外部创建了一个文件,提示

A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005f4af773, pid=6424, tid=0x0000000000001e64
JRE version: Java(TM) SE Runtime Environment (8.0_191-b12) (build 1.8.0_191-b12)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode windows-amd64 compressed oops)
Problematic frame:
V  [jvm.dll+0x13f773]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows<br/>
If you would like to submit a bug report, please visit:<br/>
http://bugreport.java.com/bugreport/crash.jsp

0 个答案:

没有答案