Menu

Welcome to Open Discussion

2001-08-08
2004-03-11
  • Nobody/Anonymous

    Welcome to Open Discussion

     
    • Anonymous

      Anonymous - 2003-11-19

      I have installed STAX.jar and registered it on my STAF.cfg file.  I have also specified the classpath in my PC.

      service Event library JSTAF execute c:/STAF/services/STAX.jar

      But, when I start STAFProc and execute a STAX help I get an error i.e

      C:\>staf local stax help
      Error submitting request, RC: 2
      Additional info: stax

      What am I doing wrong?

       
      • Sharon Lucas

        Sharon Lucas - 2003-11-19

        You registered the STAX service jar file as service name Event instead of STAX.  If you change the service name to STAX, then requests to the STAX service should work.

        service STAX library JSTAF execute c:/STAF/services/STAX.jar

        You'll want to register the Event service too in order to use the STAX Monitor.

        Note that you can get help on return codes as follows:

        C:\>staf local help error 2
        Response
        --------
        Unknown service

        You have tried to submit a request to a service that is unknown to STAFProc
        Verify that you have correctly registered the service.

        You got RC 2 because there is no service registered named STAX (because you named it Event instead).

        You can list the services to see what services are registered by doing:

        STAF local service list

         
    • IITS

      IITS - 2004-03-11

      I have installed STAF 2.6.0 on Linux running Red Hat 8.0.  When I run STAFProc I get this error message:

      ./STAFProc: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

      Anyone has any idea?

      Desperately seeking answer,
      IITS

       

Log in to post a comment.