Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 70112 invoked from network); 12 Jun 2007 14:55:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 14:55:54 -0000 Received: (qmail 31271 invoked by uid 500); 12 Jun 2007 14:55:57 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 31244 invoked by uid 500); 12 Jun 2007 14:55:57 -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 31235 invoked by uid 99); 12 Jun 2007 14:55:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 07:55:57 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 12 Jun 2007 07:55:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1B3017141FE for ; Tue, 12 Jun 2007 07:55:33 -0700 (PDT) Message-ID: <17810119.1181660133106.JavaMail.jira@brutus> Date: Tue, 12 Jun 2007 07:55:33 -0700 (PDT) From: "James Strachan (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1170) ActiveMQ fails to start correctly when hostname changed In-Reply-To: <13516649.1172230624320.JavaMail.jira@brutus> 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-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39321 ] James Strachan commented on AMQ-1170: ------------------------------------- I wonder is this still the case in 5.0.0? > ActiveMQ fails to start correctly when hostname changed > ------------------------------------------------------- > > Key: AMQ-1170 > URL: https://issues.apache.org/activemq/browse/AMQ-1170 > Project: ActiveMQ > Issue Type: Bug > Components: Message Store > Affects Versions: 4.1.0 > Environment: Sun Java 5 on Linux using only kaha persitence. > Reporter: Jeff Martin > Priority: Minor > > If the hostname of a server on which ActiveMQ is running is changed and ActiveMQ restarted ActiveMQ doe not seem to start completly. > No connections can be made the the server and when the JMX attributes are checked the acivemq components are not registered. > No errors are seen in the logs > The last messages in the logs are as follows. > 2007-02-23 11:23:20,651 [main] INFO BrokerService - ActiveMQ 4.1.0-incubator JMS Message Broker (localhost) is starting > 2007-02-23 11:23:20,651 [main] INFO BrokerService - For help or more information please see: http://incubator.apache.org/activemq/ > 2007-02-23 11:23:20,978 [main] INFO KahaStore - Kaha Store using data directory /var/lib/activemq-data/kaha.db > 2007-02-23 11:23:22,640 [JMX connector] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi://localhost:1199/jndi/rmi://localhost:1199/jmxrmi > The main thread is reading from KahaStore but is not blocked. > Main thread stack trace. > org.apache.activemq.kaha.impl.KahaStore.generateInterestInMapDataFiles(KahaStore.java:516) > org.apache.activemq.kaha.impl.KahaStore.initialize(KahaStore.java:414) > org.apache.activemq.kaha.impl.KahaStore.getMapContainer(KahaStore.java:184) > org.apache.activemq.kaha.impl.KahaStore.getMapContainer(KahaStore.java:179) > org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter.createTransactionStore(KahaPersistenceAdapter.java:128) > org.apache.activemq.broker.BrokerService.addInterceptors(BrokerService.java:1301) > org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:1210) > org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:508) > org.apache.activemq.broker.BrokerService.start(BrokerService.java:394) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.