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"
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)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Sorry, posted in the wrong forum.
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)?