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
和輸出文件不顯示任何證其罪也。 我錯過了什麼?