ALM Service won’t start – error in Wrapper.log “Error occurred during initialization of VM”
Question ID: 109258
1
0

We have ALM12.6 and over the weekend, the server took on a Windows Update and Now, the service will not Start.

We installed our own Java 1.8 as part of ALM install, and it does not look like that was updated (still same build # as we installed.)

Checked the Wrapper Log and see it trying multiple times and giving up:

STATUS | wrapper | 2020/01/27 14:21:48.934 | Launching a JVM…
INFO | jvm 1 | 2020/01/27 14:21:49.201 | -XX:CompressedClassSpaceSize=528482304 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:InitialHeapSize=4294967296 -XX:MaxHeapSize=4294967296 -XX:MaxMetaspaceSize=536870912 -XX:MaxTenuringThreshold=6 -XX:NewRatio=2 -XX:OldPLABSize=16 -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:-UseLargePagesIndividualAllocation -XX:+UseParNewGC
INFO | jvm 1 | 2020/01/27 14:21:49.310 | Error occurred during initialization of VM
INFO | jvm 1 | 2020/01/27 14:21:49.310 | java/lang/NoClassDefFoundError: java/lang/Object
ERROR | wrapper | 2020/01/27 14:21:49.310 | JVM exited while loading the application.

Marked as spam
Posted by (Questions: 91, Answers: 5)
Asked on January 31, 2020 7:11 pm
514 views
Answers (1)
1
Private answer

We have seen issues like this when JAVA updates itself and the JAVA Home / MICRO_FOCUS_JAVA_PATH paths change, but you say you checked this.

It could also be related to having multiple "java.exe" files found in your collective PATH statement paths, in which case you could try to remove the extraneous ones.

Another approach would be to UNINSTALL your JAVA 1.8 (I assume from Oracle) and instead install Open JDK 8 suggest this one:

https://adoptopenjdk.net/releases.html

Install it and point MICRO_FOCUS_JAVA_PATH to the newly installed JAVA (For example: "C:Program FilesAdoptOpenJDKjdk-8.0.242.08-hotspot").  Start the service again and it should work.

Marked as spam
Posted by (Questions: 4, Answers: 509)
Answered on January 31, 2020 7:36 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top