Thanks for the answer!

I applied the patch and compiled mico. I checked the paths and rebuild
the server and client apps. There is still the same error. :(

My "client" and "server" apps both are client as well as server. Both
spawn a thread (Qt QThread) for the following reason:

- the "server" app spawns a thread to block for ordinary incoming method
calls (from the "client" app)
- the "client" app spawns a thread to block for incoming events from the
event service (supplied by the "server" app)

I discovered that server calls always work in only one direction when
distributing my apps. But the apps work well together on localhost. That
means:

- the "client" app can call the corba server of the "server" app, but
the "server" app can not call the server part of the "client" app
- the "server" app can call the corba server of the "client" app, but
not vice versa

All firewalls a definitely down, also I tried more pairs of computers
and tested with a FTP server on a random high port.

Resolving and channel creating seems to work correctly (I always check
with nsadmin). The programms just get stuck in "push(CORBA::Any)" or in
the ordinary corba interface method of the "server" app. On some
combinations of computers I get a communication exception after a while,
but sometimes it seems to stick forever.

I don't know where to search for the problem... :/

Thanks
Patrick


Karel Gardas wrote:
> 
> Hi Patrick,
> 
> it's probably a bug, the question is if it is in the event service or in
> MICO core. Could you be so kind and test the patch here:
> 
> http://www.mico.org/pipermail/mico-devel/2006-August/009775.html
> http://www.mico.org/pipermail/mico-devel/2006-August/009776.html
> 
> This might fix related issue in MICO core.
> The other possibility is that the issue is caused by buggy combination
> of event service dispatcher and threading model. Do you have also linux
> setup where you will be able to perform the same test? It might be
> interesting to know if it is win32 specific or general issue...
> 
> Please keep us posted!
> Karel
> 
> On Thu, 26 Oct 2006, Patrick Gräbel wrote:
> 
>>
>> Hi!
>>
>> I implemented a push-supplier and a push-consumer (Win/VC++ 2003). The
>> supplier creates an event channel. The consumer(s) successfully
>> receive(s) push events from the supplier, but this only works for
>> consumers which are on the same computer as the supplier. The method
>> "push" hangs in the following cases:
>>
>> - a consumer on a different computer is connected to the channel
>> - I quit a consumer that was connected to the channel (either on
>> supplier's host or on an external computer)
>>
>> The method push just blocks and does not return. Furthermore I have to
>> restart the event service and recreate the channel sometimes.
>>
>> The MICO documentation is rare at this topic. Does anyone have an idea
>> where to search for the cause?
>>
>> Thanks
>> Patrick
>>
>> _______________________________________________
>> Mico-devel mailing list
>> [email protected]
>> http://www.mico.org/mailman/listinfo/mico-devel
>>
> 
> -- 
> Karel Gardas                  [EMAIL PROTECTED]
> ObjectSecurity Ltd.           http://www.objectsecurity.com

_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to