activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keneida <kene...@o2.pl>
Subject Re: UnknownHostException while starting Activemq
Date Thu, 14 May 2009 14:30:19 GMT

I have similar problem. However:
I can start with bin/activemq and it works perfectly.
When I use bin/linux-x86-32/activemq  i get mentined UnknownHostException
where the host is: ..

the stacktrace:

jvm 1    | ACTIVEMQ_HOME: ../..
jvm 1    | ACTIVEMQ_BASE: ../..
jvm 1    | Loading message broker from: xbean:activemq.xml
jvm 1    | ERROR: java.lang.RuntimeException: Failed to execute start task.
Reason: org.springframework.beans.factory.BeanInitializationException: Could
not load properties; nested exception is java.net.UnknownHostException: ..
jvm 1    | java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanInitializationException: Could not
load properties; nested exception is java.net.UnknownHostException: ..
jvm 1    | 	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98)
jvm 1    | 	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
jvm 1    | 	at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
jvm 1    | 	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
jvm 1    | 	at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1    | 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:597)
jvm 1    | 	at org.apache.activemq.console.Main.runTaskClass(Main.java:225)
jvm 1    | 	at org.apache.activemq.console.Main.main(Main.java:106)
jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1    | 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:597)
jvm 1    | 	at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    | 	at java.lang.Thread.run(Thread.java:619)
jvm 1    | Caused by:
org.springframework.beans.factory.BeanInitializationException: Could not
load properties; nested exception is java.net.UnknownHostException: ..
jvm 1    | 	at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
jvm 1    | 	at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:554)
jvm 1    | 	at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:528)
jvm 1    | 	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:363)
jvm 1    | 	at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
jvm 1    | 	at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
jvm 1    | 	at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
jvm 1    | 	at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
jvm 1    | 	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
jvm 1    | 	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
jvm 1    | 	at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
jvm 1    | 	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
jvm 1    | 	... 16 more
jvm 1    | Caused by: java.net.UnknownHostException: ..
jvm 1    | 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
jvm 1    | 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
jvm 1    | 	at java.net.Socket.connect(Socket.java:519)
jvm 1    | 	at java.net.Socket.connect(Socket.java:469)
jvm 1    | 	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
jvm 1    | 	at sun.net.NetworkClient.openServer(NetworkClient.java:118)
jvm 1    | 	at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
jvm 1    | 	at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
jvm 1    | 	at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
jvm 1    | 	at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
jvm 1    | 	at
org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:123)
jvm 1    | 	at
org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:182)
jvm 1    | 	at
org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
jvm 1    | 	at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69)
jvm 1    | 	... 27 more
jvm 1    | ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanInitializationException: Could not
load properties; nested exception is java.net.UnknownHostException: ..
jvm 1    | java.lang.Exception:
org.springframework.beans.factory.BeanInitializationException: Could not
load properties; nested exception is java.net.UnknownHostException: ..
jvm 1    | 	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:99)
jvm 1    | 	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
jvm 1    | 	at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
jvm 1    | 	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
jvm 1    | 	at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1    | 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:597)
jvm 1    | 	at org.apache.activemq.console.Main.runTaskClass(Main.java:225)
jvm 1    | 	at org.apache.activemq.console.Main.main(Main.java:106)
jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1    | 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:597)
jvm 1    | 	at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    | 	at java.lang.Thread.run(Thread.java:619)
jvm 1    | Caused by:
org.springframework.beans.factory.BeanInitializationException: Could not
load properties; nested exception is java.net.UnknownHostException: ..
jvm 1    | 	at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
jvm 1    | 	at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:554)
jvm 1    | 	at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:528)
jvm 1    | 	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:363)
jvm 1    | 	at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
jvm 1    | 	at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
jvm 1    | 	at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
jvm 1    | 	at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
jvm 1    | 	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
jvm 1    | 	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
jvm 1    | 	at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
jvm 1    | 	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
jvm 1    | 	... 16 more
jvm 1    | Caused by: java.net.UnknownHostException: ..
jvm 1    | 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
jvm 1    | 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
jvm 1    | 	at java.net.Socket.connect(Socket.java:519)
jvm 1    | 	at java.net.Socket.connect(Socket.java:469)
jvm 1    | 	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
jvm 1    | 	at sun.net.NetworkClient.openServer(NetworkClient.java:118)
jvm 1    | 	at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
jvm 1    | 	at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
jvm 1    | 	at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
jvm 1    | 	at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
jvm 1    | 	at
org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:123)
jvm 1    | 	at
org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:182)
jvm 1    | 	at
org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
jvm 1    | 	at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69)
jvm 1    | 	... 27 more
wrapper  | <-- Wrapper Stopped


-- 
View this message in context: http://www.nabble.com/UnknownHostException-while-starting-Activemq-tp4857225p23541813.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message