Hi,
I configured Email service in *.cfg file below line.
service email library JSTAF EXECUTE
/export/home/xxxx/staf/email/STAFEmail.jar PARMS "MAILSERVER
xxxx.xx.xxx.com"
When started the STAFProc getting the error
27:Error constructing service, JSTAF, Result: Unable to
connect to JVM
After going through the previous mail list I did the following steps
Contents of JVMLog.1 file is
/staf/data/STAF/lang/java/jvm/STAFJVM1> tail -f *
*** JVM Version : java version "1.5.0_17"
Java(TM) Platform, Standard Edition for Business (build
1.5.0_17-b04)
Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed
mode)
Exception in thread "main"
java.lang.UnsatisfiedLinkError:
/global/home/xxxx/staf/lib/libJSTAFSH.so: ld.so.1: java: fatal:
/global/home/xxxx/staf/lib/libJSTAFSH.so: wrong ELF class: ELFCLASS64
(Possible cause: architecture word width mismatch)
at
java.lang.ClassLoader$NativeLibrary.load(Native Method)
at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at
java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at
com.ibm.staf.service.STAFServiceHelper.<clinit>(STAFServiceHelper.java:4
43)
Java version shows it is 32 bit
/global/home/xxxx/staf/lib> java -version
java version "1.5.0_17"
Java(TM) Platform, Standard Edition for Business (build
1.5.0_17-b04)
Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed
mode)
isainfo gives the following
/global/home/xxxx/staf/lib> isainfo -b
64
/global/home/xxxx/staf/lib> isainfo -v
64-bit sparcv9 applications
asi_blk_init vis2 vis
32-bit sparc applications
asi_blk_init vis2 vis v8plus div32 mul32
/global/home/xxxx/staf/lib>isainfo -vb
64-bit sparcv9 applications
asi_blk_init vis2 vis
IT seems hava is of 32 bit where as isanfo shows 64 bit.
Is installing (as suggested in one of the previous thread) the below
version is the only resolution for this?
Solaris 2.6+ (Sparc 32-bit) 32-bit 3.4.0
STAF340-solaris-sparc.tar.gz
<http://prdownloads.sourceforge.net/staf/STAF340-solaris-sparc.tar.gz?do
wnload>
How can this be resolved? How to make JVM 64 bit which is supplied with
STAF while downloading?
Thanks
Uma.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users