Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 65600 invoked from network); 7 Mar 2007 15:40:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2007 15:40:42 -0000 Received: (qmail 27645 invoked by uid 500); 7 Mar 2007 15:40:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 27623 invoked by uid 500); 7 Mar 2007 15:40:51 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 27613 invoked by uid 99); 7 Mar 2007 15:40:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 07:40:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 07:40:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A9CE714085 for ; Wed, 7 Mar 2007 07:40:21 -0800 (PST) Message-ID: <14447201.1173282021462.JavaMail.root@brutus> Date: Wed, 7 Mar 2007 07:40:21 -0800 (PST) From: "james strachan (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-1018) Tomcat JVM hangs when it tried to get ConnectionFactory object MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] james strachan resolved AMQ-1018. --------------------------------- Resolution: Cannot Reproduce I don't really understand what "3 iterations of start and stop works successfully" and I can't reproduce your issue. FWIW the stack trace appears to be taht tomcat has blocked trying to load classes into the ClassLoader; which is really a Tomcat issue rather than ActiveMQ. > Tomcat JVM hangs when it tried to get ConnectionFactory object > -------------------------------------------------------------- > > Key: AMQ-1018 > URL: https://issues.apache.org/activemq/browse/AMQ-1018 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.0.1 > Environment: Tomcat 5.5.9, Activemq 4.0.1 > Reporter: Suvarna Raju Madhey > Priority: Critical > Fix For: 4.0.3 > > Attachments: StackTrace > > > I have deployed my application in Tomcat 5.5.9, which uses Activemq 4.0.1. > To get ConnectionFactory I have written a method called getConnectionFactory. > Following way i am tring to lookup.. > Context ctx = new InitialContext(); > Context ctx2= (Context) initCtx.lookup("java:comp/env"); > ConnectionFactory cf = (ConnectionFactory) ctx2.lookup("jms/ConnectionFactory"); > 3 iterations of start and stop works successfully. But when I start the application 4th time, it executes Context ctx2 = (Context)initCtx.lookup("java:comp/env"); then it goes to next line. After that it never returns ConnectionFactory. After I notice that the application hangs.. > Please find the stack which i got by running "kill -3 > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.