"echo $CLASSPATH" produces:
/usr/local/staf/lib/JSTAF.jar:/usr/local/staf/samples/demo/STAFDemo.jar
Here is the last section of
/usr/local/staf/data/STAF/lang/java/jvm/STAFJVM1/JVMLog.1:
>
> ******************************************************************************
> *** 20080513-16:13:14 - Start of Log for JVMName: STAFJVM1
> *** JVM Executable: java
> *** JVM Options : none
> The java class could not be loaded. java.lang.UnsatisfiedLinkError: Can't
> find library STAF (libSTAF.a 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:/usr/local/staf/lib:/usr/local/staf/lib:/usr/java14/jre/bin/sovvm:/usr/lib
>
2008/5/13 David Bender <[EMAIL PROTECTED]>:
>
> Before starting STAFProc, what is the output of "echo $CLASSPATH"? It
> should include /usr/local/staf/lib/JSTAF.jar. The JVM log should have more
> information about the error. It is located at
> /usr/local/staf/data/STAF/lang/java/jvm/STAFJVM1/JVMLog.1.
>
> David Bender
> STAF/STAX Development
> 8-1268 (512-838-1268)
> IBM Austin Bldg. 903-5B002
> Internet: [EMAIL PROTECTED]
>
>
>
> *"Ahmed Mostafa" <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
>
> 05/13/2008 09:11 AM
> To
> STAF <staf-users@lists.sourceforge.net>
> cc
> David Bender/Austin/[EMAIL PROTECTED] Subject
> Re: [staf-users] Unable to start STAFProc on AIX 5.1
>
>
>
>
> Actually I got rid of this error and was trapped by this very similar one:
> Error on Service definition, service event library JSTAF execute
> /usr/local/staf/services/stax/STAFEvent.jar
> 27:Error constructing service, JSTAF, Result: Unable to connect to JVM
> Error reading config file
> This error suggested that JRE wasn't installed, but I run java -versionand it
> succeeds (JRE 1.4.2).
>
> echo $LIBPATH produces
> /usr/local/staf/lib:/usr/lib:
> So STAFEnv was run correctly.
>
> 2008/5/13 David Bender <[EMAIL PROTECTED] <[EMAIL PROTECTED]>>:
>
> The error indicates that the LIBPATH environment variable does not include
> the STAF lib directory (i.e. /usr/local/staf/lib). What is the output of
> "echo $LIBPATH" prior to starting STAFProc? How are you running STAFEnv.sh?
> To correctly execute it, you must run ". ./STAFEnv.sh"
>
> David Bender
> STAF/STAX Development
> 8-1268 (512-838-1268)
> IBM Austin Bldg. 903-5B002
> Internet: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
>
> *"Ahmed Mostafa" <[EMAIL PROTECTED] <[EMAIL PROTECTED]>*>
> *
> Sent by: [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>
> 05/13/2008 06:31 AM
>
> To
> STAF <[EMAIL PROTECTED]<staf-users@lists.sourceforge.net>
> > cc
> Subject
> [staf-users] Unable to start STAFProc on AIX 5.1
>
>
>
>
>
>
> Hello,
>
> On an AIX 5.1 machine, after installing STAF, running STAFEnv.sh when I
> run STAFProc I get the following error message:
> exec(): 0509-036 Cannot load program ./STAFProc because of the following
> errors:
> 0509-150 Dependent module libSTAF.so could not be loaded.
> 0509-022 Cannot load module libSTAF.so.
> 0509-026 System error: A file or directory in the path name does not
> exist.
>
> What should I do?
> --
> Ahmed Mostafa
> 0123919750*
> [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> Software Developer
> IBM Egypt, Cairo Technology Development Center
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008. *
> **
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> *<http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________>
> staf-users mailing list*
> [EMAIL PROTECTED] <staf-users@lists.sourceforge.net>*
> **https://lists.sourceforge.net/lists/listinfo/staf-users*<https://lists.sourceforge.net/lists/listinfo/staf-users>
>
>
>
>
> --
> Ahmed Mostafa
> 0123919750*
> [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Software Developer
> IBM Egypt, Cairo Technology Development Center
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
>
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
--
Ahmed Mostafa
0123919750
[EMAIL PROTECTED]
Software Developer
IBM Egypt, Cairo Technology Development Center
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users