From: Plamen N. <pla...@tu...> - 2008-06-19 15:08:08
|
Thank you very much David! Changing the environment variable from LD_LIBRARY_PATH to LIBPATH resolved the problem. Plamen On Thu, 2008-06-19 at 08:50 -0600, David Bender wrote: > > 1. Your output shows LD_LIBRARY_PATH including /usr/local/staf/lib, > but on AIX the correct library environment variable name is LIBPATH. > Can you verify that it includes /usr/local/staf/ilb? > > 2. The log.txt file from the install indicates the root error was: > > ProductException: (error code = 200; message="Java error"; exception = > [ServiceException: (error code = 200; message = "nativeGetenv"; > severity = 0; exception = [java.lang.UnsatisfiedLinkError: > nativeGetenv])]) > at > com.installshield.product.actions.EnvironmentVariableUpdate.install(Unknown Source) > at > com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source) > at > com.ibm.wizard.platform.aix.AixProductServiceImpl.installProductAction(AixProductServiceImpl.java:355) > at > com.installshield.product.service.product.PureJavaProductServiceImpl > $InstallProduct.getResultForProductAction(Unknown Source) > at > com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source) > at > com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source) > at > com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source) > at > com.installshield.product.service.product.PureJavaProductServiceImpl > $InstallProduct.install(Unknown Source) > at > com.installshield.product.service.product.PureJavaProductServiceImpl > $Installer.execute(Unknown Source) > at > com.installshield.wizard.service.AsynchronousOperation.run(Unknown > Source) > at java.lang.Thread.run(Thread.java:570) > > I'll open a problem report with InstallShield-MultiPlatform support > for this problem. As a workaround I would suggest using the > STAF325-aix64.tar.gz installer. Note, that STAF 3.2.5 is the last > STAF release which will use InstallShield Multi-Platform (since it has > reached end-of-life and has been replaced by InstallAnywhere). In > STAF V3.3.0 (which should be released in a few weeks) the install will > use InstallAnywhere. So, if this is problem with ISMP, then we won't > really be able to pick up a fix since we are migrating to > InstallAnywhere, but perhaps InstallShield support can provide > us with a workaround. > > David Bender > STAF/STAX Development > 8-1268 (512-838-1268) > IBM Austin Bldg. 903-5B002 > Internet: bd...@us... > > > > "Petar Toudjarski" > <pet...@tu...> > Sent by: > sta...@li... > > 06/19/2008 08:19 AM > > > To > sta...@li... > cc > Plamen Nedkov > <pla...@tu...> > Subject > [staf-users] > Cannot register > Java services and > install STAF on > AIX 5.3.0.0 with > LPAR > > > > > > > > > Hello, > > We have two STAF issues on AIX 5.3.0.0 machine under LDAP > virtualization. > 1. When trying to register external services written in Java we > got an error (look below) and STAF was not started. On same > configuration without LPAR everything runs correctly. STAF was copied > from the other system. > 2. Fresh installation does not succeed but stops with error about > environment variable not able to read see the bottom of the e-mail and > attached log.txt. As a workaround we are coping installed STAF from > another AIX machine without virtualization. > > “ > Error on Service definition, SERVICE FSExt LIBRARY JSTAF > EXECUTE /usr/local/staf/services/STAFFSExt.jar > 27:Error constructing service, JSTAF, Result: Unable to connect to > JVM > Error reading config file > “ > > STAF.cfg is: > # Turn on tracing of internal errors and deprecated options > trace enable tracepoints "error deprecated" > > # Enable TCP/IP connections > interface tcp library STAFTCP > > # Default Service Loader Service > serviceloader library STAFDSLS > > SET MAXQUEUESIZE 10000 > > TRUST DEFAULT LEVEL 5 > > SERVICE FSExt LIBRARY JSTAF > EXECUTE /usr/local/staf/services/STAFFSExt.jar > > JVM.log > ****************************************************************************** > *** 20080619-05:20:07 - Start of Log for JVMName: STAFJVM1 > *** JVM Executable: java > *** JVM Options : none > class cannot be loaded: java.lang.UnsatisfiedLinkError: JSTAFSH (A > file or directory in the path name does not exist.) - > java.lang.UnsatisfiedLinkError: JSTAFSH (A file or directory in the > path name does not exist.) > > environment variable: > declare -x LD_LIBRARY_PATH="/usr/local/staf/lib" > declare -x > CLASSPATH="/usr/local/staf/samples/demo/STAFDemo.jar:/usr/local/staf/samples/demo/STAFDemo.jar::/usr/local/staf/lib/JSTAF.jar" > [root@box /usr/local/staf/bin]# ls /usr/local/staf/lib/JSTAF.jar > /usr/local/staf/lib/JSTAF.jar > [root@box /usr/local/staf/bin]# ls /usr/local/staf/lib/ > IPv4 libSTAFLog.so > IPv6 libSTAFMon.so > JSTAF.jar libSTAFPool.so > JSTAF.zip libSTAFTCP.so > STAFLog.rxl libSTAFZip.so > STAFMon.rxl libSTAFZlib.so > STAFPool.rxl libaix_javaunix.so > STAFUtil.rxl liblin_javaunix.so > libJSTAF.so libsigar-amd64-linux.so > libJSTAFSH.so libsigar-ppc-aix-5.so > libRXSTAF.so libsigar-sparc-solaris.so > libRxThread.so libsigar-x86-linux.so > libSTAF.so libsigar-x86-solaris.so > libSTAFDSLS.so libsigar_aixperfstat.so > libSTAFEXECPROXY.so libsol_javaunix.so > libSTAFLIPC.so sigar-x86-winnt.dll > [root@box /usr/local/staf/bin]# > > OS type: > [root@box /usr/local/staf/bin]# bootinfo -y > 64 > [root@box /usr/local/staf/bin]# bootinfo -K > 64 > [root@box /usr/local/staf/bin]# oslevel > 5.3.0.0 > > Failed installation using binary (STAF325-setup-aix64.bin) on AIX > 5.3.0.0 > Log.txt attached > Setup has enough information to start copying the program files. If > you want to > review or change any setting, click Back. If you are satisfied with > the > settings, click Next to begin copying files. > > Setup Type: Typical > Target Directory: /usr/local/staf > The following components will be installed: > Base STAF components > External Services: Log, Monitor, ResPool, Zip > Language Support: C/C++, Java, Rexx > Documentation > Samples and Demos > Options: > > > Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1 > > Installing STAF 3.2.5. Please wait... > > > |-----------|-----------|-----------|------------| > 0% 25% 50% 75% 100% > ||||||||||||||||||||||||||||||||| > 1. Yes > 2. Yes to All > 3. No > > CLASSPATH exists on this system and it has been modified since > installation. Do > you want to restore this environment variable? [1]3 > > > |-----------|-----------|-----------|------------| > 0% 25% 50% 75% 100% > ||||||||||||||||||||||||||||||||| > ------------------------------------------------------------------------------- > Errors occurred during the installation. > - An error occurred and product installation failed. Look at the log > file > /usr/local/staf/log.txt for details. > > Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1 > > ------------------------------------------------------------------------------- > Please read the information below. > > The installer has created file /usr/local/staf/STAFEnv.sh which sets > up the > STAF environment variables for this version of STAF. This file is > useful when > running multiple versions of STAF on the same machine. Click Next to > continue. > > Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1 > > ------------------------------------------------------------------------------- > Getting Started with STAF > > Now that you have installed STAF, we recommend that you read the > "Getting > Started with STAF" document. This document's location is > /usr/local/staf/docs/STAFGS.pdf > > Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1 > > ------------------------------------------------------------------------------- > The wizard requires that you logout and log back in. > > Press 3 to Finish or 5 to Redisplay [3] 3 > > > > > > java.io.FileNotFoundException: /usr/local/staf/bin/STAF.cfg (A file or > directory in the path name does not exist.) > at java.io.FileOutputStream.open(Native Method) > at > java.io.FileOutputStream.<init>(FileOutputStream.java(Compiled Code)) > at java.io.FileOutputStream.<init>(FileOutputStream.java:153) > at java.io.FileWriter.<init>(FileWriter.java:94) > at STAFWriteCfgFile.execute(STAFWriteCfgFile.java:88) > at > com.installshield.wizard.StandardWizardListener.execute(Unknown > Source) > at > com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source) > at com.installshield.wizard.Wizard$RunThread.run(Unknown > Source) > > [root@box /tmp]# > > "Tumbleweed Communications <tumbleweed.com>" made the following > annotations on 06/19/08, 06:19:10 > ------------------------------------------------------------------------------ > > > === Tumbleweed Communications Disclaimer === > This e-mail, including attachments, may include confidential and/or > proprietary information, and may be used only by the person or entity > to which it is addressed. If the reader of this e-mail is not the > intended recipient or his or her authorized agent, the reader is > hereby notified that any dissemination, distribution or copying of > this e-mail is prohibited. If you have received this e-mail in error, > please notify the sender by replying to this message and delete this > e-mail immediately. > > Tumbleweed Communications Corp., an industry leader in managed file > transfer and content security, provides enterprise-class solutions to > organizations of all sizes. Tumbleweed's innovative products enable > organizations to effectively manage and protect business-critical > Internet communications, with capabilities that span secure file > transfer, encryption, data loss prevention, and email security. > ==============================================================================------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > staf-users mailing list > sta...@li... > https://lists.sourceforge.net/lists/listinfo/staf-users > > |