JVM issue in Web services client stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pradeepkumar_b@thbs.com
Participant
Posts: 28
Joined: Thu Mar 13, 2008 11:24 pm

JVM issue in Web services client stage

Post by pradeepkumar_b@thbs.com »

Hi,

I am using web service client to import a web service. I am able to do it, and also able to copile, but while running i am getting an error saying "unable to create Java Virtual Machine"


Web_Services_Client_0,0: Fatal Error: Fatal: TJClient::initialize: unable to create Java Virtual Machine; classpath = C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/wsclient.jar
C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/axis.jar
C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/commons-discovery.jar
C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/commons-logging.jar
C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/jaxrpc.jar
C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/saaj.jar
C:\IBM\InformationServer\Server\DSEngine\java\lib\\java/lib/wsdl4j.jar
ASCL-DSJNI-00011`:`JNIWrapper: load library failed: directory C:\IBM\InformationServer\Server\DSEngine\java\lib\\$ASBNode/apps/jre\C:\IBM\InformationServer\_jvm\jre\bin, name jvm
The specified module could not be found.

Seeking your help please...
thanx.
Last edited by pradeepkumar_b@thbs.com on Thu Oct 23, 2008 7:08 am, edited 1 time in total.
Pradeep
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Using "urgent" or "immediate" in these forums almost always has the opposite effect.
pradeepkumar_b@thbs.com
Participant
Posts: 28
Joined: Thu Mar 13, 2008 11:24 pm

Post by pradeepkumar_b@thbs.com »

Can I get help regarding this..please...
Pradeep
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Did you do a search on "unable to create Java Virtual Machine"? This problem has been addressed many times.
pradeepkumar_b@thbs.com
Participant
Posts: 28
Joined: Thu Mar 13, 2008 11:24 pm

Post by pradeepkumar_b@thbs.com »

I could resolve this issue,

Set the DSHOME, DATASTAGE_JRE and DATASTAGE_JVM environment variables as follows (adjust appropriately per install):
For Windows operating systems:

1. Set DATASTAGE_JRE

DATASTAGE_JRE=$ASBNode/apps/jre

2. Set DSHOME

DSHOME=C:\IBM\InformationServer\Server\DSEngine

3. Modify LIBPATH inside dsenv

LIBPATH=$ASBHOME/jre/bin/sovvm before $ASBNode/apps/jre/bin

4. Do not set DATASTAGE_JVM.

For Linux, Solaris, and UNIX operating systems:

1. Set DATASTAGE_JRE

DATASTAGE_JRE=$ASBNode/apps

2. Set DSHOME

DSHOME=/opt/IBM/InformationServer/Server/DSEngine

3. Set DATASTAGE_JVM

DATASTAGE_JVM=jre/bin/j9vm

For more info

http://publib.boulder.ibm.com/infocente ... dskpw.html
Pradeep
Post Reply