[staf-users] How to share memory between different services

2009-06-30 Thread Lu Yu
Hi I am running STAF Framework in VMware. I have a question regarding sharing memory between different services. The problem I have is that we have maintained 4 different staf services (vmware internally developed service). In order to reduce the file size and memory usuage, we want to have a ma

Re: [staf-users] How to use DOS copy command through STAF if spaces are exists in the path?

2009-06-30 Thread Sharon Lucas
STAF provides some Java APIs for you to use as documented in the STAF Java User's Guide at http://staf.sourceforge.net/current/STAFJava.htm. One of these is the wrapData() method in the STAFUtil class. You should use that within a Java program to "wrap" option values that contain spaces (so th

[staf-users] How to share memory between different services

2009-06-30 Thread Lu Yu
Hi I am running STAF Framework in VMware. I have a question regarding sharing memory between different services. The problem I have is that we have maintained 4 different staf services (vmware internally developed service). In order to reduce the file size and memory usuage, we want to have a ma

Re: [staf-users] How to share memory between different services

2009-06-30 Thread Sharon Lucas
Are these STAF Java services you have written? Are you asking how to run them in the same JVM? If so, just make sure when the Java service is registered that they are all registered using the same JVMName option (which defaults to STAFJVM1 if OPTION JVMNAME= is not specified when registering

Re: [staf-users] How to share memory between different services

2009-06-30 Thread Lu Yu
Sharon Thanks for your reply. Here is what I want: We have 3 services implemented in STAF by Java: VM, Host, Setup. All these services have some common info such as connection anchor. But currently, when we use VM service, we have to create anchor for VM, using Host service, we need to create an

Re: [staf-users] How to share memory between different services

2009-06-30 Thread Sharon Lucas
If you wanted to use STAF to send a message (containing whatever data you want from one STAF Java service/application to another), you could use the STAF QUEUE service and submit a QUEUE request to the QUEUE service to send a message to another STAF handle's queue. Then that STAF handle can su

Re: [staf-users] How to share memory between different services

2009-06-30 Thread Sharon Lucas
No, I don't think so. -- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 Lu Yu 06/30/2009 01:11 PM To Sharon Lucas/Austin/i...@ibmus cc Subject RE: [staf-users] How to share memory between different

Re: [staf-users] How to share memory between different services

2009-06-30 Thread clayton neal
Hiya Ive a question... Whats the difference between a command request and a message on the QUEUE service? Are commands requests put on the QUEUE automatically? Is it up to the service to process its own queue? From: Sharon Lucas To: Lu Yu Cc: staf-users@li

Re: [staf-users] How to share memory between different services

2009-06-30 Thread Sharon Lucas
Whats the difference between a command request and a message on the QUEUE service? I'm not really sure what you mean. A STAF service request (aka command) is any request submitted to a STAF service. For example: STAF local QUEUE QUEUE MESSAGE "Hi" STAF local QUEUE GET WAIT 5000 STAF