Here's what's in the /usr/local/staf/data/STAF/lang/java/jvm/STAFJVM1/JVMLog.1:
******************************************************************************
*** 20090609-00:12:25 - Start of Log for JVMName: STAFJVM1
*** JVM Executable: java
*** JVM Options   : none
*** JVM Version   : java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)
Exception in thread "main" java.lang.UnsatisfiedLinkError: 
/usr/local/staf/lib/libJSTAFSH.so: ld.so.1: java: fatal: 
/usr/local/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(Unknown Source)
        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.service.STAFServiceHelper.<clinit>(STAFServiceHelper.java:443)
Could not find the main class: com.ibm.staf.service.STAFServiceHelper.  Program 
will exit.

Here's the java version:
/usr/local/staf/jre1.6.0_14/bin/java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)


Thanks,
Pavel Tankov

On 08.June.2009 19:24:40 Sharon Lucas wrote:
> Are there any errors in the JVM Log for the STAF Java service (e.g. post 
> the contents of /usr/local/staf/lang/java/jvm/STAFJVM1/JVMLog.1)?
> 
> Also, post the complete result from running the following on your Solaris 
> 10 machine:
> /usr/local/staf/jre1.6.0_14/bin/java -version
> 
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin,   luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
> 
> 
> 
> 
> Pavel Tankov <ptan...@axway.com> 
> 06/08/2009 11:18 AM
> 
> To
> staf-users@lists.sourceforge.net
> cc
> 
> Subject
> [staf-users] STAFProc unable to load any Java based service on  Solaris 10
> 
> 
> 
> 
> 
> 
> Hello,
> I have installed STAF333-solaris-sparc64.tar.gz on a Solaris 10 machine. 
> That is the command-line installer - STAFInst. The command that I used to 
> install it was this:
> ./STAFInst -noreg -verbose -acceptlicense -bin /usr/bin -lib /usr/lib
> Here's some info about the machine:
> uname -a
> SunOS t1000-1 5.10 Generic_118833-33 sun4v sparc SUNW,Sun-Fire-T1000
> STAFProc starts normally with it's default configuration. Then I tried to 
> add a Java service and put the following line in bin/STAF.cfg file:
> SERVICE http LIBRARY JSTAF EXECUTE /usr/local/staf/services/STAFHTTP.jar
> Staf doesn't start anymore. The error I get is this:
> Error on Service definition, SERVICE http LIBRARY JSTAF EXECUTE 
> /usr/local/staf/services/STAFHTTP.jar
> 27:Error constructing service, JSTAF, Result: Unable to connect to JVM
> Error reading config file
> I have a JRE on the machine, its in /usr/local/staf/jre1.6.0_14. Here is 
> the contents of my STAFEnv.sh:
> #!/bin/sh
> # STAF environment variables
> PATH=/usr/local/staf/bin:/usr/local/staf/jre1.6.0_14/bin:${PATH:-}
> LD_LIBRARY_PATH=/lib:/usr/lib:/opt/csw/lib:/usr/local/staf/lib:${LD_LIBRARY_PATH:-}
> CLASSPATH=/usr/local/staf/lib/JSTAF.jar:/usr/local/staf/samples/demo/STAFDemo.jar:${CLASSPATH:-}
> STAFCONVDIR=/usr/local/staf/codepage
> if [ $# = 0 ]
> then
> STAF_INSTANCE_NAME=STAF
> else
> if [ $1 != "start" ]
> then
> STAF_INSTANCE_NAME=$1
> else
> # Ignore "start" STAF Instance name
> STAF_INSTANCE_NAME=STAF
> fi
> fi
> export PATH LD_LIBRARY_PATH CLASSPATH STAFCONVDIR STAF_INSTANCE_NAME
> Can anyone tell me what the problem might be?
> Thanks,
> Pavel Tankov
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
> 
> 


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to