Hi,

I used STAX on WinXP before and now I am trying to use STAX on my Win7 64bit 
machine, and have problem starting the STAFProc.

##########################################################
C:\Users\ewei>java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)

C:\Users\ewei>STAFProc

Error on Service definition line:

SERVICE STAX LIBRARY JSTAF EXECUTE {STAF/Config/STAFRoot}/services/stax/STAX.jar
 OPTION J2=-Xmx384m

Error code: 27
Reason    : Error constructing service, JSTAF, Result: Unable to connect to JVM

Error in configuration file: C:\STAF\bin\STAF.cfg
##########################################################

I have added "C:\Program Files (x86)\Java\jre6\bin" into system path, and I 
have only added the following lines into the staf.cfg:

SERVICE STAX LIBRARY JSTAF EXECUTE 
{STAF/Config/STAFRoot}/services/stax/STAX.jar \
                OPTION J2=-Xmx384m
SERVICE EVENT LIBRARY JSTAF EXECUTE \
                {STAF/Config/STAFRoot}/services/stax/STAFEvent.jar
SET MAXQUEUESIZE 10000

I'm wondering if STAX is supported on Win7 64? If so, what did I miss?

Thanks,
Eileen



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to