Menu

Error Registering with STAF when using STAX

Srini D.
2005-06-11
2013-06-12
  • Srini D.

    Srini D. - 2005-06-11

    I am trying to get STAX working with STAF on RedHat.  Everything works fine before adding any details to my STAF.cfg file.

    However when i restart STAFProc after adding the line to load STAX, I get an "Error registering with STAF".  Is there something that i am missing?  The directory information as to the location of stax is correct.  Any help would be appreciated.

    The STAF.cfg file:

    # Turn on tracing of internal errors and deprecated options
    trace enable tracepoints "error deprecated"

    # Enable TCP/IP connections
    interface tcp library STAFTCP

    # Set default local trust
    trust machine local://local level 5

    # Default Service Loader Service
    serviceloader library STAFDSLS

    service STAX library JSTAF execute /usr/local/staf/services/stax/STAX.jar

     
    • Srini D.

      Srini D. - 2005-06-11

      Sorry, posted in the wrong forum.

       
    • David Michael Bender

      What is the entire error message? 

      Have you downloaded the 3.0.0 version of the STAX service?    And unpackaged it in /usr/local/staf/services so that the STAX.jar file is in /usr/local/staf/services/stax?

      Can you verify that /usr/local/staf/lib/JSTAF.jar is in your CLASSPATH?

      What version of Java are you using (what is the output of "java -version")?

      Are there any errors in the JVM log (/usr/local/staf/data/STAF/lang/java/jvm/STAFJVM1/JVMLog.1)?

       

Log in to post a comment.