Hi, When you receive the second error ("Unable to connect to JVM "), there should be additional information in the JVM log. This will be located in {STAF/Config/STAFRoot}/data/STAF/lang/java/jvm/STAFJVM1/JVMLog.1. Please show us the additional information.
Also, what is the output of "java -version", and what are the contents of file {STAF/Config/STAFRoot}/install.properties ? Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com From: Nikunja B Das <nikun...@in.ibm.com> To: STAF <staf-users@lists.sourceforge.net> Cc: Ahmed Abdel-Baky <ab...@eg.ibm.com> Date: 01/22/2010 08:34 AM Subject: [staf-users] STAFProc giving error in windows machine(cannot connect to JVM) Hello, I am tryting to start the STAF services from windows machine.. First step ------------ C:\Users\db2admin>STAFProc I got this error Error on Service definition, service event library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/ Sep/File}services{STAF/Config/Sep/File}event{STAF/Config/Sep/File}STAFEvent.jar 27:Error constructing service, JSTAF, Result: Error starting a process for the JVM using JVMName: ST AFJVM1, JVM: java, JVMOptions: , RC: 10, Result: Error starting the process. CreateProcess failed w ith OS RC 2: The system cannot find the file specified. Invalid command: java com.ibm.staf.service.STAFServiceHelper STAFJVM1 Make sure the java executabl e is in the PATH. Error reading config file after setting the path as below set PATH=C:\Program Files (x86)\Java\jre6\bin;%PATH% C:\Users\db2admin>STAFProc after 30 seconds stafproc exits with the following error: Error on Service definition, service event library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/ Sep/File}services{STAF/Config/Sep/File}event{STAF/Config/Sep/File}STAFEvent.jar 27:Error constructing service, JSTAF, Result: Unable to connect to JVM Error reading config file here is my current configfile: ----------------- # Enable TCP/IP connections interface tcp library STAFTCP OPTION CONNECTTIMEOUT=30000 # Set the machine nickname (replace this with first part of the machine name) MachineNickname hamburg.in.ibm.com # Default processes to run in the same console as STAF Set DEFAULTSAMECONSOLE # Enable switching users for processes Set PROCESSAUTHMODE Windows # Turn on tracing of internal errors and deprecated options trace enable tracepoints "error deprecated" # Default Service Loader Service serviceloader library STAFDSLS # Set trust levels for machines and users trust Level 5 Machine local://local trust Level 5 Machine *.ibm.com trust Level 5 Machine 9.* ### Register external services ### # Register the Event service service event library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/Sep/File}services{STAF/Config/Sep/File}event{STAF/Config/Sep/File}STAFEvent.jar # Register the FSExt service service fsext library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/Sep/File}services{STAF/Config/Sep/File}fsext{STAF/Config/Sep/File}STAFFSExt.jar # Register the FTP service service FTP library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/Sep/File}services{STAF/Config/Sep/File}ftp{STAF/Config/Sep/File}STAFFTP.jar # Register the HTTP service service HTTP library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/Sep/File}services{STAF/Config/Sep/File}http{STAF/Config/Sep/File}STAFHTTP.jar # Register the STAX service service stax library JSTAF execute {STAF/Config/STAFRoot}{STAF/Config/Sep/File}services{STAF/Config/Sep/File}stax{STAF/Config/Sep/File}STAX.jar \ PARMS "PythonOutput JobUserLogAndMsg \ ClearLogs Enabled" Please let me know what will be the problem ? Actually it was working previously, I am trying to run some job by using stax monitor so I installed the JRE after that I am getting this error mentioned in blue in the mail . Thanks & Regards, Nikunja Das ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<image/gif>>
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users