James.Strachan wrote:
> 
>>
>> 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
> 
> 

after a while of tests i found out it is connected with wrapper.conf file.
There are lines:
set.default.ACTIVEMQ_HOME=../..
set.default.ACTIVEMQ_BASE=../..

when i start activemq it gives same sception like above but
java.net.UnknownHostException: .. : ..


later i changed to 
set.default.ACTIVEMQ_HOME=/opt/activemq
set.default.ACTIVEMQ_BASE=/opt/activemq

so to  absolute path where activemq is and it works.

However on windows:

set.default.ACTIVEMQ_HOME=d:/apache-activemq-5.2.0
set.default.ACTIVEMQ_BASE=d:/apache-activemq-5.2.0

does not work as well


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

Reply via email to