activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Martin (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1170) ActiveMQ fails to start correctly when hostname changed
Date Fri, 23 Feb 2007 11:37:04 GMT
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.


Mime
View raw message