prunsrv.exe crashes on JBoss EAP service shutdown due to Windows shutdown with Exception code: 0xc0000005
Issue
- If Windows Server 2016 is shut down with running 
JBossEAP7service, the following Error message is recorded in the Event Viewer. 
Faulting application name: prunsrv.exe, version: 1.0.15.0, time stamp: 0x587cca1e
Faulting module name: ntdll.dll, version: 10.0.14393.5427, time stamp: 0x633688f6
Exception code: 0xc0000005
Fault offset: 0x0000000000046144
Faulting process id: 0x1374
Faulting application start time: 0x01d9710bb6b75aed
Faulting application path: C:\opt\jbcs-jsvc-1.0\sbin\prunsrv.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 83c18068-1b41-4644-bfe0-0f46b3d1a2f3
Faulting package full name:
Faulting package-relative application ID:
- This error does not occur if JBoss is stopped by 
net stop JBossEAP7command without OS shutdown. prunsrv.execrashes, but no actual issue is found. JBoss EAP shutdown has been completed successfully without ERROR messages inserver.log.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
 
 - jbcs-jsvc (Commons Daemon)
- 1.0.15
 - 1.0.15.1
 - 1.0.15.2
 
 - Windows Server 2016
 
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.