OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: akstrom on November 19, 2025, 09:44:11 PM

Title: Trying to get info from the systemlog in a mail, but get errors
Post by: akstrom on November 19, 2025, 09:44:11 PM
Hi ! My co worker is trying to get information from the systemlog when a certain batch is finished, but when connection to our test machine he get s this :

When trying to connect to an ondemand server from a java application I get a fatal memory error in the jvm when calling initialize() on the odserver.
I've tried this with java 8, java 11, java 17, java 21, java 24 and java 25.

The error message is:
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa4d01c940, pid=36144, tid=40480
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.17+10 (17.0.17+10) (build 17.0.17+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.17+10 (17.0.17+10, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0xc940]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows

The hspid_error log starts like this indication that the problem is in com.ibm.edms.od.ArsWWWInterface.apiInitializeNative:

---------------  T H R E A D  ---------------

Current thread (0x0000023cc3c639b0):  JavaThread "main" [_thread_in_vm, id=40480, stack(0x0000005092900000,0x0000005092a00000)]

Stack: [0x0000005092900000,0x0000005092a00000],  sp=0x00000050929fcdd8,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xc940]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.ibm.edms.od.ArsWWWInterface.apiInitializeNative(Ljava/lang/String;Ljava/lang/String;ZLcom/ibm/edms/od/ODServer;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/ibm/edms/od/ArsWWWResult;)J+0
j  com.ibm.edms.od.ArsWWWInterface.initializeNative(Ljava/lang/String;Ljava/lang/String;ZLcom/ibm/edms/od/ODServer;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/ibm/edms/od/ArsWWWResult;)V+29
j  com.ibm.edms.od.ODServer.initialize(Ljava/lang/String;)V+362
j  no.tietoevry.ondemandlogs.od.ConnectOd.logonOd()Lcom/ibm/edms/od/ODServer;+85
j  no.tietoevry.ondemandlogs.services.OndemandService.run()V+4

Has anyone experienced the same problem ?

Anne Strom from Norway community
Title: Re: Trying to get info from the systemlog in a mail, but get errors
Post by: akstrom on November 21, 2025, 09:16:58 AM
Found the error, he had added the wrong version (added 10.5.0.5 and we run 10.5.0.8)
Title: Re: Trying to get info from the systemlog in a mail, but get errors
Post by: Justin Derrick on November 21, 2025, 11:12:42 PM
Just throwing this out there...  It may be far easier to just use arslog to process log messages on the CMOD server directly, and send notifications via eMail or to an enterprise monitoring solution.

-JD.