Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 10401 invoked from network); 29 Nov 2007 19:22:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 19:22:58 -0000 Received: (qmail 75763 invoked by uid 500); 29 Nov 2007 19:22:46 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 75378 invoked by uid 500); 29 Nov 2007 19:22:45 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 75369 invoked by uid 99); 29 Nov 2007 19:22:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 11:22:45 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 19:22:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ixoxv-0001B6-55 for users@jackrabbit.apache.org; Thu, 29 Nov 2007 11:22:27 -0800 Message-ID: <14033021.post@talk.nabble.com> Date: Thu, 29 Nov 2007 11:22:27 -0800 (PST) From: qcfireball To: users@jackrabbit.apache.org Subject: RMI Observation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: qcfireball@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org I noticed that when registering a new Observer via RMI, if I do not provide a "thread trick" the Thread immediately dies, and the Observer with it. Basically I am synchronizing on an arbitrary Object, then calling 'wait'. Not a very nice solution, but it works for now. Seems like a hack to me. I guess it makes sense that the Thread would immediately die without some kind of effert. I am wondering how other people are making sure that their Observer does not die? Are there ways that are preferred over others? Is this behavior going to be the same when registering an Observer within a web container, directly using the Jackrabbit API's? -- View this message in context: http://www.nabble.com/RMI-Observation-tf4899371.html#a14033021 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.