Hi Pascal,

I'm used to run multiple wotaskds on the same server, each has it's on
port ( start with -WOPort abcd ), for JavaMonitors I do the same.  With
this setup I can have different NEXT_ROOT, I use them as sandbox for
testing purposes.

By default Ports are binded to all IP, no matter the interfaces which
have the IP configured ( different physical interfaces, aliases, bonding
interfaces...).  For not binding ports to all IP you have to use -WOHost.

Pascal Robert a wrote:
> What will happen when running multiple wotaskds on the same server?
> Say wotaskd 1 is running on port 1085 on IP 192.168.2.3 (eth0) and
> wotaskd 2 is running on port 1090 on IP 192.168.2.3 (eth0:1)? From my
> tests, I can terminate apps running on the first IP/interface, but I
> get an "Access denied" error when I try to terminate an app running on
> eth0:1. 
Is eth0:1 really got the IP 192.168.2.3 ?  it's the same IP used for
eth0 ?  (typo ?)

_ If you want wotaskd/JavaMonitor to listen on different "IP:Port" you
need to launch them with -WOPort abcd -WOHost x.y.z.w ( use
-WODeployementConfigurationDirectory if you want to keep the same NEXT_ROOT)

_ If you want to have multiple wotaskds and a JavaMonitor on the same
server you need to launch all of them on the same port ( -WOPort) but
each wotaskd must bind his WOPort on a different IP adress, i.e. -WOHost
must be different for each wotaskd, for the JavaMonitor -WOHost doesn't
matter as there is just an only one (set WOHost for JavaMonitor if you
want to access it through a specific IP, could be useful for having
simple firewalling rules).
For avoiding (possible) race conditions while updating SiteConfig.xml,
wotaskds may have different NEXT_ROOT or may be launched with different
-WODeployementConfigurationDirectory .

Best regards

Aurelien
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to