chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <eric...@gmail.com>
Subject Re: HICC issue
Date Sat, 09 Nov 2013 05:07:17 GMT
This error is caused by jasper jsp engine conflicting with jetty provided
jsp engine.  It may be maven included jasper jsp engine by mistake.  Check
pom.xml and change war file construction to exclude jasper jsp engine.  See
reference:

http://stackoverflow.com/questions/14440909/java-lang-nosuchfielderror-is-security-enabled

regards,

Eric


On Fri, Nov 8, 2013 at 6:05 AM, Jayapandian Ponraj <pandian912@gmail.com>wrote:

> Hi I have installed chukwa agent and collector by following this tutorial
> http://chukwa.apache.org/docs/r0.5.0/admin.html
>
> but while starting the hicc daemon, I get the following message in the logs
>
> 2013-11-08 13:51:55,071 WARN main log - failed
> org.mortbay.jetty.webapp.WebAppContext@21246e92{/hicc,file:/opt/chukwa/chukwa-incubating-0.5.0/share/chukwa/webapps/hicc.war}:
> java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
> 2013-11-08 13:51:55,072 WARN main log - failed
> ContextHandlerCollection@5ed7443d: java.lang.NoSuchFieldError:
> IS_SECURITY_ENABLED
> 2013-11-08 13:51:55,075 INFO main log - Opened
> /var/log/chukwa/2013_11_08.request.log
> 2013-11-08 13:51:55,075 WARN main log - failed HandlerCollection@bee743d:
> java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
> 2013-11-08 13:51:55,076 ERROR main log - Error starting handlers
> java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
>  at
> org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:197)
> at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:150)
>  at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
> at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
>  at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
>  at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
> at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
>  at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
> at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
>  at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>  at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>  at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>  at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> at org.mortbay.jetty.Server.doStart(Server.java:224)
>  at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at org.apache.hadoop.chukwa.hicc.HiccWebServer.run(HiccWebServer.java:207)
>  at
> org.apache.hadoop.chukwa.hicc.HiccWebServer.start(HiccWebServer.java:75)
> at org.apache.hadoop.chukwa.hicc.HiccWebServer.main(HiccWebServer.java:224)
> 2013-11-08 13:51:55,089 INFO main log - Started
> SelectChannelConnector@0.0.0.0:4080
>
>
> What is causing the issue?
>

Mime
View raw message