I am getting error in running a job with Java client stage.Below are the Error Message:-
Code: Select all
guid,0: Fatal Error: Fatal: TJClient::initialize: unable to create Java Virtual Machine; classpath = /opt/IBM/InformationServer/Server/DSEngine/java/lib/tr4j.jar
ASCL-DSJNI-00011`:`JNIWrapper: load library failed: directory /opt/IBM/InformationServer/Server/DSEngine/../../ASBNode/apps/jre//opt/IBM/InformationServer/ASBNode/apps/jre/bin/j9vm, name jvm
0509-022 Cannot load module /opt/IBM/InformationServer/Server/DSEngine/../../ASBNode/apps/jre//opt/IBM/InformationServer/ASBNode/apps/jre/bin/j9vm/libjvm.a.
0509-026 System error: A file or directory in the path name does not exist.
We had added DATASTAGE_JRE and DATASTAGE_JVM variables in .profile and job was working fine.
export DATASTAGE_JRE=/opt/IBM/InformationServer/ASBNode/apps/jre
export DATASTAGE_JVM=$DATASTAGE_JRE/bin/j9vm
I have refered below post from mandyli
viewtopic.php?p=434665
As suggested by mandyli post, we commented these two variables in .profile since it is not required in datastage 8.7 and ran the job,but still we are getting same error message.
Any suggestion will be appriciated.
Thanks
Prasoon