Have you editted the activemq.xml file at all?
On 6/14/06, svb <[EMAIL PROTECTED]> wrote:
This is the exact message i am getting
The exception is UnknownHostException none:none
I am not sure why is it none:none ?
CTIVEMQ_HOME: /root/Desktop/activemq/incubator-activemq-4.0
Loading message broker from: xbean:activemq.xml
Jun 14, 2006 8:07:27 AM org.apache.activemq.util.IdGenerator <clinit>
WARNING: could not generate unique stub
java.net.UnknownHostException: (none): (none)
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at
org.apache.activemq.util.IdGenerator.<clinit>(IdGenerator.java:50)
at
org.apache.activemq.openwire.OpenWireFormat.<clinit>(OpenWireFormat.java:106)
at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.<init>(JDBCPersistenceAdapter.java:65)
at
org.apache.activemq.store.DefaultPersistenceAdapterFactory.<init>(DefaultPersistenceAdapterFactory.java:50)
at
org.apache.activemq.store.PersistenceAdapterFactoryBean.<init>(PersistenceAdapterFactoryBean.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:49)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:453)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:333)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:147)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:96)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:158)
at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:48)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:40)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:56)
at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:81)
at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:46)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:49)
at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:81)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:49)
at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccess
--
View this message in context:
http://www.nabble.com/UnknownHostException-while-starting-Activemq-t1783529.html#a4868327
Sent from the ActiveMQ - User forum at Nabble.com.
--
James
-------
http://radio.weblogs.com/0112098/