STAF Changelog

What's new in STAF 3.4.20

Nov 8, 2014
  • Changes:
  • Added a STAF FAQ entry explaining how to resolve a problem where STAFProc fails to start because it cannot determine the TCP/IP host name (Bug #1531)
  • Changed the zLinux 32- and 64-bit STAF build systems from zLinux SLES 10.0 to zLinux RHEL 5.4 (Feature #755)
  • Provided a new default certificate for the SSL network interface as the old default certificate expired on Oct 17 2014. If you use the ssl interface, you should upgrade all STAF systems to V3.4.20+ to avoid RC 16 with error message "STAFConnectionProviderConnect: Error in client SSL handshake" (Bug #1532)

New in STAF 3.4.18 (Jul 2, 2014)

  • Fixed undefined reference errors building STAF on Ubuntu Linux (which uses a different gcc version) by updating the STAF gcc and master makefiles so that the g++ commands put the object files and libraries being linked in the order that they depend on each other (Bug #1518)
  • Upgraded the STAF installers to use InstallAnywhere 2013 Premier (with IBM Hotfix B) instead of InstallAnywhere 2012 SP 1 Hotfix H (Feature #744)
  • Fixed some formatting errors and updated some examples in the STAF Java User's Guide (Bug #1522)
  • Updated and added some links in the STAF Perl, Python, and Tcl User Guides
  • Changed references in error messages and documentation from Sun to Oracle Java and removed references in documentation to obsolete platforms (Bug #1524)
  • Fixed a problem in BuildSTAF.xml where this STAX job would incorrectly terminate with a STAXPythonEvaluationError if a project's build failed (Bug #1525)
  • Changed STAF Java support on z/OS 32-bit and 64-bit to require Java 6.0 instead of Java 1.4.2 (Feature #748)

New in STAF 3.4.10 (Jul 9, 2012)

  • Updated the STAF Installation Guide with more information about how to run
  • an InstallAnywhere installer in GUI mode when using telnet or ssh to access
  • a Unix system (Feature #607462)
  • Upgraded the AIX 32- and 64-bit build machine from AIX 5.3 to 6.1 because
  • AIX 5.3 reached End Of Life. This means that STAF 3.4.10 for AIX can be
  • installed on AIX 6.1 or later or IBM i 7.1 or later (Feature #3474564)
  • Changed the libcrypto.so.0.9.8 shared library provided with STAF for Linux
  • (i386 and amd64) to not request an executable stack to fix a problem
  • starting STAFProc with SELinux in the enforcing mode (Bug #3296322)
  • Fixed a typo when prompting for the "Default STAF Instance Name" during an
  • InstallAnywhere console install (Bug #3522620)
  • Added a check to make sure each STAFTCP interface is configured to use a
  • unique port number (Bug #3523091)
  • Added a RELEASE option to the ResPool service's REQUEST ENTRY option to
  • provide the ability to perform an atomic release and request of an entry
  • you own which allows you to to re-gain ownership of the entry before any
  • lower-priority pending requests (Feature #3037805)
  • Fixed a problem with the HELP service where a SERVICE request without the
  • required ERROR option returned the wrong RC and result (Bug #3523350)
  • Fixed a problem creating the STAFEnv.sh file where it could incorrectly set
  • the STAF_INSTANCE_NAME environment variable to nothing on some Unix systems
  • such as Mac OS X during a GUI InstallAnywhere STAF install (Bug #3529407)
  • Added a STAF FAQ entry about a Java service's JVM being limited to a
  • maximum heap size of ~2G on a 32-bit system (Bug #3528876)
  • Fixed a problem in the ZIP service for Unix 64-bit systems where unzipping
  • a file using the RESTOREPERMISSIONS option could result in not all of the
  • unzipped files having their correct permissions restored (Bug #3530590)
  • Fixed a typo in an error message about an invalid DEFAULTINTERFACE in the
  • STAF Configuration file (Bug #3534985)
  • Added a CONFIG service that provides the ability to save the current STAF
  • configuration to a file (Feature #3124418)
  • Added javadoc comments for some of the STAF Java classes provided in
  • JSTAF.jar (Feature #2807825)

New in STAF 3.4.6 (Aug 30, 2011)

  • Fixed a problem where if many requests are submitted simultaneously to the
  • STAFLocalIPCConnProvider on Windows 2003 or later could get error:
  • STAFConnectionProviderConnect: Failed to connect to the server named pipe,
  • osRC=231 (Bug #3289194)
  • Updated the STAF Tcl User's Guide with more information on the default
  • version of Tcl support installed for each supported OS (Bug #3307614)
  • Updated the STAF Installation Guide with some missing info (Bug #3313458)

New in STAF 3.4.3 (Nov 19, 2010)

  • Added support for Mac OS X 10.6+ Universal binary, which includes support for i386, x86_64, and ppc (Feature #1961092)
  • Migrated the Solaris Sparc 32-bit build from Solaris 2.8 to Solaris 10 (Feature #3017653)
  • Migrated the FreeBSD build from 6.1 to 7.3 (and a FreeBSD 4.10 build will no longer be provided) (Feature #3025905)
  • Migrated the Linux ppc64-32 build from SLES8 to SLES9 (Feature #3025976)
  • Fixed a problem on Linux where gethostbyname_r() could fail with rc=11 or rc=2 indicating to try again, but instead of retrying, the request would fail with RC 16 (Bug #3043152)
  • Added a note to the STAF Installation Guide about updating the /etc/rc.staf file to have execute permission (Bug #3052334)
  • Migrated aix and aix64 builds from AIX 5.1 to AIX 5.3 (Feature #3025970)
  • Fixed typo in Description returned by HELP ERROR 35 request (Bug #3057021)
  • Added an error message when a SERVICE FREE request fails with RC 25 because you did not specify the FORCE option and you are not the originator of the request you are trying to free (Bug #3057040)
  • Added support for Python 2.7 (Feature #3035999)
  • Fixed typo in STAF User's Guide in a PROCESS START example (Bug #3067546)
  • Added support for Python 3.0 and Python 3.1 (Feature #2981028)

New in STAF 3.4.1 (Apr 8, 2010)

  • - Fixed an error compiling the TCP connection provider with SSL support on
  • Linux when using a later gcc version like 4.1.2 (Bug #2915063)
  • Added more updates to build STAF on OpenSolaris x86 with Sun Studio C++
  • (Bug #2925899)
  • Fixed a problem compiling a STAF service written in C using a C compiler
  • on Unix due to including cstdlib instead of stdlib.h (Bug #2493041)
  • Changed ConnectionProviderStop message "Timed out waiting for run thread
  • to wake up" to a warning instead of an error (Bug #1956286)
  • Fixed build problems verifying if required OpenSSL libraries exist when
  • OPENSSL_ROOT is set to a directory ending in /, or if multiple instances
  • of these libraries exist in its lib subdirectory tree (Bug #2928372)
  • Migrated the Solaris Sparc 32-bit build to a Solaris 8 machine (this
  • build now only supports Solaris 8 or later) (Feature #2925803)
  • Migrated the zLinux 31-bit (zlinux-32) and zLinux 64-bit (zlinux-64)
  • builds to a SLES10 system (these builds now only support SLES10 or later
  • and RHEL5 or later) (Feature #2910110)
  • Fixed problems registering a Java service on Windows if the STAF root
  • directory name contains one or more spaces, C:\Program Files\STAF, or if
  • a JVM executable's path name contains one or more spaces (Bug #2932924)
  • Fixed a problem in the ResPool service where a request for a particular
  • resource entry could be given ownership of the wrong resource entry when
  • garbage collection occurred (Bug #2935792)
  • Provided the ability to specify a priority when submitting a resource
  • request to the ResPool service (Feature #2900777)
  • Added information to the STAF Installation Guide about starting STAF
  • during system reboot on Mac OS X (Feature #2937308)
  • Fixed problems resolving STAF variables in the TOFILE option on a FS COPY
  • FILE request, especially if it contains a ^{ (Bug #2944209)
  • Improved error handling when reading files returned for a process and when
  • generating a process completion message (Bug #2946074)
  • Migrated the Linux IA32 build to a RHEL4 machine (Feature #2918931)
  • Improved the robustness of garbage collection for handles used by the
  • ResPool, SEM, and DELAY services (Feature #1686352)
  • Fixed a problem on RHEL4 where Java STAF client requests failed with
  • undefined symbol: : _ZNSt8ios_base4InitD1Ev (Bug #2949399)
  • Provided support for setting environment variables for STAFEXECPROXY
  • (Feature #2832927)
  • Fixed "undefined symbol: boot_DynaLoader" error when loading Perl services
  • on Linux IA64 (Bug #2952809)
  • Provided the ability to cancel a pending request for a resource pool entry
  • by adding a CANCEL request to the ResPool service (Feature #2942593)
  • Fixed an error building STAF using gcc 4.3 or later on Unix (Bug #2955372)
  • Fixed errors when running TestPython.py on Unix (Bug #2945603)
  • Updated the STAF installers to use InstallAnywhere 2010 (Feature #2882366)
  • Updated the InstallAnywhere bundled JVMs to Java 6.0 SR7, except for
  • Windows IA64 and Linux IA64 which were updated to Java 1.4.2 SR13FP4
  • (Feature #2927782)
  • Added support for HP-UX i11 v3 or later when configured with expanded node
  • and host name support and the node name exceeds 8 characters so that
  • STAFProc no longer fails with error "uname(), STAF RC: 10, OS RC: 72"
  • (Feature #2974748)
  • Fixed problem where the jre directory would sometimes not be installed
  • during an upgrade install (Bug #2972267)
  • Provided the ability to get more info when get RC 21 (STAF Not Running) by
  • setting environment variable STAF_DEBUG_RC_21=1 (Bug #1741849)
  • For Unix, provided the ability to override /tmp by setting env variable
  • STAF_TEMP_DIR for where STAF stores socket files for the local interface
  • (Feature #2800695)
  • Documented a workaround for a problem where the InstallAnywhere uninstaller
  • fails to remove the STAF files and Start menu entries (Bug #2965761)

New in STAF 3.3.5 (Nov 13, 2009)

  • Fixed a problem when starting a process on Unix (without the SHELL option)
  • where it wasn't correctly handling empty parameters specified within the
  • PARMS option value (Bug #2821570)
  • Updated the Install Guide for Linux IA UI install problems (Bug #2825993)
  • Updated the STAF User's Guide to say that a FS GET ENTRY SIZE request does
  • not return the total size of a directory (Bug #2691879)
  • Provided the ability to get summary information for a directory, such as
  • its total size and the number of files and subdirectories it contains, by
  • adding a SUMMARY option to a FS LIST DIRECTORY request (Feature #2826807)
  • Fixed problems handling file sizes >= 4G in the output from a FS LIST
  • DIRECTORY LONG request and if sorting by size (Bug #2829211)
  • Added the 64-bit size to the output from a FS QUERY/GET ENTRY and FS LIST
  • DIRECTORY LONG DETAILS request so you no longer have to combine the lower
  • and upper 32-bit sizes to get the size of files >= 4G (Feature #2830374)
  • Changed so that no longer use deprecated Java methods (Bug #1505690)
  • Updated the stafif makefile to enable building IPV6 support (Bug #1323306)
  • Updated the STAF Service Developer's Guide to show how to use STAFEXECPROXY
  • when registering a Perl service to prevent STAFProc crashes (Bug #2113056)
  • Changed the FS service on Unix to check when errno EOVERFLOW is set by the
  • stat() function as that also indicates the entry exists (Bug #2843521)
  • Fixed a problem where RC 7 was returned by an AUTHENTICATE request if a
  • blank value was specified for CREDENTIALS or DATA (Bug #2845102)
  • Updated the STAF Installation Guide to recommend using /etc/inittab when
  • starting STAFProc during reboot on Linux (Bug #2837911)
  • Updated the STAF Python User's Guide to correct the link to the STAF
  • Developer's Guide (Bug #2856479)
  • Added a FAQ entry to document error "lbJSTAF.so: undefined symbol:
  • ZNSt8ios_base4InitD1Ev, version GLIBCXX_3.4" when using the STAF Java
  • libraries on Linux AMD64 with IBM Java 6.0 SR5 (Bug #2845196)
  • Added the ability on Windows for a FS QUERY ENTRY request to provide the
  • full, long path name of the specified file system entry in the correct
  • case and to use this "real" name to determine if file names on Windows
  • match (Feature #2846295)
  • Fixed a problem on Windows where a FS QUERY ENTRY or COPY request returned
  • RC 48 (DoesNotExist) when specifying the name of an existing file that was
  • currently in use (Bug #2863718)

New in STAF 3.3.3 (Apr 17, 2009)

  • Modified the STAFLogViewer's "File" menu order and added a separator line (Bug #2412279)
  • Updated the STAF Installation Guide's section on installing STAF as a Windows service by adding a note on how to fix a Java services RC 6 problem that can occur when you log off Windows (Bug #2494682)
  • Made some improvements to the STAFDemo to make it a better example such as by using the existing STAFLogViewer class (Bug #2489076)
  • Improved the error handling in the STAF unmarshall methods to not cause an error when invalid marshalled data is input (Bugs #2515811 and #2582649)
  • Clarified that a FS COPY FILE request can copy only one file, but that a FS COPY DIRECTORY request can copy multiple selected files and supports wildcards (Bug #2543983)
  • Changed HANDLE service's AUTHENTICATE and CREATE requests to only verify the local machine submitted the request, not to check for trust level 5 (Bug #2561191)
  • Updated STAF Perl/Java/Python/Tcl User Guides to add SHELL option to some PROCESS START request examples (Bug #2591010)
  • Prevent the "Error binding server socket" error when restarting STAFProc by setting the SO_REUSEADDR socket option on (Feature #2607469)
  • Added support to recognize requests submitted to localhost aliases as local requests (Feature #2407852)
  • Added a FAQ entry about Expect scripts failing on Linux when STAFProc has been started during system reboot (Bug #2590759)
  • Improved error handling and recovery in all the interfaces so that while making a connection, a request won't hang, and if possible, the connection will be re-attempted (Feature #2569883)
  • Updated STAFEnv.sh to ignore the STAF instance name argument if it is equal to "start" (Bug #2597062)
  • Fixed the STAF unmarshall methods so that it no longer gets into an infinite loop if certain invalid marshalled data is input (Bug #2634703)
  • Improved installation options for STAF Perl support (Feature #2565366)
  • Updated the STAF Developer's Guide instructions for building OpenSSL on Windows (Bug #2669504)
  • Fixed a problem where queuing a message by handle name doesn't return an error if one or more handles's queue are full or if no handles exist with the handle name (Bug #2672793)
  • Added support for creating a reference to a static handle in the Perl STAFHandle->new() function (Feature #2685625)
  • Removed support for old operating systems, Win95/98/Me/NT and AIX 4.3.3, that have been sunset (Bug #2692247)
  • Moved the Linux AMD64 STAF build to a new build machine (Bug #2698493)
  • Added support for getting multiple messages off a handle's queue by adding the ALL and FIRST options to the QUEUE service's GET/PEEK requests which can improve performance (Feature #2616498)
  • Fixed a problem on some Windows versions where a RESPOOL CREATE request that specified a pool name containing an invalid character, like a colon, didn't fail, even though the pool was not created correctly (Bug #2710588)
  • Added a retry if sending a process end notification message fails with a communication error, return code 22 (Feature #2703830)
  • Updated the STAF InstallAnywhere installers to include a Java 5.0 bundled JVM (Bug #2710109)

New in STAF 3.3.2 (Dec 10, 2008)

  • Improved how FS COPY requests handle codepage conversion errors (RC 39) when copying a file in text mode, including changing a FS COPY DIRECTORY request to continue to copy files after this error occurs (Bug #2155926)
  • Updated the STAF Installation Guide to add a missing "&" to the end of some commands to start STAFProc on reboot in section 11.1 (Bug #2155306)
  • Updated STAF FAQ to say the FS service doesn't currently support copying files >= 4GB on any operating system (Bug #2173011)
  • Documented error "STAFProc: relocation error: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE" when starting STAFProc on Linux (Bug #2136095)
  • Documented error "/usr/sfw/lib/libstdc++.so.6: wrong ELF class: ELFCLASS32" when starting STAFProc on Solaris Sparc 64-bit (Bug #2136189)
  • Updated Perl service support to fix a segmentation fault on Unix and resolve a minor memory leak (Patch #2141122)
  • Fixed an error in QUEUE service's help for a DELETE request (Bug #2192811)
  • Added support for more time representations (e.g. seconds, minutes, hours, days, weeks) in addition to milliseconds for the DELAY, WAIT, and TIMEOUT options (Feature #2182713)
  • Fixed a line conversion problem on a FS COPY request when copying a file in text mode if the line endings in the file are not the same as the line ending for the source machine's operating system (Bug #1040786)
  • Updated the FS service to detect whether a file system entry is a symbolic link and to provide its link target (Feature #1906269)
  • Fixed a problem to allow STAF Java services to be registered using a java executable that is a symbolic link (Bug #2235576)
  • Fixed multi-threading problem in Perl services where STAF::DelayedAnswer never returned (Bug #2212492)
  • Improved the error message displayed by STAFLogViewer if the specified query request contains the TOTAL or STATS option (Bug #2379502)
  • Fixed a STAFLogViewer problem where it wasn't handling the -serviceName parameter correctly when invoked as a Java application (Bug #2390741)
  • Updated the STAF FAQ entry on how to fix firewall issues on Linux by updating the iptables file to allow traffic via the ports STAF uses for its tcp and ssl interfaces (Bug #2390901)
  • Added the ability to save logs as text or html files via the STAFLogViewer and provided a new Java class, STAFLogConverter, which provides this capability (Feature #2278018)
  • Fixed a segfault in STAFHandleManager::handleProcessTerminated seen on Linux machines (Patch #2390692)
  • Added STAF Perl 5.8 support for Linux AMD64, Linux IA64, AIX 32-bit, and Solaris Sparc 32/64-bit (Feature #688780)
  • Added support for Perl 5.10 on Windows 32-bit, Windows AMD64, Linux 32-bit, Linux AMD64, AIX 32-bit, Solaris Sparc 32/64-bit, and Mac OS X i386/PPC (Feature #1948077)