You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Saurav <sa...@gmail.com> on 2013/12/21 18:54:55 UTC
Setting up ActiveMQ 5.9.0 Master/Slave Shared File System
Hi,
Did master/slave setup on two separate vm instances, OS: Linux. It's up and
running as expected but I am not able to access the monitoring web console
i.e. hawtio monitoring console from web browser. When the activemq master
broker starts up. I can see the message in console that webconsole can be
accessed http://localhost:8161. Do I need do any changes on jetty.xml? or am
I missing anything? Do I need to explicitly set the hostname/IP anywhere?
--
View this message in context: http://activemq.2283324.n4.nabble.com/Setting-up-ActiveMQ-5-9-0-Master-Slave-Shared-File-System-tp4675792.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Setting up ActiveMQ 5.9.0 Master/Slave Shared File System
Posted by Saurav <sa...@gmail.com>.
Yes I have downloaded from apache activemq website. For time being now to
monitor the cluster
I have deployed the ActiveMQ 5.9.0 web-console.war file on Tomcat 7.0.35. I
am able to use old web console to monitor the Master/Slave.
But how shall I configure hawtio web console to monitor the master/slave in
Linux? The master & slave on two different vm instances on shared storage. I
am able to use the same master/slave setup on my laptop where I am able to
use hawtio web console. Is there anything I am missing? Currently I am
setting up the DEV/TEST environment.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Setting-up-ActiveMQ-5-9-0-Master-Slave-Shared-File-System-tp4675792p4675840.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Setting up ActiveMQ 5.9.0 Master/Slave Shared File System
Posted by Christian Posta <ch...@gmail.com>.
how did you install activemq? from the tarball distro here?
http://activemq.apache.org/download.html
On Mon, Dec 23, 2013 at 7:18 AM, Saurav <sa...@gmail.com> wrote:
> Now I am able to access the web console and connect to broker on tcp port but
> when I try to access hawtio monitoring web console I am getting the below
> exception
> 2013-12-23 08:42:59,272 | INFO | jolokia-agent: Using access restrictor
> classpath:/jolokia-access.xml | /hawtio | main
> 2013-12-23 08:42:59,474 | INFO | ActiveMQ WebConsole available at
> http://localhost:8161/ | org.apache.activemq.web.WebConsoleStarter | main
> 2013-12-23 08:42:59,521 | INFO | Initializing Spring FrameworkServlet
> 'dispatcher' | /admin | main
> 2013-12-23 08:48:09,179 | WARN | /hawtio/auth/login/ |
> org.eclipse.jetty.servlet.ServletHandler | qtp1690040234-36
> java.lang.SecurityException: Unable to locate a login configuration
> at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at
> javax.security.auth.login.Configuration$3.run(Configuration.java:247)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> javax.security.auth.login.Configuration.getConfiguration(Configuration.java:242)
> at
> javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> javax.security.auth.login.LoginContext.init(LoginContext.java:234)
> at
> javax.security.auth.login.LoginContext.<init>(LoginContext.java:367)
> at
> javax.security.auth.login.LoginContext.<init>(LoginContext.java:444)
> at
> io.hawt.system.Authenticator.doAuthenticate(Authenticator.java:99)
> at io.hawt.system.Authenticator.authenticate(Authenticator.java:76)
> at
> io.hawt.web.AuthenticationFilter.doFilter(AuthenticationFilter.java:84)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
> at io.hawt.web.CORSFilter.doFilter(CORSFilter.java:42)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:532)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:532)
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> at org.eclipse.jetty.server.Server.handle(Server.java:367)
> at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
> at
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
> at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
> at
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Unable to locate a login configuration
> at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
> at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
> ... 45 more
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Setting-up-ActiveMQ-5-9-0-Master-Slave-Shared-File-System-tp4675792p4675821.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
--
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta
Re: Setting up ActiveMQ 5.9.0 Master/Slave Shared File System
Posted by Saurav <sa...@gmail.com>.
Now I am able to access the web console and connect to broker on tcp port but
when I try to access hawtio monitoring web console I am getting the below
exception
2013-12-23 08:42:59,272 | INFO | jolokia-agent: Using access restrictor
classpath:/jolokia-access.xml | /hawtio | main
2013-12-23 08:42:59,474 | INFO | ActiveMQ WebConsole available at
http://localhost:8161/ | org.apache.activemq.web.WebConsoleStarter | main
2013-12-23 08:42:59,521 | INFO | Initializing Spring FrameworkServlet
'dispatcher' | /admin | main
2013-12-23 08:48:09,179 | WARN | /hawtio/auth/login/ |
org.eclipse.jetty.servlet.ServletHandler | qtp1690040234-36
java.lang.SecurityException: Unable to locate a login configuration
at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
javax.security.auth.login.Configuration$3.run(Configuration.java:247)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.login.Configuration.getConfiguration(Configuration.java:242)
at
javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.login.LoginContext.init(LoginContext.java:234)
at
javax.security.auth.login.LoginContext.<init>(LoginContext.java:367)
at
javax.security.auth.login.LoginContext.<init>(LoginContext.java:444)
at
io.hawt.system.Authenticator.doAuthenticate(Authenticator.java:99)
at io.hawt.system.Authenticator.authenticate(Authenticator.java:76)
at
io.hawt.web.AuthenticationFilter.doFilter(AuthenticationFilter.java:84)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at io.hawt.web.CORSFilter.doFilter(CORSFilter.java:42)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:532)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:532)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:367)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Unable to locate a login configuration
at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
... 45 more
--
View this message in context: http://activemq.2283324.n4.nabble.com/Setting-up-ActiveMQ-5-9-0-Master-Slave-Shared-File-System-tp4675792p4675821.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.