Hi David, Thanks for the reponse. It looks like the issue was STAFCONVDIR ... but the issue was that the environment variable didn't get reset in whatever environment services run in (but it did get reset in new cmd/command windows).
Rebooting fixed the environment and STAF started. I should have thought
about rebooting... it's Windows ;)
Thank you,
Paul
From: David Bender/Austin/IBM
To: Paul Ellsworth/San Jose/i...@ibmus
Cc: [email protected]
Date: 04/21/2010 12:40 PM
Subject: Re: [staf-users] As a service, stafproc.exe looking in C:\STAF
instead of real installation directory
Paul,
Are you sure that environment variable STAFCONVDIR is set correctly on the
system? It must be set to E:\STAF\codepage
Starting STAF as a Windows service on a system with Windows and STAF
installed on E: works correctly for me, unless I delete the STAFCONVDIR
environment variable (in that scenario I get the same error you are
getting).
Thanks,
David
David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315
STAF/STAX Development Bldg. 903-5B002 (363-5315)
Austin, TX ITN: 23635315
IBM Software Group, 78758-3400 Email: [email protected]
WPLC
From: Paul Ellsworth/San Jose/i...@ibmus
To: [email protected]
Date: 04/21/2010 01:32 PM
Subject: [staf-users] As a service, stafproc.exe looking in C:\STAF
instead of real installation directory
Hello,
I encountered a machine, while installing STAF, that has Windows 2000 on
E: ... so I installed STAF to E: as well. It installed fine, and if I
simply run stafproc.exe, it starts fine.
However, when going through the staf-as-a-windows-service instructions, a
message pops up saying that STAF cannot open C:\STAF\codepage\alias.txt.
I am looking for a way to tell STAF where STAF is installed (heh), but am
not having any luck at the moment. Perhaps it is an environment issue where
something is not set by the service-runner, which is causing STAF to look
in a default directory? Hmm.
Thanks!
Paul
------------------------------------------------------------------------------
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
