1 Reply Latest reply on Aug 17, 2011 5:53 PM by Shaffin Bhanji

    ActiveMQ Web Admin

    Shaffin Bhanji Newbie

      Installing the activemq-web-console feature, and then accessing http://localhost:8181/activemqweb results in an exception:

       

      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(Unknown Source)

       

       

      The servicemix.log logs the following exception:

       

      15:07:03,742 | WARN  | qtp1250062551-66 | log                              | 114 - org.eclipse.jetty.util - 7.4.1.v20110513 | /activemqweb/index.jsp

      java.lang.NullPointerException

           at org.apache.activemq.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at javax.el.MapELResolver.getValue(MapELResolver.java:196)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at com.sun.el.parser.AstValue.getValue(AstValue.java:138)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:51)[file:/C:/Users/Shaffin Bhanji/AppData/Local/Temp/.paxweb1624934945739826643/activemqweb/:]

           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[166:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0]

           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[166:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0]

           at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:132)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:127)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.ops4j.pax.web.jsp.JspServletWrapper.service(JspServletWrapper.java:124)[163:org.ops4j.pax.web.pax-web-jsp:1.0.3]

           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)[221:org.apache.activemq.activemq-web-console:5.5.0.fuse-00-43]

           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(WelcomeFilesFilter.java:169)[157:org.ops4j.pax.web.pax-web-runtime:1.0.3]

           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[159:org.ops4j.pax.web.pax-web-jetty:1.0.3]

           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)[112:org.eclipse.jetty.security:7.4.1.v20110513]

           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)[159:org.ops4j.pax.web.pax-web-jetty:1.0.3]

           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)[110:org.eclipse.jetty.servlet:7.4.1.v20110513]

           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)[159:org.ops4j.pax.web.pax-web-jetty:1.0.3]

           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.server.Server.handle(Server.java:346)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)[107:org.eclipse.jetty.http:7.4.1.v20110513]

           at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)[107:org.eclipse.jetty.http:7.4.1.v20110513]

           at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)[109:org.eclipse.jetty.server:7.4.1.v20110513]

           at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:531)[111:org.eclipse.jetty.io:7.4.1.v20110513]

           at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[111:org.eclipse.jetty.io:7.4.1.v20110513]

           at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)[114:org.eclipse.jetty.util:7.4.1.v20110513]

           at java.lang.Thread.run(Unknown Source)[:1.6.0_26]

       

      Any thoughts anyone?

       

      Shaffin.

       

      Edited by: shaffin on Aug 17, 2011 7:19 PM