在eclipse helios中为hbase运行jsp程序时出错

时间:2014-07-14 05:56:31

标签: java apache jsp hadoop hbase

我正在使用hadoop 1.2.1和hbase 0.94.20我在eclipse helios中创建了一个jsp progarm并试图在apache服务器上运行并发现以下错误

  

严重:子容器在启动时失败   java.util.concurrent.ExecutionException:   org.apache.catalina.LifecycleException:无法启动组件   [StandardEngine [卡塔利娜] .StandardHost [本地主机] .StandardContext [/ HBASE]]     在java.util.concurrent.FutureTask.report(FutureTask.java:122)at   java.util.concurrent.FutureTask.get(FutureTask.java:188)at   org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)     在   org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在   org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1559)     在   org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1549)     在java.util.concurrent.FutureTask.run(FutureTask.java:262)at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)     在java.lang.Thread.run(Thread.java:745)引起:   org.apache.catalina.LifecycleException:无法启动组件   [StandardEngine [卡塔利娜] .StandardHost [本地主机] .StandardContext [/ HBASE]]     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)     ... 6更多引起:java.lang.NoSuchMethodError:   javax.servlet.ServletContext.getSessionCookieConfig()Ljavax / servlet的/ SessionCookieConfig;     在   org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1331)     在   org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1348)     在   org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:880)     在   org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:378)     在   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)     在   org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)     在   org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5343)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 6更多2014年7月14日上午11:17:36   org.apache.catalina.core.ContainerBase startInternal SEVERE:一个孩子   启动时容器失败java.util.concurrent.ExecutionException:   org.apache.catalina.LifecycleException:无法启动组件   [StandardEngine [卡塔利娜] .StandardHost [本地主机] .StandardContext []]     在java.util.concurrent.FutureTask.report(FutureTask.java:122)at   java.util.concurrent.FutureTask.get(FutureTask.java:188)at   org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)     在   org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在   org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1559)     在   org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1549)     在java.util.concurrent.FutureTask.run(FutureTask.java:262)at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)     在java.lang.Thread.run(Thread.java:745)引起:   org.apache.catalina.LifecycleException:无法启动组件   [StandardEngine [卡塔利娜] .StandardHost [本地主机] .StandardContext []]     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)     ... 6更多引起:java.lang.NoSuchMethodError:   javax.servlet.ServletContext.getSessionCookieConfig()Ljavax / servlet的/ SessionCookieConfig;     在   org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1331)     在   org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1348)     在   org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:880)     在   org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:378)     在   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)     在   org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)     在   org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5343)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 6更多2014年7月14日上午11:17:36   org.apache.catalina.core.ContainerBase startInternal SEVERE:一个孩子   启动时容器失败java.util.concurrent.ExecutionException:   org.apache.catalina.LifecycleException:无法启动组件   [StandardEngine [Catalina] .StandardHost [localhost]] at   java.util.concurrent.FutureTask.report(FutureTask.java:122)at   java.util.concurrent.FutureTask.get(FutureTask.java:188)at   org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)     在   org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在   org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在   org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在org.apache.catalina.startup.Catalina.start(Catalina.java:690)at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)     在   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.lang.reflect.Method.invoke(Method.java:606)at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)at at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)导致   by:org.apache.catalina.LifecycleException:无法启动组件   [StandardEngine [Catalina] .StandardHost [localhost]] at   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)     在   org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1559)     在   org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1549)     在java.util.concurrent.FutureTask.run(FutureTask.java:262)at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)     在java.lang.Thread.run(Thread.java:745)引起:   org.apache.catalina.LifecycleException:子容器失败   在开始时   org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)     在   org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 6更多2014年7月14日上午11:17:36   org.apache.catalina.startup.Catalina启动SEVERE:所需的服务器   组件无法启动,因此Tomcat无法启动。   org.apache.catalina.LifecycleException:无法启动组件   [StandardServer [8005]] at   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)     在org.apache.catalina.startup.Catalina.start(Catalina.java:690)at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)     在   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.lang.reflect.Method.invoke(Method.java:606)at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)at at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)导致   by:org.apache.catalina.LifecycleException:无法启动组件   [StandardService [Catalina]] at   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)     在   org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 7更多引起:org.apache.catalina.LifecycleException:失败   启动组件[StandardEngine [Catalina]]   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)     在   org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 9更多引起:org.apache.catalina.LifecycleException:一个孩子   容器在启动时失败   org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)     在   org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)     在   org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 11更多2014年7月14日上午11:17:36   org.apache.coyote.AbstractProtocol pause INFO:暂停ProtocolHandler   [" http-bio-8080"] 2014年7月14日上午11:17:36   org.apache.coyote.AbstractProtocol pause INFO:暂停ProtocolHandler   [" ajp-bio-8009"] 2014年7月14日上午11:17:36   org.apache.catalina.core.StandardService stopInternal INFO:正在停止   服务Catalina 2014年7月14日上午11:17:36   org.apache.coyote.AbstractProtocol销毁信息:销毁   ProtocolHandler [" http-bio-8080"] 2014年7月14日上午11:17:36   org.apache.coyote.AbstractProtocol销毁信息:销毁   ProtocolHandler [" ajp-bio-8009"]

0 个答案:

没有答案