Menu

registering stax fails on AIX

2005-09-14
2013-06-12
  • Pushkar Sachdeva

    JAVA_HOME is set
    PATH has /usr/local/staf/bin
    CLASSPATH has /usr/local/staf/lib/JSTAF.jar
    LIBPATH has /usr/local/staf/lib

    On registering STAX in STAF.cfg and starting STAFProc gives error-
    27:Error constructing service, JSTAF, Result: Unable to connect to JVM

    THe JVM log shows

    ******************************************************************************
    *** 20050914-18:28:21 - Start of Log for JVMName: STAFJVM1
    *** JVM Executable: java
    *** JVM Options   : none
    ******************************************************************************
    class cannot be loaded: java.lang.UnsatisfiedLinkError: /usr/local/staf/lib/IPv4
    /libSTAF.so:  load ENOEXEC on shared library(s) /usr/local/staf/lib/IPv4/libSTAF
    .so  - java.lang.UnsatisfiedLinkError: /usr/local/staf/lib/IPv4/libSTAF.so:  loa
    d ENOEXEC on shared library(s) /usr/local/staf/lib/IPv4/libSTAF.so

    can anybody help??

     
    • Sharon Lucas

      Sharon Lucas - 2005-09-14

      1) Are you using a 32-bit or 64-bit AIX OS kernel?
      2) Did you install STAF V3 for AIX 32-bit or 64-bit?  3) Are you using the appropriate corresponding 32-bit or 64-bit Java version?

      See discussion forum thread https://sourceforge.net/forum/message.php?msg_id=3313469 for more information.

      You can use the 32bit AIX STAF using the 64-bit AIX OS kernel with the 32-bit JVM.

      and/or 

      You can use the 64bit AIX STAF using the 64-bit AIX OS kernel with the 64-bit JVM.

       
    • David Michael Bender

      If you are using 64-bit JVM, you will need to use the following file:

      http://prdownloads.sourceforge.net/staf/STAF3031-aix64.tar.gz?download

      I'm having problems building the InstallShield installers for AIX-64, so for now just use the STAF3031-aix64.tar.gz.  I verified that it works correctly with the 64-bit JVM.

       

Log in to post a comment.