I'm having an issue getting the Java Transformer Stage to work. At this point, I'm just using the sample UpperCase class and am able to run it successfully in a server job.
When running a parallel job with a Java Transformer, the following error is returned and the job is aborted:
Java_Transformer_10,0: Error: TJClient::initialize: unable to create Java Virtual Machine; classpath = E:/IBM/InformationServer/Server/DSEngine/java/lib/tr4j.jar
I have tried 2 solutions found in the 8.0.1 release notes which involve setting DSHOME and DATASTAGE_JRE, or setting DATASTAGE_JVM in addition. I have also created a symbolic link from DSHOME/java/jre to the ASBNode jre folder which fixed some errors.
Anyone have experience getting Java Transformer to work on Windows?
Any help would be appreciated. -Stephen
Java Transformer Parallel Config
Moderators: chulett, rschirm, roy
Got it working but the problem was quite odd. At one point I had tr4j.jar as my classpath within the Java Transformer, but I had since changed it and it was not referenced anywhere I could see. However, when I deleted the Transformer Stage and added a new one... no more error :D I guess there was metadata hiding behind the stage.
Anyways, thanks for pointing me at the classpath as that was where I found the problem.
-Stephen
Anyways, thanks for pointing me at the classpath as that was where I found the problem.
-Stephen