Start the STAX Monitor on the prime client: " java -jar C:\STAF\services\stax\STAXMon.jar "
On running the above command at the command prompt of the Prime Client, i am getting the below error..
C:\STAF\services\stax>java -jar STAXMon.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: no JSTAF in java.libary.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:100)
at com.ibm.staf.service.stax.STAXMonitorUtil.getNewSTAFHandle(STAXMorUtil.java:52)
at com.ibm.staf.service.stax.STAXMonitor.<init>(STAXMonitor.java:502
at com.ibm.staf.service.stax.STAXMonitor.main(STAXMonitor.java:5520)
suggestions please ...
What instaler did you use for Staf? This and your other question about staf not being found looks like the installation is not complete.
You should have the following environment variables set, the staf installer is supposed to do this during the install:
CLASSPATH=C:\STAF\samples\demo\STAFDemo.jar;C:\STAF\bin\JSTAF.jar
PATH=c:\STAF\bin
You could try adding these variable, or try reinstalling STAF. Also make sure you reboot so the variables get set.
The STAF is showing up as running fine now on the VMs as well on the Prime client but the issue now is with STAX.
The version of STAF installed on the Prime Client - Client 0 was STAF 3.2.5 but on running the command "java -jar C:\STAF\services\stax\STAXMon.jar"
- the error received is captured in the attached screenshot (stax.jpg)
So changed the version of STAF to STAF 3.3.3 , modified the STAF.cfg file again and re-ran the command "java -jar C:\STAF\services\stax\STAXMon.jar"
- The error received is "STAX_service_not_registered.JPG "
Also noticed that while initialising STAF (Start STAF 3.3.3) , the error prompt received is attached as "ErrorSTAX2.JPG "
As per the guide we have to use the STAF 3.2.5 or later but it is asking for the latest version i.e., STAF 3.3.3 and now STAF 3.4.3
STAX execution engine - recommended version - 3.2.2 or later (VMmark Guide) - - - I have Installed STAX 3.4.3
STAF EVENT service - recommended version - 3.1.1 or later (VMmark Guide) - - - I have Installed Event 3.1.4
You need to keep the STAX and STAF versions compatible. You can use STAF 3.4.2 with VMmark.
You are getting the STAX not registered error because the versions are mismatched.
I have now installed the STAF version 3.4.2.
But still not able to proceed, getting error:
STAX Service Machine: LOCAL
STAX Service Name: STAX
WARNING: The STAX service is not registered on the specified machine.
Verify the STAX Monitor's properties.
Please suggest.
Could you post your STAF.cfg file? Looks like Stax is not being registered properly.
Looks correct, what happens when you start staf, are there any errors ?
STAF starts fine, with no Errors.
What java version do you have installed?
Do you have a firewall running on the client?
What do the following commands output?
"staf local stax version"
"staf local misc version"
--> Java Version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
--> Firewall Not running.
--> staf local stax version
Error Submitting request, RC: 2
Additional info
-
stax
--> staf local misc version
Response
-
3.4.2
Post log from C:\STAF\data\STAF\lang\java\jvm\STAFJVM1
Post log from C:\STAF\data\STAF\service\log\MACHINE\
Hi,
There is no such logs.
Thanks,
Sajal.
OK, then I am stumped. You could try reinstalling STAF, you should have a jvm log at least.
I have reinstalled the STAF.
But still there is no 'lang' directory under STAF
C:\STAF\data\STAF
Also no 'log' under:
C:\STAF\data\STAF\service
Thanks,
Sajal.
I have reinstalled the STAF.
But still there is no 'lang' directory under STAF
C:\STAF\data\STAF
Also no 'log' under:
C:\STAF\data\STAF\service
Thanks,
Sajal.
Are you installing with the no JVM bundle? You need to use the bundled JVM version.