2014-02-26 96 views
0

我正尝试使用Amazon EC2服务在Ubuntu 13.10服务器上使用Jetty启动使用Jetty的war(dss-server.war)文件。有问题的项目使用maven,java,apache-camel,spring和SIGAR。然而,该方法被杀害,没有明显的理由的:Jetty 8无法在AWS EC2服务器上启动java web-app

Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future 
2014-02-26 22:40:48.737:INFO:oejs.Server:jetty-8.1.14.v20131031 
2014-02-26 22:40:48.798:INFO:oejdp.ScanningAppProvider:Deployment monitor /home/ubuntu/jetty-distribution-8.1.14.v20131031/webapps at interval 1 
2014-02-26 22:40:48.814:INFO:oejd.DeploymentManager:Deployable added: /home/ubuntu/jetty-distribution-8.1.14.v20131031/webapps/dss-server.war 
2014-02-26 22:40:49.096:INFO:oejw.WebInfConfiguration:Extract jar:file:/home/ubuntu/jetty-distribution-8.1.14.v20131031/webapps/dss-server.war!/ to /tmp/jetty-0.0.0.0-8080-dss-server.war-_dss-server-any-/webapp 
2014-02-26 22:41:17.170:INFO:dss-server:No Spring WebApplicationInitializer types detected on classpath 
2014-02-26 22:41:19.193:INFO:dss-server:Initializing Spring root WebApplicationContext 
2014-02-26 22:41:32.409:INFO:dss-server:Initializing Spring FrameworkServlet 'dss' 
Killed 

我使用下面的命令行启动项目:

java -jar -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:PermSize=128M -XX:MaxPermSize=256M start.jar > output.txt 

和输出文件不显示任何证其罪也。 我错过了什么?

回答

相关问题