Hi,

I have used the 64-bit installer to install STAF:
-bash-4.1# cat /usr/local/staf/install.properties
version=3.4.9
platform=linux-amd64
architecture=64-bit
installer=IA
file=staf.bin
osname=Linux
osversion=*
osarch=amd64


I also have 64-bit java installed:
bash-4.1# java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)

When  I add the following line to STAF.cfg, STAF fails to start:
SERVICE STAX LIBRARY JSTAF EXECUTE /data/STAF/src/stax/STAX.jar OPTION
J2=-Xmx512m
SERVICE EVENT LIBRARY JSTAF EXECUTE /data/STAF/src/stax/STAFEvent.jar
SET MAXQUEUESIZE 10000

I get the following error message:
Error on Service definition line:
SERVICE STAX LIBRARY JSTAF EXECUTE /data/STAF/src/stax/STAX.jar OPTION
J2=-Xmx512m
Error code: 27
Reason    : Error constructing service, JSTAF, Result: Unable to connect to
JVM
Error in configuration file: /usr/local/staf/bin/STAF.cfg


JVMLog shows the following:
*** 20120702-12:58:38 - Start of Log for JVMName: STAFJVM1
*** JVM Executable: java
*** JVM Options   : -Xmx512m
*** JVM Version   : java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/staf/service/STAFServiceHelper
Caused by: java.lang.ClassNotFoundException:
com.ibm.staf.service.STAFServiceHelper
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.ibm.staf.service.STAFServiceHelper.
Program will exit.

This happens on a system running Rhel6.2. It seems to work on another
system running Rhel 5.6.

Any ideas on what is preventing STAF from starting ?

Thanks
Anna
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to