Hello I installed ActiveMQ 5.5 on a centOS 5.6 machine. Every thing was OK, but when I changed hostname of my CentOS machine, ActiveMQ could not start. How can I tell ActiveMQ that hostname was changed.
2011-08-10 10:13:34,372 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@13785d3: startup date [Wed Aug 10 10:13:34 IRDT 2011]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain 2011-08-10 10:13:35,480 | WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks instead | org.apache.activemq.xbean.XBeanBrokerService | WrapperSimpleAppMain 2011-08-10 10:13:35,486 | INFO | PListStore:../../data/localhost/tmp_storage started | org.apache.activemq.store.kahadb.plist.PListStore | WrapperSimpleAppMain 2011-08-10 10:13:35,538 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/usr/local/dl/activemq550/bin/linux-x86-32/../../data/kahadb] | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain 2011-08-10 10:13:35,620 | INFO | ActiveMQ 5.5.0 JMS Message Broker (localhost) is starting | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain 2011-08-10 10:13:35,620 | INFO | For help or more information please see: http://activemq.apache.org/ | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain 2011-08-10 10:13:35,807 | INFO | Listening for connections at: tcp://dlibnahad:61616 | org.apache.activemq.transport.TransportServerThreadSupport | WrapperSimpleAppMain 2011-08-10 10:13:35,807 | INFO | Connector openwire Started | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain 2011-08-10 10:13:35,810 | INFO | ActiveMQ JMS Message Broker (localhost, ID:dlibnahad-53599-1312955015642-0:1) started | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain 2011-08-10 10:13:35,894 | INFO | jetty-7.1.6.v20100715 | org.eclipse.jetty.util.log | WrapperSimpleAppMain 2011-08-10 10:13:36,068 | INFO | ActiveMQ WebConsole initialized. | org.apache.activemq.web.WebConsoleStarter | WrapperSimpleAppMain 2011-08-10 10:13:36,134 | INFO | Initializing Spring FrameworkServlet 'dispatcher' | /admin | WrapperSimpleAppMain 2011-08-10 10:13:36,227 | INFO | ActiveMQ Console at http://0.0.0.0:8161/admin | org.eclipse.jetty.util.log | WrapperSimpleAppMain 2011-08-10 10:13:36,382 | INFO | Initializing Spring root WebApplicationContext | /camel | WrapperSimpleAppMain 2011-08-10 10:13:36,483 | INFO | OSGi environment not detected. | org.apache.camel.spring.handler.CamelNamespaceHandler | WrapperSimpleAppMain 2011-08-10 10:13:37,147 | INFO | Apache Camel 2.7.0 (CamelContext: camel) is starting | org.apache.camel.spring.SpringCamelContext | WrapperSimpleAppMain 2011-08-10 10:13:37,147 | INFO | JMX enabled. Using ManagedManagementStrategy. | org.apache.camel.spring.SpringCamelContext | WrapperSimpleAppMain 2011-08-10 10:13:38,033 | INFO | Cannot determine localhost name. Using default: 1099 | org.apache.camel.management.DefaultManagementAgent | WrapperSimpleAppMain java.net.UnknownHostException: mynewhostname: mynewhostname at java.net.InetAddress.getLocalHost(InetAddress.java:1354) -- View this message in context: http://activemq.2283324.n4.nabble.com/Chanage-hostname-after-installing-ActiveMQ-tp3732133p3732133.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
