- Very frequent MethodServer crashes, many hs_err_pid files created
- Windchill is starting but after few minutes MethodServer processes are crashing
- MethodServer logs may contain:
WARNING: Unable to start async because the following classes in the processing chain do not support async [wt.httpgw.filter.WTContextBeanFilter,org.springframework.web.servlet.DispatcherServlet,wt.servlet.ServletRequestMonitorFilter,com.ptc.core.ui.validation.URLValidationFilter,wt.licenseusage.licensing.LicenseFilter,wt.servlet.RequestInterrupter,wt.servlet.CompressionFilter]
java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations.
- Lot of files like hs_err_pidXXX.log created in Windchill/opt/ntService
- hs_err_pid contains info as below:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000001c608d8b4a7, pid=6604, tid=12584
#
# JRE version: OpenJDK Runtime Environment Corretto-11.0.17.8.1 (11.0.17+8) (build 11.0.17+8-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.17.8.1 (11.0.17+8-LTS, mixed mode, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# J 1841 c2 java.util.LinkedHashMap.get(Ljava/lang/Object;)Ljava/lang/Object; java.base@11.0.17 (33 bytes) @ 0x000001c608d8b4a7 [0x000001c608d8b460+0x0000000000000047]
- Another example hs_err_pid file shows SentinelJava64.dll in the current thread:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (./src/hotspot/share/runtime/safepoint.cpp:894), pid=9976, tid=4088
# fatal error: Deadlock in safepoint code. Should have called back to the VM before blocking.
#
# JRE version: OpenJDK Runtime Environment Corretto-11.0.10.9.1 (11.0.10+9) (build 11.0.10+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.10.9.1 (11.0.10+9-LTS, mixed mode, compressed oops, g1 gc, windows-amd64)
# Core dump will be written. Default location: E:\ptc\Windchill_12.1\Windchill\hs_err_pid9976.mdmp
#
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-11/issues/
#
--------------- T H R E A D ---------------
Current thread (0x000002266d6d9000): JavaThread "ajp-nio-127.0.0.1-8010-exec-2" daemon [_thread_in_native_trans, id=4088, stack(0x000000920e100000,0x000000920e200000)]
Stack: [0x000000920e100000,0x000000920e200000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x5f402a]
V [jvm.dll+0x77db5e]
V [jvm.dll+0x77f22f]
V [jvm.dll+0x77f8a7]
V [jvm.dll+0x246804]
V [jvm.dll+0x658e4b]
V [jvm.dll+0xffdc4]
V [jvm.dll+0x73b7ba]
V [jvm.dll+0x137bc8]
V [jvm.dll+0x3b4914]
C [SentinelJava64.dll+0x49e5]
- Method Servers keep stopping and there is warning about cache size (StandardFVService$RootFolderCache) in log file