Job design in DS v8.7:
Web_Services_Client-------->>peek
DataStage job is aborting due to Below error:
Web_Services_Client_0,0: Fatal Error: Fatal: TJClient::initialize: unable to create Java Virtual Machine; classpath = /opt/IBM/InformationServer/Server/DSEngine/java/lib/wsclient.jar
/opt/IBM/InformationServer/Server/DSEngine/java/lib/axis.jar
/opt/IBM/InformationServer/Server/DSEngine/java/lib/commons-discovery.jar
/opt/IBM/InformationServer/Server/DSEngine/java/lib/commons-logging.jar
/opt/IBM/InformationServer/Server/DSEngine/java/lib/jaxrpc.jar
/opt/IBM/InformationServer/Server/DSEngine/java/lib/saaj.jar
/opt/IBM/InformationServer/Server/DSEngine/java/lib/wsdl4j.jar [dscapiop.C:2169]
Pls help me to resolve the issue
Thanks in advance
Thiru
Unable to create Java Virtual Machine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Mon Aug 08, 2011 3:20 am
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,
What is the setting of your .profile for JVM?
If you are adding add DATASTAGE_JRE and DATASTAGE_JVM in the project (DataStage Administrator) level and job level or .profile:-
There is no need to add JRE/JVM variables to the .profile or DataStage administrator. As per new IIS 8.7 the DataStage knows where to find the JRE/JVM files at their default location in the InformationServer directory tree. It will look for them in the default location as long as those environment variables are undefined.
What is the setting of your .profile for JVM?
If you are adding add DATASTAGE_JRE and DATASTAGE_JVM in the project (DataStage Administrator) level and job level or .profile:-
There is no need to add JRE/JVM variables to the .profile or DataStage administrator. As per new IIS 8.7 the DataStage knows where to find the JRE/JVM files at their default location in the InformationServer directory tree. It will look for them in the default location as long as those environment variables are undefined.
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Participant
- Posts: 19
- Joined: Mon Aug 08, 2011 3:20 am
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Ok.
Can you please tell me your .profile settings or you make sure below settings are there in .profile.
1.Add java client path to the path variable in .profile of dsadm user.
2.Add Datastage java classpath to .profile
3.Compile your code using javac command.It will generate .class file.
4.Use that class file name (without .class extn.) in Java Client Stage.
Can you please tell me your .profile settings or you make sure below settings are there in .profile.
1.Add java client path to the path variable in .profile of dsadm user.
2.Add Datastage java classpath to .profile
3.Compile your code using javac command.It will generate .class file.
4.Use that class file name (without .class extn.) in Java Client Stage.
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Re: Unable to create Java Virtual Machine claspath
Addthirupathireddy.gankidi wrote:Fatal: TJClient::initialize: unable to create Java Virtual Machine; classpath = /opt/IBM/InformationServer/Server/DSEngine/java/lib/wsclient.jar
Code: Select all
/opt/IBM/InformationServer/Server/DSEngine/java/lib/tr4j.jar
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/