应用部署到tomcat之后,报错了,已经删除了jettey相关的jar包
@JFinal 你好,想跟你请教个问题:
应用部署到tomcat之后,报错了,详细内容,请参考以下的粗体黑色文字的内容。另外,部署的时候,已经删除了jetty-server-8.1.8.jar。请帮忙分析是啥原因造成的。
#2015-07-05 14:22:18,315 [main] INFO org.apache.catalina.startup.Catalina- Server startup in 5853 ms |
#2015-07-05 14:22:18,306 [main] INFO org.apache.coyote.http11.Http11Protocol- Starting ProtocolHandler ["http-bio-18080"] |
#2015-07-05 14:22:18,139 [localhost-startStop-1] INFO org.apache.catalina.startup.HostConfig- Deploying web application archive /home/bae/app/ROOT.war |
#2015-07-05 14:22:18,123 [localhost-startStop-1] ERROR org.apache.catalina.core.StandardContext- Context [/happyshow] startup failed due to previous errors |
#2015-07-05 14:22:18,123 [localhost-startStop-1] ERROR org.apache.catalina.core.StandardContext- Error filterStart |
# at java.lang.Thread.run(Thread.java:724) |
# at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) |
# at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) |
# at java.util.concurrent.FutureTask.run(FutureTask.java:166) |
# at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) |
# at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) |
# at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) |
# at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) |
# at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) |
# at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) |
# at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) |
# at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) |
# at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452) |
# at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775) |
# at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) |
# at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) |
# at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) |
# at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49) |
# at com.jfinal.core.JFinal.init(JFinal.java:67) |
# at com.jfinal.core.Config.configJFinal(Config.java:46) |
# at com.chixun.common.Config.configConstant(Config.java:44) |
# at com.jfinal.config.JFinalConfig.loadPropertyFile(JFinalConfig.java:96) |
#java.lang.IllegalArgumentException: Properties file not found: /tmp/tomcat/Catalina/localhost/happyshow/WEB-INF/dev_db_config.txt |
#2015-07-05 14:22:18,121 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/happyshow]- Exception starting filter jfinal |
#2015-07-05 14:22:12,501 [localhost-startStop-1] INFO org.apache.catalina.startup.HostConfig- Deploying web application archive /home/bae/app/happyshow.war |
#2015-07-05 14:22:12,489 [main] INFO org.apache.catalina.core.StandardEngine- Starting Servlet Engine: Apache Tomcat/7.0.47 |
#2015-07-05 14:22:12,489 [main] INFO org.apache.catalina.core.StandardService- Starting service Catalina |
#2015-07-05 14:22:12,461 [main] INFO org.apache.catalina.startup.Catalina- Initialization processed in 682 ms |
#2015-07-05 14:22:12,445 [main] INFO org.apache.coyote.http11.Http11Protocol- Initializing ProtocolHandler ["http-bio-18080"] |
#2015-07-05 14:22:12,219 [main] INFO org.apache.catalina.core.AprLifecycleListener- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib |
但是,实际上,在打好的happyshow.war中是包含dev_db_config.txt文件的
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你查看Tomcat中的这个位置“
/tmp/tomcat/Catalina/localhost/happyshow/WEB-INF/”下,是否存在此.txt配置文件,如果没有,说明有问题。