Utility .jar files on windows causes a java dump in batch mode
search cancel

Utility .jar files on windows causes a java dump in batch mode

book

Article ID: 220176

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

After upgrading to V12.3.5, running the utilities, like the weekly archive, reorg, or unload, from the .jar file in batch mode, the following error occurs:

20210719/155404.155 - U00033103 Automation Engine - Utilities Version 12.3.5+build.1612524743250 @ DNSNAME
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000073b15092, pid=4564, tid=0x00000000000013e8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x145092]
#
# Core dump written. Default location: C:\Automation.Platform\Utility\bin\hs_err_pid4564.mdmp
#
# An error report file with more information is saved as:
# C:\Automation.Platform\Utility\bin\hs_err_pid4564.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

The last lines in the utility log file are:

20210719/222315.543 - U00003621 Version of Automation Engine database objects: '12.3.4+build.1601882649755'
20210719/222315.543 - U00021200 *********************************************ILM SETTINGS***********************************************
20210719/222315.543 - U00021202 ILM installed                                                                                  N
20210719/222315.543 - U00021203 ********************************************************************************************************
20210719/222315.558 - U00033103 Automation Engine - Utilities Version 12.3.4+build.1601634034192 @ DNSNAMEORIP

This happens with any form of java - Oracle Java, OpenJDK, AdoptOpenJDK

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Cause

The .jar files should not be used to run batch mode utilities, instead use the .exe or .sh files

Resolution

With 12.3, the java .jar files should not be used for batch mode for utilities anymore. 

On windows, the .exe should be used instead, changing a command line command like this:

[Full path to java]\java -jar ucybdbre.jar -B -S0000

to:

ucybdbre.exe -B -S0000