[Pharo-project] [Seaside] Komanche ?

Adrian Lienhard adi at netstyle.ch
Mon Oct 12 21:27:35 UTC 2009


On Oct 12, 2009, at 23:10 , Ramiro Diaz Trepat wrote:

> Small clarification.  In my case the different VMs did not use the  
> same port
> numbers, they had different ports, indeed one of them did not even  
> have
> Seaside installed.

It does not matter what ports the second image opens during startup...  
the second VM proces would still listen on the same ports like the  
first one.

Adrian

>
> f
>
>
> On Mon, Oct 12, 2009 at 9:26 PM, John M McIntosh <
> johnmci at smalltalkconsulting.com> wrote:
>
>> Ok.
>> (a) the first problem is how the 2nd VM is launched. We actually  
>> use Apple
>> Script to re-launch the binary with the supplied image when
>> we receive the open document apple event.  The behavior of this is
>> different between 10.3, 10.4, 10.5 and I assume the 10.6 is the same
>> as 10.5 because we had reported an issue with the 10.4 behavior  
>> they fixed
>> in 10.5
>>
>> Indications are is that the apple script code executes a execv (but  
>> we are
>> not sure)
>> this then retains the open file descriptors so it retains the  
>> knowledge
>> about open sockets.
>>
>>
>> (b) I'm not sure what the behavor would be if you launch VM "A"  
>> then listen
>> on socket 8080.  Then launch VM "B" then again listen on socket 8080
>> will both virtual machines "A" and "B" attempt to service socket  
>> 8080, or
>> will VM "B" get told it cannot listen on 8080 because it does not  
>> own it?
>>
>>
>> Pending is work on a pure objective-c based squeak VM based on the  
>> the
>> iPhone work, which would alter the behaviour.
>> But if someone can answer (b) then maybe we can see about an  
>> interim fix to
>> deal with (a)
>>
>>
>> On 2009-10-12, at 1:56 AM, Adrian Lienhard wrote:
>>
>> Hi Ramiro,
>>>
>>> Yes, this is an issue of the Mac VM only.
>>>
>>> It was reported in the sense that I sent a mail with instructions to
>>> reproduce the problem to the Squeak-vm mailing list and John
>>> acknowledged the problem. I don't know whether John intends to fix
>>> this, though.
>>>
>>> Adrian
>>>
>>>
>> --
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:
>> squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>>
>>
>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list