Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 83808 invoked from network); 5 Nov 2007 14:07:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 14:07:56 -0000 Received: (qmail 1209 invoked by uid 500); 5 Nov 2007 14:07:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 874 invoked by uid 500); 5 Nov 2007 14:07:43 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 865 invoked by uid 99); 5 Nov 2007 14:07:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 06:07:43 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 05 Nov 2007 14:07:45 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ip2bt-0005wf-JP for users@activemq.apache.org; Mon, 05 Nov 2007 06:07:25 -0800 Message-ID: <13587446.post@talk.nabble.com> Date: Mon, 5 Nov 2007 06:07:25 -0800 (PST) From: Johan E To: users@activemq.apache.org Subject: Hang during startup of internal activemq in appserver cluster using persistance. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: johan.eke@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Environment: WebSphere Applicationserver 6.1 ND Oracle 10g ActiveMQ 4.1.1 Using activemq_ra resource adapter. ActiveMQ configuration: Persistans using Oracle database Two questions. #1. When starting up the cluster of application servers only one application server starts up correctly. The rest of thes servers hang. Doing a thread dump on the jvm for the hanging applicationservers shows the startup thread hanging on the class DefaultDatabaseLocker ... ..... boolean answer = statement.execute(); <--- Hangs here ..... ... Should this really be executing in the startupthread in the resource adapter and not spawned of into a separate process ? Since this code allways will hang in a wait since the first server has done "select for update" ? #2. Would the code above not result in a hanging thread in all JVM:s except the one owning the lock? What happens when we want to stop the application in the JEE container would it not result in the shutdown also hanging waiting for this thread ? -- View this message in context: http://www.nabble.com/Hang-during-startup-of-internal-activemq-in-appserver-cluster-using-persistance.-tf4751821s2354.html#a13587446 Sent from the ActiveMQ - User mailing list archive at Nabble.com.