activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ANDI KUSNADI <a...@mra.co.id>
Subject Re: ActiveMQ not Running in Solaris
Date Thu, 05 Jun 2008 07:15:16 GMT

we have changed it alogn a go the file is like this.

127.0.0.1 localhost
xxxx.xxx yyyy dumycccc.com loghost

Thank you.


rajdavies wrote:
> 
> Looks like the /etc/hosts on your solaris machine is not setup  - if  
> you look at  /etc/hosts there should be a line:
> 
> 
> 127.0.0.1	localhost
> 
> 
> cheers,
> 
> Rob
> 
> http://open.iona.com/products/enterprise-activemq
> http://rajdavies.blogspot.com/
> 
> 
> On 5 Jun 2008, at 05:41, ANDI KUSNADI wrote:
> 
>>
>> Dear activemq guys,
>>
>> iam using activemq , when in development we are using Ubuntu , it can
>> running well, when we deploy it to solaris 5.10 it cannot running.
>> we are using Jdk 1.6.06 and apache tomcat 6.14 + activemq 5.10
>> and there is error message like this.
>> 10:03:52,270 ERROR BrokerService:180 - Failed to resolve localhost
>> java.net.UnknownHostException: SunOS: SunOS
>>       at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .transport 
>> .tcp.TcpTransportServer.resolveHostName(TcpTransportServer.java:271)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:127)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:60)
>>       at
>> org 
>> .apache 
>> .activemq.transport.TransportFactory.bind(TransportFactory.java:123)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .broker.BrokerService.createTransportConnector(BrokerService.java: 
>> 1682)
>>       at
>> org 
>> .apache 
>> .activemq.broker.BrokerService.addConnector(BrokerService.java:207)
>>       at
>> org 
>> .apache 
>> .activemq.broker.BrokerService.addConnector(BrokerService.java:197)
>>       at
>> id 
>> .co 
>> .mra 
>> .hrd 
>> .activemq.StartUpActiveMQ.contextInitialized(StartUpActiveMQ.java:51)
>>       at
>> org 
>> .apache 
>> .catalina.core.StandardContext.listenerStart(StandardContext.java: 
>> 3830)
>>       at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java: 
>> 4337)
>>       at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>       at  
>> org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>       at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>       at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>       at
>> org.apache.catalina.core.StandardService.start(StandardService.java: 
>> 516)
>>       at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>       at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>       at
>> sun 
>> .reflect 
>> .DelegatingMethodAccessorImpl 
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java: 
>> 288)
>>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 
>> 413)
>> May 27, 2008 10:03:52 AM org.apache.activemq.util.IdGenerator <clinit>
>> WARNING: could not generate unique stub
>> java.net.UnknownHostException: SunOS: SunOS
>>       at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
>>       at  
>> org.apache.activemq.util.IdGenerator.<clinit>(IdGenerator.java:51)
>>       at
>> org 
>> .apache.activemq.ActiveMQConnection.<clinit>(ActiveMQConnection.java: 
>> 108)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createActiveMQConnection(ActiveMQConnectionFactory.java:283)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createActiveMQConnection(ActiveMQConnectionFactory.java:251)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createActiveMQConnection(ActiveMQConnectionFactory.java:222)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createQueueConnection(ActiveMQConnectionFactory.java:185)
>>       at
>> id 
>> .co 
>> .mra 
>> .hrd 
>> .attendance 
>> .activemq 
>> .ConsumerEngineAttendance.consume(ConsumerEngineAttendance.java:219)
>>       at
>> id 
>> .co 
>> .mra 
>> .hrd 
>> .attendance 
>> .activemq 
>> .AttendanceListener.contextInitialized(AttendanceListener.java:26)
>>       at
>> org 
>> .apache 
>> .catalina.core.StandardContext.listenerStart(StandardContext.java: 
>> 3830)
>>       at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java: 
>> 4337)
>>       at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>       at  
>> org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>       at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>       at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>       at
>> org.apache.catalina.core.StandardService.start(StandardService.java: 
>> 516)
>>       at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>       at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>       at
>> sun 
>> .reflect 
>> .DelegatingMethodAccessorImpl 
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java: 
>> 288)
>>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 
>> 413)
>> javax.jms.JMSException: Could not connect to broker URL:
>> tcp://localhost:61616. Reason: java.net.UnknownHostException: SunOS:  
>> SunOS
>>       at
>> org 
>> .apache 
>> .activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createActiveMQConnection(ActiveMQConnectionFactory.java:278)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createActiveMQConnection(ActiveMQConnectionFactory.java:222)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createQueueConnection(ActiveMQConnectionFactory.java:185)
>>       at
>> id 
>> .co 
>> .mra 
>> .hrd 
>> .attendance 
>> .activemq 
>> .ConsumerEngineAttendance.consume(ConsumerEngineAttendance.java:219)
>>       at
>> id 
>> .co 
>> .mra 
>> .hrd 
>> .attendance 
>> .activemq 
>> .AttendanceListener.contextInitialized(AttendanceListener.java:26)
>>       at
>> org 
>> .apache 
>> .catalina.core.StandardContext.listenerStart(StandardContext.java: 
>> 3830)
>>       at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java: 
>> 4337)
>>       at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>       at  
>> org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>       at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>       at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>       at
>> org.apache.catalina.core.StandardService.start(StandardService.java: 
>> 516)
>>       at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>       at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>       at
>> sun 
>> .reflect 
>> .DelegatingMethodAccessorImpl 
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java: 
>> 288)
>>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 
>> 413)
>> Caused by: java.net.UnknownHostException: SunOS: SunOS
>>       at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .transport.tcp.TcpTransport.resolveHostName(TcpTransport.java:342)
>>       at
>> org 
>> .apache 
>> .activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:400)
>>       at
>> org 
>> .apache 
>> .activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:380)
>>       at
>> org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:50)
>>       at
>> org 
>> .apache 
>> .activemq.transport.TransportFilter.start(TransportFilter.java:57)
>>       at
>> org 
>> .apache 
>> .activemq.transport.TransportFilter.start(TransportFilter.java:57)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
>>       at
>> org 
>> .apache 
>> .activemq.transport.TransportFilter.start(TransportFilter.java:57)
>>       at
>> org 
>> .apache 
>> .activemq.transport.TransportFilter.start(TransportFilter.java:57)
>>       at
>> org 
>> .apache 
>> .activemq 
>> .ActiveMQConnectionFactory 
>> .createActiveMQConnection(ActiveMQConnectionFactory.java:258)
>>       ... 19 more
>>
>> Please help
>>
>> Thank you.
>> -- 
>> View this message in context:
>> http://www.nabble.com/ActiveMQ-not-Running-in-Solaris-tp17662008s2354p17662008.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ-not-Running-in-Solaris-tp17662008s2354p17663657.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message