Skip to content

Instantly share code, notes, and snippets.

@nherment
Created May 4, 2012 23:35
Show Gist options
  • Save nherment/2598406 to your computer and use it in GitHub Desktop.
Save nherment/2598406 to your computer and use it in GitHub Desktop.
Jetty jsp error
18:11:15.336|WARN|failed ContextHandlerCollection@1a15cd9a: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
18:11:15.344|ERROR|Error starting handlers
java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
at org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:197) ~[jsp-2.1-6.1.14.jar:6.1.14]
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:150) ~[jsp-2.1-6.1.14.jar:6.1.14]
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.jetty.Server.doStart(Server.java:224) ~[jetty-6.1.26.jar:6.1.26]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
at org.apache.hadoop.http.HttpServer.start(HttpServer.java:594) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:410) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:358) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_22]
at javax.security.auth.Subject.doAs(Subject.java:416) [na:1.6.0_22]
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1115) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:358) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:461) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1208) [com.cloudera.cdh-hadoop-core-0.20.2-cdh3u0.jar:na]
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:278) [hadoop-test-0.20.2-cdh3u0.jar:na]
at com.modeln.rms.core.hadoop.CMnHadoopHBaseMiniClusterFactory.init(CMnHadoopHBaseMiniClusterFactory.java:105) [rms-core-0.4.0.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_22]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221) [jetty-webapp-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) [jetty-webapp-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227) [jetty-deploy-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:63) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.server.Server.doStart(Server.java:262) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) [jetty-xml-8.1.3.v20120416.jar:8.1.3.v20120416]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_22]
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) [jetty-xml-8.1.3.v20120416.jar:8.1.3.v20120416]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_22]
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) [start.jar:8.1.3.v20120416]
at org.eclipse.jetty.start.Main.start(Main.java:602) [start.jar:8.1.3.v20120416]
at org.eclipse.jetty.start.Main.main(Main.java:82) [start.jar:8.1.3.v20120416]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment