So you have a 32-bit version of STAF installed in C:\STAF32 and a 64-bit 
version of STAF installed in C:\STAF.  Do you really want two versions of 
STAFProc running on your machine?  If so, then each instance of STAFProc 
has to have a unique STAF_INSTANCE_NAME environment variable set in order 
to be run.  Depending on which STAF_INSTANCE_NAME is set determines which 
STAFProc instance a "local" STAF request communicates iwth.  See section "
5.1.1 Running Multiple Instances of STAFProc" in the STAF User's Guide at 
http://staf.sourceforge.net/current/STAFUG.htm#HDRSTPROC for more 
information on running multiple instances of STAFProc on the same machine.

Did you want the STAX service running using a 32-bit version of Java or a 
64-bit version of Java?  If you want the STAX service running using a 
32-bit version of Java then you need to extract the STAX zip file into the 
C:\STAF32\services directory.  Or, if you want the STAX service running 
using a 64-bit version of Java, then you need to extract the STAX zip file 
into the C:\STAF\services directory.  Also, you need to register the STAX 
and Event services in the STAF.cfg file for  the instance of STAF where 
you want the STAX/Event services registered (e.g. if on the 32-bit version 
of STAF, in the C:\STAF32\bin\STAF.cfg file, or if on the 64-bit version 
of STAF, in the C:\STAF\bin\STAF.cfg file).  Make sure that you restart 
the STAFProc instance after making any changes to its STAF.cfg file.

To verify the STAX and Event services are registered, then submit a "STAF 
local SERVICE LIST SERVICES" request after making sure that you have set 
the STAF_INSTANCE_NAME environment variable to the STAF instance name of 
the STAFProc instance where you registered the STAX/Event services (and 
the rest of the STAF environment variables set for the proper STAF 
instance), so that a "local" STAF request is communicating to the correct 
STAFProc instance.  Then you should be able to start the STAX Monitor from 
this command prompt now that a "local" STAF reuest is commicating with the 
STAFProc instance where the STAX/Event services are registered.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   <jay.hamilton-r...@navis.com>
To:     <staf-users@lists.sourceforge.net>, 
Date:   09/13/2011 09:14 AM
Subject:        [staf-users] STAX install on Win7/64-bit computer



I’ve had STAF/STAX installed and working on my older WinXP/32-bit computer 
for years. In upgrading to a new computer/OS, I’ve had some problems. I’m 
using: STAF344 and STAX345 and EventManager336 and JDK 1.6.0_24.
 
Because I’m working with a 32-bit application on my 64-bit computer, I 
first installed the full STAF344 32-bit version to C:\STAF32 folder, then 
removed the added STAF references from CLASSPATH, PATH, and STAFCONVDIR. I 
then installed the 64-bit application to C:\STAF.
 
Next, I created a services folder in C:\STAF, and placed the stax and 
eventmanager folders there.
 
Launching STAF worked fine (the message “STAFProc version 3.4.4 
initialized” was shown). Staf local ping ping returns “PONG”. 
 
Unfortunately, launching STAX(“cd c:staf/services/stax;java –jar 
STAXMon.jar”) has problems:
 
STAX Service Machine: local
STAX Service Name: STAX
 
WARNING: The STAX services is not registered on the specified machine.
 
Verify the STAX Monitor’s properties.
 
The STAX 3 Job Monitor shows the error dialog (“Error registering Job 
Monitor” Could not register for Job Events RC = 2”).
 
Staf local service list returns:
 
Response
--------
Name      Library    Executable
--------- ---------- ----------
DELAY     <Internal> <None>
DIAG      <Internal> <None>
ECHO      <Internal> <None>
FS        <Internal> <None>
HANDLE    <Internal> <None>
HELP      <Internal> <None>
LIFECYCLE <Internal> <None>
MISC      <Internal> <None>
PING      <Internal> <None>
PROCESS   <Internal> <None>
QUEUE     <Internal> <None>
SEM       <Internal> <None>
SERVICE   <Internal> <None>
SHUTDOWN  <Internal> <None>
TRACE     <Internal> <None>
TRUST     <Internal> <None>
VAR       <Internal> <None>
 
I’ve re-installed everything a few times, rebooted, etc. I’ve seen a 
similar problem documented (http://communities.vmware.com/message/1571910) 
but with no resolution. 
 
I’m hoping that someone can help me figure out my configuration mis-steps. 
Thank You.
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to