Results 1 to 6 of 6

Thread: ICE 3.3.1 BUG: TcpTransceiver.cpp:158:Ice::ConnectionLostExceptio n:

  1. #1
    sgsoft's Avatar
    sgsoft is offline Registered User
    Name: Samon Sun
    Organization: Freelance
    Project: Remote RFID Reader
    Join Date
    May 2007
    Location
    Beijing,China
    Posts
    28

    ICE 3.3.1 BUG: TcpTransceiver.cpp:158:Ice::ConnectionLostExceptio n:

    Ice version:3.3.1
    VC2005
    Win7
    ---------------------------
    Code:
    const string& CmnServiceI::RefreshClientsInfo()
    {
     
    	IceUtil::RWRecMutex::WLock lock(_rwMutex);  
    	connectionInfoBuff.clear();
    	connectionInfoBuff.append(Poco::format("Server ID:%s Total Clients:%d\r\n",serverId,(int)connectedClients.size()));
    	connectionInfoBuff.append("Refresh at  ");
    	Poco::LocalDateTime now;
    	 
    	connectionInfoBuff.append(Poco::DateTimeFormatter::format(now,Poco::DateTimeFormat::SORTABLE_FORMAT));
    	connectionInfoBuff.append("\r\n==================================================\r\n");
    	int index=0;
    	for(StringRemoteControlablePrxMap::const_iterator it=connectedClients.begin();
    				it!=connectedClients.end();++it)
    	{
    	 
    		connectionInfoBuff.append("Client ID:");
    		connectionInfoBuff.append(it->first);
    		connectionInfoBuff.append(":\r\n");
    		//connectionInfoBuff.append(it->second->ice_getConnection()->toString());
    		connectionInfoBuff.append("\r\n--------------------------------------------------\r\n");			 
    	}
    	//Poco::Logger::get(TX_LOGGER_NAME).notice(connectionInfoBuff);
    	return connectionInfoBuff;
    }
    above code is on server side. when client connect the server,this function will be called.But sometimes ,the Ice runtime will throw below exception:

    Code:
     warning: connection exception:
    TcpTransceiver.cpp:158: Ice::ConnectionLostException:
    connection lost: recv() returned zero
    May be this is a bug?
    REF:Compression issue with PHP client (TcpTransceiver.cpp:158: ConnectionLostException)
    ------------------------------------------------
    Freelance software developer working on a new device:
    Remote RFID Reader.
    soon after ,the projiect source can be downloaded from:
    http://code.google.com/p/sgsoft-las/
    Wellcome join.

  2. #2
    sgsoft's Avatar
    sgsoft is offline Registered User
    Name: Samon Sun
    Organization: Freelance
    Project: Remote RFID Reader
    Join Date
    May 2007
    Location
    Beijing,China
    Posts
    28

    Exclamation

    why no one reply to me?
    ------------------------------------------------
    Freelance software developer working on a new device:
    Remote RFID Reader.
    soon after ,the projiect source can be downloaded from:
    http://code.google.com/p/sgsoft-las/
    Wellcome join.

  3. #3
    sgsoft's Avatar
    sgsoft is offline Registered User
    Name: Samon Sun
    Organization: Freelance
    Project: Remote RFID Reader
    Join Date
    May 2007
    Location
    Beijing,China
    Posts
    28
    Except for ice_getConnection,there are any other way to get the connection infomation?
    ------------------------------------------------
    Freelance software developer working on a new device:
    Remote RFID Reader.
    soon after ,the projiect source can be downloaded from:
    http://code.google.com/p/sgsoft-las/
    Wellcome join.

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hello Samson Sun,

    I sent you an email last week, at the address you used to register with these forums.

    If you didn't receive this email, please update your email address in your profile, and contact us at info@zeroc.com.

    Thanks,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  5. #5
    sgsoft's Avatar
    sgsoft is offline Registered User
    Name: Samon Sun
    Organization: Freelance
    Project: Remote RFID Reader
    Join Date
    May 2007
    Location
    Beijing,China
    Posts
    28
    I reply your email!
    Thanks for your suport!
    ------------------------------------------------
    Freelance software developer working on a new device:
    Remote RFID Reader.
    soon after ,the projiect source can be downloaded from:
    http://code.google.com/p/sgsoft-las/
    Wellcome join.

  6. #6
    sgsoft's Avatar
    sgsoft is offline Registered User
    Name: Samon Sun
    Organization: Freelance
    Project: Remote RFID Reader
    Join Date
    May 2007
    Location
    Beijing,China
    Posts
    28
    IceUtil::RWRecMutex::WLock has bug.
    ------------------------------------------------
    Freelance software developer working on a new device:
    Remote RFID Reader.
    soon after ,the projiect source can be downloaded from:
    http://code.google.com/p/sgsoft-las/
    Wellcome join.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-18-2008, 04:13 AM
  2. Bug in Freeze::MapI.cpp
    By Edwin Rodriguez in forum Patches
    Replies: 0
    Last Post: 05-10-2007, 03:14 PM
  3. slice2cpp made cpp file bug
    By hyz1840 in forum Bug Reports
    Replies: 1
    Last Post: 05-27-2006, 11:24 AM
  4. Ice 3.0.0 IceGrid/ServerI.cpp bug
    By StuartA in forum Bug Reports
    Replies: 1
    Last Post: 11-22-2005, 04:15 AM
  5. A small bug in IcePacK ApplicationRegistryI.cpp
    By Yunqiao Yin in forum Bug Reports
    Replies: 1
    Last Post: 09-07-2005, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •