The problem appears to be that you're using an old version of STAF, V3.2.2, released 5/17/2007. Support for Windows Server 2008 was not added to STAF until V3.2.4 released on 12/12/2007 as shown by the STAF History file at http://staf.sourceforge.net/history.php:
Version 3.2.4: 12/12/2007 + Added support for STAF on Windows Server 2008 (Feature #1797122) Please upgrade to the latest version of STAF. The current version of STAF is V3.3.3. STAF correctly recognized the operating system on our Windows Server 2008 machines running STAF V3.2.4 or later. -------------------------------------------------------------- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 Joseph J Veilleux/Lexington/i...@ibmus 05/28/2009 08:41 AM To "STAF-USERS " <staf-users@lists.sourceforge.net> cc Joseph J Veilleux/Lexington/i...@ibmus Subject [staf-users] Problem with STAF/Config/OS/Name giving 'WinVista' on Windows 2008 I have STAF version 3.2.2 installed on several Windows Server 2008 systems and when I reference the variable STAF/Config/OS/Name, it returns the token 'WinVista' instead of something like "Win2008". This is causing a test of mine to mis-identify the OS and mayhem ensues (it reports that I'm trying to run the Domino server software on a desktop OS, which is not supported). The problem is evident from my program (a STAX job) or even from the command line: Z:\SHARE\Utilities>staf afw2008b var list Response -------- STAF/Config/BootDrive : C: STAF/Config/CodePage : IBM-437 STAF/Config/ConfigFile : C:\STAF\bin\STAF.cfg STAF/Config/DefaultAuthenticator: none STAF/Config/DefaultInterface : tcp STAF/Config/InstanceName : STAF STAF/Config/Machine : afw2008b.notesdev.ibm.com STAF/Config/MachineNickname : afw2008b.notesdev.ibm.com STAF/Config/Mem/Physical/Bytes : 2146189312 STAF/Config/Mem/Physical/KB : 2095888 STAF/Config/Mem/Physical/MB : 2046 STAF/Config/OS/MajorVersion : 6 STAF/Config/OS/MinorVersion : 0 STAF/Config/OS/Name : WinVista STAF/Config/OS/Revision : 6001 STAF/Config/Sep/Command : & STAF/Config/Sep/File : \ STAF/Config/Sep/Line : STAF/Config/Sep/Path : ; STAF/Config/STAFRoot : C:\STAF STAF/Config/StartupTime : 20090527-06:37:11 STAF/DataDir : C:\STAF\data\STAF STAF/Env/ALLUSERSPROFILE : C:\ProgramData STAF/Env/APPDATA : C:\Users\Administrator\AppData\Roaming STAF/Env/CLASSPATH : C:\STAF\bin\JSTAF.jar;C:\STAF\samples\demo\STAFDemo.jar STAF/Env/CLIENTNAME : STX STAF/Env/CommonProgramFiles : C:\Program Files\Common Files STAF/Env/CommonProgramFiles(x86): C:\Program Files (x86)\Common Files STAF/Env/COMPUTERNAME : AFW2008B STAF/Env/ComSpec : C:\Windows\system32\cmd.exe STAF/Env/FP_NO_HOST_CHECK : NO STAF/Env/HOMEDRIVE : C: STAF/Env/HOMEPATH : \Users\Administrator STAF/Env/LOCALAPPDATA : C:\Users\Administrator\AppData\Local STAF/Env/LOGONSERVER : \\AFW2008B STAF/Env/NUMBER_OF_PROCESSORS : 2 STAF/Env/OS : Windows_NT STAF/Env/Path : C:\STAF\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem STAF/Env/PATHEXT : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC STAF/Env/PROCESSOR_ARCHITECTURE : AMD64 STAF/Env/PROCESSOR_IDENTIFIER : Intel64 Family 6 Model 15 Stepping 8, GenuineIntel STAF/Env/PROCESSOR_LEVEL : 6 STAF/Env/PROCESSOR_REVISION : 0f08 STAF/Env/ProgramData : C:\ProgramData STAF/Env/ProgramFiles : C:\Program Files STAF/Env/ProgramFiles(x86) : C:\Program Files (x86) STAF/Env/PUBLIC : C:\Users\Public STAF/Env/SESSIONNAME : RDP-Tcp#0 STAF/Env/STAFCONVDIR : C:\STAF\codepage STAF/Env/SystemDrive : C: STAF/Env/SystemRoot : C:\Windows STAF/Env/TCLLIBPATH : C:\STAF\bin STAF/Env/TEMP : C:\Users\ADMINI~1\AppData\Local\Temp\2 STAF/Env/TMP : C:\Users\ADMINI~1\AppData\Local\Temp\2 STAF/Env/USERDOMAIN : AFW2008B STAF/Env/USERNAME : Administrator STAF/Env/USERPROFILE : C:\Users\Administrator STAF/Env/VS90COMNTOOLS : c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\ STAF/Env/windir : C:\Windows STAF/Version : 3.2.2 In case it adds insight, here is a small test program that I've run on the system: ...and here is its output when I run it on the target system: OS Name: Microsoftr Windows Serverr 2008 Enterprise OS Version: 6.0.6001 Total Physical Memory: 2146189312 Computer Name: AFW2008B Computer Domain: notesdev.ibm.com User: Administrator User Domain: AFW2008B User Profile Path: C:\Users\Administrator Wow... I hadn't noticed that... check out the typos in the OS Name... have to look into where that's coming from... but that's probably not relevant to our current issue... Do you have other reports of this problem? If so, is there a bug report or feature request somewhere that I could track for its resolution? If not, then other people must be doing this with success so there must be something wrong with the way the OS is set up, or the way STAF is installed/configured, or something... any suggestions would be appreciated. I did search on sourceforge.net, and found the following: Feature ID 1797122 is for the original support (closed a long time ago -- 12/5/2007) Feature ID 2502202 seems to address a problem distinguishing between Win2008 and Window7 (just closed a few days ago -- 5/15/2009) The first item is probably not applicable since it was resolved so long ago, it's probably incorporated into my version of STAF, wouldn't you think? ...and the latter one is vaguely related but I would expect it to cause a problem between Windows7 and Win2008, not between Win2008 and WinVista. Please advise... ---------------------------------------------------------------------------------------- Joe Veilleux IBM/Lotus Domino Server Quality Engineering 5 Technology Park Drive Westford MA 01886 Email: joeveill...@us.ibm.com Attachment GetSystemInfo.vbs contains a potentially harmful file type extension and was removed in accordance with IBM IT content security practices. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users