This is the exception after adding the in-vm acceptor. Thanks for the
response about defaults, thatz what i thought, but just wanted to be really
sure.


12:01:30,129 WARN  [org.eclipse.jetty.webapp.WebAppContext] Failed startup
of context
o.e.j.w.WebAppContext@697446d4{/artemis-rest,file:///home/vncuser/artemis-brokers/broker1/tmp/jetty-localhost-8161-artemis-rest.war-_artemis-rest-any-1761735582786623780.dir/webapp/,UNAVAILABLE}{/home/vncuser/apache-artemis-2.4.0/web/artemis-rest.war}:
java.lang.RuntimeException:
ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ119007:
Cannot connect to server(s). Tried with all available servers.]
        at
org.apache.activemq.artemis.rest.integration.RestMessagingBootstrapListener.contextInitialized(RestMessagingBootstrapListener.java:54)
[artemis-rest-2.4.0.jar:2.4.0]
        at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:876)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:839)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at org.eclipse.jetty.server.Server.start(Server.java:452)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at org.eclipse.jetty.server.Server.doStart(Server.java:419)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-all-9.4.3.v20170317-uber.jar:9.4.3.v20170317]
        at
org.apache.activemq.artemis.component.WebServerComponent.start(WebServerComponent.java:134)
[artemis-web-2.4.0.jar:2.4.0]
        at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:92)
[artemis-cli-2.4.0.jar:2.4.0]
        at
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:149)
[artemis-cli-2.4.0.jar:2.4.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:96)
[artemis-cli-2.4.0.jar:2.4.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:123)
[artemis-cli-2.4.0.jar:2.4.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.8.0_161]
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_161]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_161]
        at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
        at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
[artemis-boot.jar:2.4.0]
        at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
[artemis-boot.jar:2.4.0]
Caused by: ActiveMQNotConnectedException[errorType=NOT_CONNECTED
message=AMQ119007: Cannot connect to server(s). Tried with all available
servers.]
        at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:790)
[artemis-core-client-2.4.0.jar:2.4.0]
        at
org.apache.activemq.artemis.rest.MessageServiceManager.start(MessageServiceManager.java:150)
[artemis-rest-2.4.0.jar:2.4.0]
        at
org.apache.activemq.artemis.rest.integration.RestMessagingBootstrapListener.contextInitialized(RestMessagingBootstrapListener.java:50)
[artemis-rest-2.4.0.jar:2.4.0]
        ... 31 more

12:01:30,149 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server
started at http://localhost:8161
12:01:30,150 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia
REST API available at http://localhost:8161/console/jolokia
12:01:30,150 INFO  [org.apache.activemq.artemis] AMQ241004: Artemis Console
available at http://localhost:8161/console




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to