Gen Linux CSE Java Proxy generation fails with CSEXI0099E
search cancel

Gen Linux CSE Java Proxy generation fails with CSEXI0099E

book

Article ID: 389742

calendar_today

Updated On:

Products

Gen

Issue/Introduction

Gen 8.6 Linux/Oracle CSE Java Proxy generation fails with:
CSEXI0099E Generation has failed




CSE Error Messages > CSEXI0099

Checking iefmd.log file shows the proxy generator encypyg is not getting invoked with its full PATH:

ERROR:  Problem invoking 'encypyg "A6138323 CSE" ENCYADMN "DBNAME=DBCSE  DBUSER=#####@######  DBPSWD=##### " server_name/2500 CSE_ENV ENCY "/home/gen86/codegen/proxy/java" JVM JAVAPROXY2 IIS * "/opt/Gen/CSE/cse/logs/ENCYADMN/genstat.ctl" N N 57031' executable.
Path or portion of path doesn't exist.

Environment

Gen 8.6 Linux/Oracle  CSE

Cause

There is a problem with the way the encypyg is being invoked and it should be prepended with $IEFCSGEN (default value /opt/Gen/CSE/cse/bin).
All other generators correctly have $IEFCSGEN prepended.
Engineering will fix this problem in a future CSE update.

Resolution

Normally if starting the CSE manually, the directory /opt/Gen/CSE/cse/bin is already in the PATH from invoking script /opt/Gen/CSE/cse/cfg/cse.sh to up the environment and this problem would not be exposed.

In this scenario the iefmd was being automatically started as a service at system startup without /opt/Gen/CSE/cse/bin in the PATH environment variable which exposed the problem.
To resolve the problem the steps for creating the iefmd service in article Gen 8.6 Linux CSE automatic Oracle DB and iefmd startup have been updated to add the PATH environment variable (containing /opt/Gen/CSE/cse/bin) to the file /etc/sysconfig/iefmd.