Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-04-2005
wgwolf wgwolf is offline
Registered User
 
Name: Wolfgang
Organization: Uni Erlangen - Germany
Project: .
 
Join Date: Oct 2005
Location: Nuremberg, Germany
Posts: 10
No ice_collocationOptimization method in python

Hello,

I have got the problem that the client and servant runs in the same process and throws the collocationOptimizationException. For this reason I want to disable the collocation with the method "proxy.ice_collocationOptimization(bool b)" in python as explained in the manual. But in python this method doesn't exist! There are several implemented as described in chapter 29.8, but not all, like the ice_collocationOptimization, are available.

How can I disable collocation?

Thanks!
Wolfgang
__________________
University of Erlangen-Nuremberg
Institute for Manufacturing Automation and Production Systems
Egerlandstr. 7-9
D-91058 Erlangen
Germany
URL: www.faps.uni-erlangen.de
Reply With Quote
  #2 (permalink)  
Old 11-04-2005
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi Wolfgang,

I'm afraid that Ice for Python does not currently allow you to use a proxy to invoke an operation on a local servant. The good news is that this limitation will be removed in the next Ice release.

Meanwhile, you have a few alternatives. For example, you can invoke on the servant directly, instead of using a proxy. Or, you could create your proxy using a different communicator instance.

Hope that helps,
- Mark
Reply With Quote
  #3 (permalink)  
Old 11-04-2005
wgwolf wgwolf is offline
Registered User
 
Name: Wolfgang
Organization: Uni Erlangen - Germany
Project: .
 
Join Date: Oct 2005
Location: Nuremberg, Germany
Posts: 10
When will be this new release available?


Quote:
Originally Posted by mes
The good news is that this limitation will be removed in the next Ice release.
__________________
University of Erlangen-Nuremberg
Institute for Manufacturing Automation and Production Systems
Egerlandstr. 7-9
D-91058 Erlangen
Germany
URL: www.faps.uni-erlangen.de
Reply With Quote
  #4 (permalink)  
Old 11-04-2005
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Quote:
Originally Posted by wgwolf
When will be this new release available?
See this thread.

- Mark
Reply With Quote
  #5 (permalink)  
Old 12-06-2005
wgwolf wgwolf is offline
Registered User
 
Name: Wolfgang
Organization: Uni Erlangen - Germany
Project: .
 
Join Date: Oct 2005
Location: Nuremberg, Germany
Posts: 10
ice_collocationOptimization in Python missing

Hi Mark,

now we have Ice 3.0 installed, but the ice_collocationOptimization-method is still missing in Python.
What can we do?

Wolfgang

Quote:
Originally Posted by mes
See this thread.

- Mark
__________________
University of Erlangen-Nuremberg
Institute for Manufacturing Automation and Production Systems
Egerlandstr. 7-9
D-91058 Erlangen
Germany
URL: www.faps.uni-erlangen.de
Reply With Quote
  #6 (permalink)  
Old 12-06-2005
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Quote:
Originally Posted by wgwolf
now we have Ice 3.0 installed, but the ice_collocationOptimization-method is still missing in Python.
What can we do?
That's correct, ice_collocationOptimization is not provided because collocated invocations cannot be optimized in the current Ice for Python implementation. In prior releases, any attempt to invoke an operation on a collocated servant caused an exception. As of Ice 3.0, these invocations are supported, but they are not optimized. In other words, an invocation on a local servant is still marshaled and sent "over the wire" to the object adapter.

In short, you should not need to modify your application to invoke on a local servant. Have you tried running your application with Ice 3.0?

Take care,
- Mark
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asynchronous Method Invocation Samples pradeep Help Center 1 11-23-2006 05:55 AM
NoObjectFactoryException for method-less class borax00 Help Center 7 07-20-2006 06:07 AM
OneWay Method invokation NOT returning galbe Bug Reports 7 10-30-2003 10:07 AM
Documentation on Asynchronous Method Invocation csapuntz Help Center 1 05-07-2003 04:59 PM


All times are GMT -4. The time now is 06:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.