Artemis 2.0 in Docker 61616 not initialized

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Artemis 2.0 in Docker 61616 not initialized

mtod
I'm running Artemis 2.0 in docker everything seems fine in the logs but I'm not able to access from outside docker.

Anybody come across this issue before?

I noticed this in the log:

18:50:30,667 DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl] ignoring message Notification[uid=null, type=ACCEPTOR_STARTED, properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=61616]] as the server is not initialized
18:50:30,667 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at localhost:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
18:50:30,673 DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl] ignoring message Notification[uid=null, type=ACCEPTOR_STARTED, properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=5445]] as the server is not initialized
18:50:30,674 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at localhost:5445 for protocols [HORNETQ,STOMP]
18:50:30,679 DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl] ignoring message Notification[uid=null, type=ACCEPTOR_STARTED, properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=5672]] as the server is not initialized
18:50:30,679 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at localhost:5672 for protocols [AMQP]
18:50:30,685 DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl] ignoring message Notification[uid=null, type=ACCEPTOR_STARTED, properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=1883]] as the server is not initialized
18:50:30,686 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at localhost:1883 for protocols [MQTT]
18:50:30,690 DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl] ignoring message Notification[uid=null, type=ACCEPTOR_STARTED, properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=61613]] as the server is not initialized
18:50:30,690 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at localhost:61613 for protocols [STOMP]
18:50:30,701 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
18:50:30,702 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.0.0 [localhost, nodeID=e65a6bf6-1fb0-11e7-90b5-0242ac110002]
18:50:30,986 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server started at http://0.0.0.0:8161
18:50:30,986 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at http://0.0.0.0:8161/jolokia

Thanks
Mike
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis 2.0 in Docker 61616 not initialized

jbertram
I've not used Artemis within Docker before, but my guess would be that you can't access it from outside Docker because all the acceptors are bound to localhost. Try configuring Artemis to listen on a non-loopback interface that should be accessible from outside Docker.


Justin

----- Original Message -----
From: "mtod" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 2:23:18 PM
Subject: Artemis 2.0 in Docker 61616 not initialized

I'm running Artemis 2.0 in docker everything seems fine in the logs but I'm
not able to access from outside docker.

Anybody come across this issue before?

I noticed this in the log:

18:50:30,667 DEBUG
[org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl]
ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=61616]]
*as the server is not initialized*
18:50:30,667 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
Started Acceptor at localhost:61616 for protocols
[CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
18:50:30,673 DEBUG
[org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl]
ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=5445]]
as the server is not initialized
18:50:30,674 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
Started Acceptor at localhost:5445 for protocols [HORNETQ,STOMP]
18:50:30,679 DEBUG
[org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl]
ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=5672]]
as the server is not initialized
18:50:30,679 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
Started Acceptor at localhost:5672 for protocols [AMQP]
18:50:30,685 DEBUG
[org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl]
ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=1883]]
as the server is not initialized
18:50:30,686 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
Started Acceptor at localhost:1883 for protocols [MQTT]
18:50:30,690 DEBUG
[org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl]
ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
properties=TypedProperties[factory=org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory,host=localhost,port=61613]]
as the server is not initialized
18:50:30,690 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
Started Acceptor at localhost:61613 for protocols [STOMP]
18:50:30,701 INFO  [org.apache.activemq.artemis.core.server] AMQ221007:
Server is now live
18:50:30,702 INFO  [org.apache.activemq.artemis.core.server] AMQ221001:
Apache ActiveMQ Artemis Message Broker version 2.0.0 [localhost,
nodeID=e65a6bf6-1fb0-11e7-90b5-0242ac110002]
18:50:30,986 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server
started at http://0.0.0.0:8161
18:50:30,986 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia
REST API available at http://0.0.0.0:8161/jolokia

Thanks
Mike




--
View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-2-0-in-Docker-61616-not-initialized-tp4724916.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis 2.0 in Docker 61616 not initialized

mtod
Thanks for the reply seems that was it I set them to 0.0.0.0 and that worked. Your response trigger a memory from something I read where they had an issue with localhost in docker and set it to 0.0.0.0.

Thanks Again.

Mike
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis 2.0 in Docker 61616 not initialized

vromero
In reply to this post by mtod
Are you using my image?
https://github.com/vromero/activemq-artemis-docker ?

I haven't released yet 2.0, but it is just a matter of rebuilding changing
a tag.

2017-04-12 12:23 GMT-07:00 mtod <[hidden email]>:

> I'm running Artemis 2.0 in docker everything seems fine in the logs but I'm
> not able to access from outside docker.
>
> Anybody come across this issue before?
>
> I noticed this in the log:
>
> 18:50:30,667 DEBUG
> [org.apache.activemq.artemis.core.server.management.impl.
> ManagementServiceImpl]
> ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
> properties=TypedProperties[factory=org.apache.activemq.
> artemis.core.remoting.impl.netty.NettyAcceptorFactory,
> host=localhost,port=61616]]
> *as the server is not initialized*
> 18:50:30,667 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
> Started Acceptor at localhost:61616 for protocols
> [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
> 18:50:30,673 DEBUG
> [org.apache.activemq.artemis.core.server.management.impl.
> ManagementServiceImpl]
> ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
> properties=TypedProperties[factory=org.apache.activemq.
> artemis.core.remoting.impl.netty.NettyAcceptorFactory,
> host=localhost,port=5445]]
> as the server is not initialized
> 18:50:30,674 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
> Started Acceptor at localhost:5445 for protocols [HORNETQ,STOMP]
> 18:50:30,679 DEBUG
> [org.apache.activemq.artemis.core.server.management.impl.
> ManagementServiceImpl]
> ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
> properties=TypedProperties[factory=org.apache.activemq.
> artemis.core.remoting.impl.netty.NettyAcceptorFactory,
> host=localhost,port=5672]]
> as the server is not initialized
> 18:50:30,679 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
> Started Acceptor at localhost:5672 for protocols [AMQP]
> 18:50:30,685 DEBUG
> [org.apache.activemq.artemis.core.server.management.impl.
> ManagementServiceImpl]
> ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
> properties=TypedProperties[factory=org.apache.activemq.
> artemis.core.remoting.impl.netty.NettyAcceptorFactory,
> host=localhost,port=1883]]
> as the server is not initialized
> 18:50:30,686 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
> Started Acceptor at localhost:1883 for protocols [MQTT]
> 18:50:30,690 DEBUG
> [org.apache.activemq.artemis.core.server.management.impl.
> ManagementServiceImpl]
> ignoring message Notification[uid=null, type=ACCEPTOR_STARTED,
> properties=TypedProperties[factory=org.apache.activemq.
> artemis.core.remoting.impl.netty.NettyAcceptorFactory,
> host=localhost,port=61613]]
> as the server is not initialized
> 18:50:30,690 INFO  [org.apache.activemq.artemis.core.server] AMQ221020:
> Started Acceptor at localhost:61613 for protocols [STOMP]
> 18:50:30,701 INFO  [org.apache.activemq.artemis.core.server] AMQ221007:
> Server is now live
> 18:50:30,702 INFO  [org.apache.activemq.artemis.core.server] AMQ221001:
> Apache ActiveMQ Artemis Message Broker version 2.0.0 [localhost,
> nodeID=e65a6bf6-1fb0-11e7-90b5-0242ac110002]
> 18:50:30,986 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server
> started at http://0.0.0.0:8161
> 18:50:30,986 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia
> REST API available at http://0.0.0.0:8161/jolokia
>
> Thanks
> Mike
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-2-0-in-Docker-61616-not-initialized-tp4724916.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Loading...