Phil, Most likely the Java you are using is 32-bit. When running the 64-bit version of STAF, you need to use a 64-bit Java. I got the same error when I used a 32-bit Java with 64-bit STAF. Changing to a 64-bit Java allowed me to load a Java STAF service with 64-bit STAF.
Thanks, David David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315 STAF/STAX Development Bldg. 903-5B002 (363-5315) Austin, TX ITN: 23635315 IBM Software Group, 78758-3400 Email: bda...@us.ibm.com WPLC From: Phil Rumble <prum...@au1.ibm.com> To: staf-users@lists.sourceforge.net Date: 07/20/2010 02:51 AM Subject: [staf-users] AS400 JAVA Staf Service question I have recently installed STAF on an iSeries (OS400) machine and am quite impressed that it works. I have hit a snag however. I have custom staf services written in JAVA and I am unable to load them. The error message is Error on Service definition line: SERVICE AB LIBRARY JSTAF EXECUTE /QIBM/staf/service.jar Error code: 27 Reason : Error constructing service, JSTAF, Result: Unable to connect to JVM Does anyone know about this or atleast how to diagnose what is going wrong? I have installed the 64 bit version of STAF and I have added the location of the JVM to the PATH variable in the STAFEnv.sh file. Thanks in Advance Rumble ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users