I am using STAF 3.4.1 on 32 bit CentOS 5.2 machine with Sun Java 1.6.0_11

I am having this issue.
I can load the service by adding the entry 
SERVICE serv LIBRARY JSTAF EXECUTE /opt/serv.jar OPTION JVMName=SERVJVM

I can then remove it using the command in
staf local service remove service serv

But when I try to add the service again by issuing the command
staf local service add SERVICE serv LIBRARY JSTAF EXECUTE /opt/serv.jar OPTION 
JVMName=SERVJVM

I get this error:
Error submitting request, RC: 27
Additional info
---------------
27:Error constructing service, JSTAF, Result: You may not specify the JVM or J2 
options without specifying a new JVMNAME

The jvm log which is there in the location 
/tmp/staf/lang/java/jvm/SERVJVM does not show anything. 

Am I missing something here which I need to take care of?

Thanks
Arvind



      

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to