search cancel

DU_UPGRADE_TOOLKIT: "Access is denied" upon JRE deployment

book

Article ID: 189347

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

On Windows, upon the first launch of any du_upgrade_toolkit scripts ( uniexp, uniimp, uniupgrade), the following "Acess is denied" error occurs while deploying the Internal JRE included:

D:\Dollar.Universe_Upgrade.Toolkit_windows_6_10_21\bin>uniexp
====================================================
DUAS Command to export DUAS objects into an XML file
====================================================

Internal JRE deployment

Accès refusé.
The deployement of the embedded jre failed, trying with local ones.
The java command used will be java
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap

==================================
Command exits with return code [1]
==================================

 

Cause

Windows System issue, somehow the operation REN fails as the permissions must not be properly set.

Environment

OS: Windows only
Release : 6.x
Component : DOLLAR UNIVERSE
Subcomponent: du_upgrade_toolkit

Resolution

Workaround 1:

The du_upgrade_toolkit will no longer be delivered ( latest version being 6.10.21).
So we propose to modify the script causing the issue.

To do so:


Modify the script du_upgrade_toolkit/bin/unideployjre.bat and add the line
"timeout 3 /nobreak"

before the line
"ren jre6 jre"



Workaround 2:

Use the uniexp / uniimp that are delivered with the UVMS kits for Windows / Linux ( no need to have the UVMS installed to use them).

Solution:

Check with Operating System Support / Admins why the rename folder operation "ren jre6 jre" would fail after having unzipped the file before as the error is returned by the system