You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jeff Martin (JIRA)" <ji...@apache.org> on 2007/02/23 12:37:04 UTC
[jira] Created: (AMQ-1170) ActiveMQ fails to start correctly when
hostname changed
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.
[jira] Commented: (AMQ-1170) ActiveMQ fails to start correctly when
hostname changed
Posted by "James Strachan (JIRA)" <ji...@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.
[jira] Closed: (AMQ-1170) ActiveMQ fails to start correctly when
hostname changed
Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Snyder closed AMQ-1170.
-----------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: AGING_TO_DIE)
> 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.
[jira] Updated: (AMQ-1170) ActiveMQ fails to start correctly when
hostname changed
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully updated AMQ-1170:
----------------------------
Fix Version/s: 5.3.0
(was: 5.2.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
> Fix For: 5.3.0
>
>
> 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.
[jira] Commented: (AMQ-1170) ActiveMQ fails to start correctly when
hostname changed
Posted by "Hans Bausewein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43846#action_43846 ]
Hans Bausewein commented on AMQ-1170:
-------------------------------------
Maybe it's a JVM problem (or is it a feature?).
Set JVM environment property "sun.net.inetaddr.ttl" to avoid DNS caching.
See http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html#nct
But if all JVMs have been shutdown, there cannot be anything cached.
Hans Bausewein
> 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
> Fix For: 5.2.0
>
>
> 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.