Hi Kieran,

Solved, stopping apps does work now! Thank you Kieran for pointing me in the 
right direction.

Kind regards
--
Sergio


On 3 Aug 2011, at 03:03, Kieran Kelleher wrote:

> I happened to come across this today and remembered the details.
> 
> In your specific Linux server(s), create the following file (and parent 
> directories if needed)
> 
> /etc/WebObjects/Properties
> 
> BTW, this is referred to as the 'Machine Properties' file in ERXProperties. 
> Every Wonder app will read this file when it exists on a host. it is useful 
> for host-specific properties, which is exactly what IP addresses are.
> 
> In that Properties file you can define an array property containing the 
> multiple IP addresses that your host has assigned to its network interfaces, 
> for example on one of our servers, that Properties file has the following 
> contents:
> 
> admin@silicon /etc/WebObjects: cat Properties 
> # Used by Wonder's WOHostUtilities to solve wo app local ip discovery on 
> multihomed linux machines
> er.extensions.WOHostUtilities.localhostips=(192.168.3.168,192.168.1.168)
> 
> Hope that helps,
> 
> Kieran
> 
> On Jul 28, 2011, at 9:52 PM, Kieran Kelleher wrote:
> 
>> This seems to be a common problem on Linux boxes with more than one IP 
>> address, or even just virtual Linux instances.
>> 
>> Try and use the advice found at:
>> com.webobjects.appserver._private.WOHostUtilities
>> 
>> in Wonder's ERExtensions framework and see if that fixes your problem. It 
>> has fixed that problem a long time ago for me.
>> 
>> Regards, Kieran
>> 
>> 
>> On Jul 27, 2011, at 3:56 PM, Sergio Sánchez Maffet wrote:
>> 
>>> Hi guys,
>>> 
>>> I have two small problems with my deployment... I know, that this list is 
>>> the developer list, but I hope here to learn something regarding the 
>>> mechanism behind the scenes.
>>> 
>>> First problem is that stop does not work from within JavaMonitor, no error 
>>> and nothing in the logs (JavaMonitor and wotaskd). I'm using the original 
>>> JavaMonitor (5.4.3)
>>> My understanding is that JavaMonitor does send the command to the wotaskd 
>>> instance and then this one is stopping the application instance. Something 
>>> in between is wrong, but I do not know what happens behind the scenes... 
>>> and cannot solve the issue.
>>> 
>>> Second problem ist that when I kill the instance, wotaskd is trying to send 
>>> an email to mailhost, which is wrong, in SiteConfig.xml is the correct one 
>>> listed?
>>> 
>>> Both helper apps are running as user appserver on a linux box (centos 5.5).
>>> 
>>> Any help is greatly appreciated,
>>> 
>>> Kind regards,
>>> Sergio
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>> 
>>> This email sent to [email protected]
>> 
> 
> 

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

This email sent to [email protected]

Reply via email to