From users-return-8172-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Jul 03 15:31:10 2008 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 24781 invoked from network); 3 Jul 2008 15:31:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 15:31:10 -0000 Received: (qmail 7978 invoked by uid 500); 3 Jul 2008 15:31:09 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 7958 invoked by uid 500); 3 Jul 2008 15:31:09 -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 7947 invoked by uid 99); 3 Jul 2008 15:31:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 08:31:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rhuddusa@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 15:30:18 +0000 Received: by fg-out-1718.google.com with SMTP id l27so619077fgb.43 for ; Thu, 03 Jul 2008 08:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=wA+ebe+ZktjmCeJ8d/dD1y3/aMj0Q4LK8eIWyZxuhck=; b=lHQdvn0z39G3rOqQwe/ZcZWt9uAvQUr88dlhX0pPvvTTnNmSgWrLaa3CBofyb3vv/t sI7VgRbiA83a7157qDChI3/qe4AmT2xXk9zoXOBA56e1w5d//HfnSBHxsCkSsLgIE0ck 0OY3UdG2DWC51X8RLkcrNU0V4yYIRTJM9fJ2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Bp0BQAEi8Fc+H2pAVRi4DUiVebaKJy9y57Kdcc2H1s3PSED4zeT8rRPWgNLWp6mtPY 7FOryAV1QmdYChRdoz2kz//vEAS4l0SezYJT4USIqcMT/vOpGj46KGLwggdDI5qoagRk wdk/8Wazmixl2vJhssuYSkU+wyq7X49Yd1mAQ= Received: by 10.86.98.14 with SMTP id v14mr145566fgb.74.1215099038278; Thu, 03 Jul 2008 08:30:38 -0700 (PDT) Received: by 10.86.53.13 with HTTP; Thu, 3 Jul 2008 08:30:38 -0700 (PDT) Message-ID: <548938550807030830g165b4f77pa04f12ced5d3606e@mail.gmail.com> Date: Thu, 3 Jul 2008 11:30:38 -0400 From: "Richard Huddleston" To: "Jackrabbit - Users" Subject: JBoss 5 shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org When doing a shutdown of JBoss 5 I see the following issue with Jackrabbit. 11:26:29,207 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS' 11:26:29,207 INFO [RepositoryImpl] Shutting down repository... 11:26:29,222 INFO [IndexMerger] IndexMerger terminated 11:26:29,222 INFO [SearchIndex] Index closed: R:\Temp\/jackrabbit5/repository/index 11:26:29,222 INFO [RepositoryImpl] shutting down workspace 'default'... 11:26:29,222 INFO [ObservationDispatcher] Notification of EventListeners stopped. 11:26:29,222 INFO [IndexMerger] IndexMerger terminated 11:26:29,238 INFO [SearchIndex] Index closed: R:\Temp\jackrabbit5\workspaces\default/index 11:26:29,253 INFO [TxConnectionManager] throwable from unregister connection >>> THEN TERRIBLE LOG MESSAGES I'm using the DefaultDS for jackrabbit persistence / filesystem. As you can see, JBoss is unbinding the DefaultDS before the shutdown of jackrabbit. I have already added the following line to my jcr-ds.xml: jboss.jca:service=DataSourceBinding,name=DefaultDS which correctly starts jackrabbit after the DefaultDS is bound: Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' Why is this happening and how can I fix it?