The FTP service is a STAF Java service. You installed a 64-bit version of
STAF for AIX using the STAF335-setup-aix64-NoJVM.bin installer file. This
version of STAF installs support for 64-bit JVMs (as talked about on the
STAF Download page at http://staf.sourceforge.net/getcurrent.php).
However, it appears the PATH on your machine points to a 32-bit version of
Java. You either need to:
- Use a 64-bit version of Java (install it if it's not already installed).
Then either add the 64-bit JVM's bin directory to the PATH environment
variable before startnig STAFProc, or specify OPTION
JVM=/pathTo64bitJVM/java when registering the FTP service in the STAF.cfg
file.
- Or, install a 32-bit version of STAF (which provides STAF support for
32-bit JVMs) if you need to use a 32-bit JVM.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
anas ameziane <anas.amezi...@gmail.com>
02/08/2010 11:06 AM
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] i can't install FTP service
Hi every body,
I can't install FTP service, when i add the ligne (SERVICE FTP LIBRARY
JSTAF EXECUTE {STAF/Config/STAFRoot}/services/ftp/STAFFTP.jar )
into STAF.cfg, i get this error :
-STAF log : cmd(cat nohup.out)
Error on Service definition, SERVICE FTP LIBRARY JSTAF EXECUTE
{STAF/Config/STAFRoot}/services/ftp/STAFFTP.jar
27:Error constructing service, JSTAF, Result: Unable to connect to
JVM
Error reading config file
-JVM Log :
*********************************************************
*** 20100208-17:34:03 - Start of Log for JVMName: STAFJVM1
*** JVM Executable: java
*** JVM Options : none
*** JVM Version : java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20070708
(SR9) (JIT enabled: jitc))
The java class could not be loaded.
java.lang.UnsatisfiedLinkError:
Can't find library STAF (libSTAF.so or .so) in
sun.boot.library.path or java.library.path
sun.boot.library.path=/usr/java14/jre/bin
java.library.path=/usr/java14/jre/bin:/usr/java14/jre/bin/classic:/usr/java14/jre/bin:
/prod/staf/lib:/prod/cobol/lib:/usr/java14/jre/bin/sovvm:/usr/lib
################# Machine ##################
- STAF Intall :
STAF335-setup-aix64-NoJVM.bin
- Machine : cmd (prtconf)
System Model: IBM,9117-570
Machine Serial Number: 657A22E
Processor Type: PowerPC_POWER5
Number Of Processors: 6
Processor Clock Speed: 1654 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 11 lpar10_qxot
Memory Size: 16384 MB
Good Memory Size: 16384 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_338
Console Login: enable
Auto Restart: true
Full Core: false
- Env :
..
PATH=/prod/staf/bin:/prod/staf/lib:/usr/java/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/root/bin:/usr/bin/X11:/sbin:.:/prod/cobol/bin:/prod/cobol/cobolbin:/usr/local/bin
..
STAF_INSTANCE_NAME=STAF
..
CLASSPATH=/prod/staf/lib/JSTAF.jar:/prod/staf/samples/demo/STAFDemo.jar:/prod/staf/samples/demo/STAFDemo.jar:/prod/staf/lib/JSTAF.jar:
LOGNAME=root
STAFCONVDIR=/prod/staf/codepage
..
LIBPATH=/prod/staf/lib:/usr/lib:/prod/cobol/lib
i need help please ?
Anas AMEZIANE
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users