Error in STAF configuration file

anusha
2012-05-11
2013-06-12
  • anusha
    anusha
    2012-05-11

    Hi all,
    I have installed STAF in a machine and also registered for event service in configuration file and also added the particular Event folder  in C:\STAF\services. But I am getting the following error. can anyone please let me know the solution to this.
    C:\>stafproc

    Error on Service definition line:

    SERVICE Event LIBRARY JSTAF EXECUTE C:/STAF/services/event/STAFEvent.jar

    Error code: 27
    Reason    : Error constructing service, JSTAF, Result: Unable to connect to JVM

    Error in configuration file: C:\STAF\bin\STAF.cfg

    D:\Documents and Settings\QT_checkit>

     
  • Arun Singh
    Arun Singh
    2012-05-11

    It's bec of JVM  . JVM must be installed on your Machine. Install JVM and try again, It will work :-)

     
  • anusha
    anusha
    2012-05-11

    Thank you for your reply. The reason for that is because I haven't set the environment variable pointing to java bin.
    Now it works