Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

CVS update of BRANCH_sequoia-2_10 <src>/org/continuent/sequoia/controller/v: msg#00079

db.sequoia.cvs

Subject: CVS update of BRANCH_sequoia-2_10 <src>/org/continuent/sequoia/controller/virtualdatabase (1 file)

Date: Monday, November 20, 2006 @ 16:26:07
Author: olivier
Path: .../sequoia/src/org/continuent/sequoia/controller/virtualdatabase
Tag: BRANCH_sequoia-2_10

Modified: VirtualDatabaseWorkerThread.java (1.183.2.5 -> 1.183.2.6)

SEQUOIA-777/UNICLUSTER-74:
- now considering an unexpected client socket close
as an implicit close command.


----------------------------------+
VirtualDatabaseWorkerThread.java | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)


Index:
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java
diff -u
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java:1.183.2.5

sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java:1.183.2.6
---
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java:1.183.2.5
Mon Nov 13 18:44:23 2006
+++
sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java
Mon Nov 20 16:26:07 2006
@@ -417,13 +417,16 @@
catch (NullPointerException e)
{
// SEQUOIA-777: this NPE happens when this thread is
blocked
- // on in.read() and 'in' gets closed by the shutdown
thread.
- // This is a known issue with jdk < 1.5, see
SEQUOIA-777.
- // In this shutdown case, the flag isKilled is set
- // and we can exit the while loop.
+ // on in.read() and 'in' gets closed either explicitly
+ // by the shutdown thread or by an unexpected client
socket death.
+ // The NPE is a known issue with jdk < 1.5, see
SEQUOIA-777.
+ // In the shutdown case, the flag isKilled is set
+ // and we can exit the while loop. Otherwize, the
client socket
+ // died unexpectedly and we consider this is a CLOSE.
if (isKilled)
continue;
- throw e;
+ logger.warn("Client unexpectedly dropped connection.
Closing.");
+ command = Commands.Close;
}
}


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation