Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-21-2005
umber umber is offline
Registered User
 
 
Join Date: Nov 2004
Posts: 9
Question about the bidir demo program

I am playing with the java bidir demo program. The program works fine in the original form. [I just tried the C++ version, it has the same problem.]

But I found that if I made the Server wait longer (e.g. 300 seconds) to call the Client's callback, there will be an Ice.CloseConnectionException exception and the client would be removed from the Server's list. I am wondering if this is a bug and how I can make the wait time longer. I am sorry if this is mentioned in the manual, I am very new to the whole topic.

Thank you very much!
__________________
Guo Yang
New Jersey Institute of Technology
http://solar.njit.edu/

Last edited by umber : 07-21-2005 at 02:43 PM.
Reply With Quote
  #2 (permalink)  
Old 07-21-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

I suspect you're seeing the connection being closed by the Ice run time's active connection management (ACM). ACM should be disabled when using bidirectional connections. I see that the configuration file for this demo does not disable it, which is a bug that we will fix. The configuration file should contain the following property:

Ice.ACM.Client=0

Try adding that to your configuration file to see if the problem is resolved.

Thanks for bringing this to our attention.

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 07-21-2005
umber umber is offline
Registered User
 
 
Join Date: Nov 2004
Posts: 9
Hi, Mark:

Thank you very much for your prompt reply. The problem was solved after I disabled the ACM for the client. And I also found related discussion in the manual.

Thanks again.

Guo
__________________
Guo Yang
New Jersey Institute of Technology
http://solar.njit.edu/
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
Run demo program error hero107 Help Center 1 02-28-2006 02:59 AM
problem with demo bidir kan Help Center 5 10-31-2005 03:41 AM
A question about Client and Server program in different host ehero Help Center 1 03-24-2005 05:57 AM
Problem With ICE BiDir in v2.1.0 chuatecksiong Help Center 2 03-14-2005 10:50 PM
Hello Demo Question Jennie Help Center 9 10-21-2004 07:54 PM


All times are GMT -4. The time now is 10:36 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.