1 Reply Latest reply on Dec 5, 2011 8:39 PM by Freeman(Yue) Fang

    ActiveMQ Web Console

    Eric Bender Newbie

      I have tried installing the web console from the features in servicemix, looks like everything installed fine.  activemq-web-console version 5.5.0-fuse-00-43.

       

      At any rate, when trying to hit the url for the console via localhost:8181/activemqweb, for some reason I get

       

      
      HTTP ERROR 500
      
      Problem accessing /activemqweb/index.jsp. Reason:
      
          Server Error
      Caused by:
      
      java.lang.NullPointerException
           at org.apache.activemq.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157)
           at javax.el.MapELResolver.getValue(MapELResolver.java:196)
           at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
           at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
           at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
           at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001)
           at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:51)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
           at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:132)
           at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:127)
           at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
           at org.ops4j.pax.web.jsp.JspServletWrapper.service(JspServletWrapper.java:124)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
           at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
           at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
           at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
           at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
           at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
           at org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(WelcomeFilesFilter.java:169)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
           at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
           at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
           at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
           at org.eclipse.jetty.server.Server.handle(Server.java:346)
           at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
           at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
           at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
           at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
           at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
           at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:531)
           at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
           at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
           at java.lang.Thread.run(Thread.java:662)
      

       

        • 1. Re: ActiveMQ Web Console
          Freeman(Yue) Fang Master

          Hi,

           

          Seems you're using FUSE ESB 4.4.0-fuse-00-43, right?

           

          We have ActiveMQ Web Console  issue fixed in the latest FUSE ESB 4.4.1-fuse-01-11, could you try with that version?

           

          If you still need use 4.4.0-fuse-00-43, could you edit edit etc/system.properties

          add

          #

          1. Activemq Webconsole configuration

          #

          webconsole.type=properties

          webconsole.jms.url=tcp://localhost:61616

          webconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-${karaf.name}

          webconsole.jmx.user=smx

          webconsole.jmx.password=smx

           

          to see if it helps for you?

           

          Freeman