My tomcat server 8.0.53 stops automatically when i'm trying to run application using active directory

0

My first issue:

I'm using jsf 2.2 primefaces with hibernate in NetBeans 8.2. We would like to use active directory for the Hibernate to connect to database which is MS SQL server. For login we used ldap authentication but to connect from server to db we need to use active directory.I configured my tomcat server using the information provided from this link.

The connection URL in hibernate.cfg.xml file looks like

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

When i logon the tomcat server stops automatically it is unable to retrieve data to the server from db.

The above file is working "only if we remove integratedSecurity=true and we provide username and password Manually in the cfg.xml" file as: <property name="hibernate.username">username</property> <property name="hibernate.password">password</property>

there is no data in console logs regarding stopping the service but there created a file outside the log folder saying

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
hibernate
tomcat8
asked on Stack Overflow Dec 11, 2018 by chandra sadan • edited Jan 14, 2019 by chandra sadan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0