incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <eric...@gmail.com>
Subject Re: about chukwa hicc start problem
Date Thu, 05 Apr 2012 17:51:30 GMT
Hi Ahmilliyon,

This is caused by commons-logging 1.1 has servlet.jsp embedded in it
and was causing conflict with jetty jsp implementation.  In the maven
pom.xml, change the commons-logging to 1.1.1 and it should work fine.

regards,
Eric

2012/4/4 ahmilliyon <ahmilliyon@gmail.com>:
> Hi,All
>
>
>
>          The problem described in http://www.saoo7.com/?p=144.
>
>          when I start hicc,belows comes in hicc.log:
>
> =================================================================================================================
>
> 2012-04-01 16:23:52,238 INFO main ChukwaConfiguration - chukwaConf is
> /usr/local/chukwa/etc/chukwa
>
> 2012-04-01 16:23:52,801 INFO main log - Logging to
> org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
>
> 2012-04-01 16:23:52,883 INFO main log - jetty-6.1.26
>
> 2012-04-01 16:23:52,942 INFO main log - Extract
> file:/usr/local/chukwa-incubating-0.5.0/share/chukwa/webapps/hicc.war to
> /tmp/Jetty_0_0_0_0_4080_hicc.war__hicc__z3a3th/webapp
>
> 2012-04-01 16:23:55,218 INFO main log - Opened
> /usr/local/chukwa-incubating-0.5.0/logs/2012_04_01.request.log
>
> 2012-04-01 16:23:55,226 INFO main log - Started
> SelectChannelConnector@0.0.0.0:4080
>
> 2012-04-01 16:24:26,299 ERROR 593352976@qtp-1843518171-7 log - /hicc/
>
> java.lang.NoSuchFieldError: STANDARD_IMPORTS
>
>          at org.apache.jasper.compiler.PageInfo.<init>(PageInfo.java:101)
>
>          at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:108)
>
>          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
>
>          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
>
>          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
>
>          at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
>
>          at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
>
>          at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
>
>          at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
>          at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>
>          at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>
>          at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>
>          at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
>          at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>
>          at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>
>          at
> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>
>          at
> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>
>          at
> org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:503)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
>          at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>
>          at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>
>          at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>
>          at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
>          at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>
>          at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>
>          at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>
>          at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>
>          at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>
>          at org.mortbay.jetty.Server.handle(Server.java:326)
>
>          at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>
>          at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>
>          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>
>          at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>
>          at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>
>          at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>
>          at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>
> 2012-04-01 16:24:50,820 ERROR 593352976@qtp-1843518171-7 log - /hicc/
>
> java.lang.NoSuchFieldError: STANDARD_IMPORTS
>
>          at org.apache.jasper.compiler.PageInfo.<init>(PageInfo.java:101)
>
>          at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:108)
>
>          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
>
>          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
>
>          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
>
>          at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
>
>          at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
>
>          at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
>
>          at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
>          at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>
>          at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>
>          at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>
>          at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
>          at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>
>          at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>
>          at
> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>
>          at
> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>
>          at
> org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:503)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
>          at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>
>          at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>
>          at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>
>          at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
>          at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>
>          at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>
>          at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>
>          at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>
>          at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>
>          at org.mortbay.jetty.Server.handle(Server.java:326)
>
>          at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>
>          at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>
>          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>
>          at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>
>          at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>
>          at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>
>          at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>
> =======================================================================================
>
> Any help
>
> I’d appreciate!
>
>
>
>
>
>
>
>

Mime
View raw message