1
回答
应用部署到tomcat之后,报错了,已经删除了jettey相关的jar包
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

@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文件的

举报
jason9988
发帖于2年前 1回/373阅
顶部