Page 1 of 1

Multiple Clients Running On Same Machine

PostPosted: Thu May 28, 2009 6:08 pm
by lhale
Is it okay to run multiple clients on one machine. For example I might have different users logged in to each instance. This would be very helpful if this is okay.

Thanks

Re: Multiple Clients Running On Same Machine

PostPosted: Thu May 28, 2009 6:35 pm
by jcompagner
You can have multiply clients on 1 machine just fine, thats not a problem at all.

Re: Multiple Clients Running On Same Machine

PostPosted: Thu May 28, 2009 6:52 pm
by lhale
How about to the same soloution, just using different users?

Re: Multiple Clients Running On Same Machine

PostPosted: Thu May 28, 2009 7:53 pm
by ptalbot
It works fine, I just tested it with 4.1.3! (on Win XP)

Which makes me ask: what about the "servoy.allowExistingClientActivate" (true/false) flag in the servoy-admin page?
What does it really do?
I thought that it will not allow me to open more than one client, so I tried it with true or false and it doesn't change a thing: I'm still allowed to open the same smart client solution more than once on the same computer.

I would have thought that setting this flag to false would have setup the java web start app to register as a singleton, via SingleInstanceService, but it doesn't seem to work this way.

Could you tell us more about this flag?

Thanks in advance,

Re: Multiple Clients Running On Same Machine

PostPosted: Thu May 28, 2009 8:35 pm
by jcompagner
that setting doesnt have anything to do with multiply clients or not

It is just a setting if it is allowed to activate (run a method) from an url.

For example if you have a case system client open and there is a global method that takes an argument that is a caseid
then you can have an url with solution name and method name and that caseid argument. Then servoy will run that method back in your client instead of that another client is opened that executes that method with that argument.

Re: Multiple Clients Running On Same Machine

PostPosted: Thu May 28, 2009 8:48 pm
by ptalbot
I see 8) ! Thanks for the clarification!