Hello All,
I am trying to create a Datastage Parallel Job with Web Service as source and Sequential file as a target.
The job is compiling properly but it is failing with the error
WebServices_Server_Job_Test_As_Source..Web_Services_Client_8:
TJClient::initialize: unable to create Java Virtual Machine; classpath = C:\IBM\InformationServer\Server\DSEngine\java/lib/wsclient.jar
C:\IBM\InformationServer\Server\DSEngine\java/lib/axis.jar
C:\IBM\InformationServer\Server\DSEngine\java/lib/commons-discovery.jar
C:\IBM\InformationServer\Server\DSEngine\java/lib/commons-logging.jar
C:\IBM\InformationServer\Server\DSEngine\java/lib/jaxrpc.jar
C:\IBM\InformationServer\Server\DSEngine\java/lib/saaj.jar
C:\IBM\InformationServer\Server\DSEngine\java/lib/wsdl4j.jar
ASCL-DSJNI-00011`:`JNIWrapper: load library failed: directory C:\IBM\InformationServer\Server\DSEngine\../../ASBNode/apps/jre\jre\bin\j9vm, name jvm
The specified module could not be found.
I had set the following environment variables from the Datastage Administrator and control panel --> System --> Environment Variables
CLASSPATH = C:\IBM\InformationServer\Server\DSEngine\java\lib\
DATASTAGE_JRE= $ASBNode/apps/jre
DATASTAGE_JVM=jre\bin\j9vm (On removing the JVM Parameter also, the job is unable to succeed)
DSHOME=C:\IBM\InformationServer\Server\DSEngine
LIBPATH=$ASBHOME/jre/bin/sovvm before $ASBNode/apps/jre/bin
Can someone help me on clearing out this error
Many Thanks,
Trouble using Web Service as Source / Target in Datastage
Trouble using Web Service as Source / Target in Datastage
Meena
Mindtree Ltd.,
Mindtree Ltd.,
I'm on unix so probably have slight differences, but I would double check that each path in each environment variable you listed to make sure it exists. For example, in my LIBPATH, I do NOT have $ASBHOME/jre/bin/sovvm (no such file and no such path) but I DO have a $ASBNode/apps/jre/bin path.
Choose a job you love, and you will never have to work a day in your life. - Confucius
You are in Windows platform; so set the DATASTAGE_JRE=C:\IBM\InformationServer\ASBNode\apps and the DATASTAGE_JVM=C:IBM\InformationServer\ASBNode\apps\jre\bin\j9vm.
As you said that you put DATASTAGE_JRE=$ASBNode/apps/jre in your system environment variable. In Windows env., it doesn't know what's $ASBNode.
As you said that you put DATASTAGE_JRE=$ASBNode/apps/jre in your system environment variable. In Windows env., it doesn't know what's $ASBNode.