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