Trouble using Web Service as Source / Target in Datastage

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
meenainds
Participant
Posts: 1
Joined: Wed Mar 14, 2012 1:14 am
Location: Chennai

Trouble using Web Service as Source / Target in Datastage

Post by meenainds »

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,
Meena
Mindtree Ltd.,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Moved this to the service related forum.
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

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
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

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.
Post Reply