OSSEZ

 找回密码
 新用户

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 247|回复: 0

[Jetty] 如何运行 Jetty 的示例项目

[复制链接]
 楼主| 发表于 2017-5-17 02:28:19 | 显示全部楼层 |阅读模式
请参考下面的命令:
  1. C:\Users\YuCheng\Dkits\jetty>cd demo-base

  2. C:\Users\YuCheng\Dkits\jetty\demo-base>java -jar ../start.jar
  3. 2017-05-16 14:25:12.953:INFO::main: Logging initialized @909ms to org.eclipse.jetty.util.log.StdErrLog
  4. 2017-05-16 14:25:13.380:WARN::main: demo test-realm is deployed. DO NOT USE IN PRODUCTION!
  5. 2017-05-16 14:25:13.395:INFO:oejs.Server:main: jetty-9.4.5.v20170502
  6. 2017-05-16 14:25:13.425:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///C:/Users/YuCheng/Dkits/jetty/demo-base/webapps/] at interval 1
  7. 2017-05-16 14:25:14.178:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=130ms
  8. 2017-05-16 14:25:14.695:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
  9. 2017-05-16 14:25:14.697:INFO:oejs.session:main: No SessionScavenger set, using defaults
  10. 2017-05-16 14:25:14.701:INFO:oejs.session:main: Scavenging every 600000ms
  11. 2017-05-16 14:25:15.451:INFO:oejsh.ContextHandler:main: Started [email protected]{/proxy,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-xref-proxy.war-_xref-proxy-any-6728519910878774473.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\xref-proxy.war}
  12. 2017-05-16 14:25:15.514:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=16ms
  13. 2017-05-16 14:25:15.552:INFO:oejsh.ContextHandler:main: Started [email protected]{/doc,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/webapps/doc/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\doc}
  14. 2017-05-16 14:25:15.896:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=55ms
  15. 2017-05-16 14:25:15.903:WARN::main: async-rest webapp is deployed. DO NOT USE IN PRODUCTION!
  16. 2017-05-16 14:25:15.963:INFO:oejsh.ContextHandler:main: Started [email protected]{/async-rest,[file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-async-rest.war-_async-rest-any-2908283761663011720.dir/webapp/, jar:file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-async-rest.war-_async-rest-any-2908283761663011720.dir/webapp/WEB-INF/lib/example-async-rest-jar-9.4.5.v20170502.jar!/META-INF/resources],AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\async-rest.war}
  17. 2017-05-16 14:25:16.635:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=72ms
  18. 2017-05-16 14:25:16.641:WARN::main: test webapp is deployed. DO NOT USE IN PRODUCTION!
  19. 2017-05-16 14:25:17.025:INFO:oejsh.ManagedAttributeListener:main: update PushFilter null->[email protected] on [email protected]{/test,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war-_test-any-8348816481088530097.dir/webapp/,STARTING}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test.war}
  20. 2017-05-16 14:25:17.034:INFO:oejsh.ManagedAttributeListener:main: update QoSFilter null->[email protected] on [email protected]{/test,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war-_test-any-8348816481088530097.dir/webapp/,STARTING}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test.war}
  21. 2017-05-16 14:25:17.042:WARN:oeju.DeprecationWarning:main: Using @Deprecated Class org.eclipse.jetty.servlets.MultiPartFilter
  22. 2017-05-16 14:25:17.191:INFO:oejsh.ContextHandler:main: Started [email protected]{/test,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war-_test-any-8348816481088530097.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test.war}
  23. 2017-05-16 14:25:17.365:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=35ms
  24. 2017-05-16 14:25:17.371:WARN::main: test-jaas webapp is deployed. DO NOT USE IN PRODUCTION!
  25. 2017-05-16 14:25:17.401:INFO:oejsh.ContextHandler:main: Started [email protected]{/test-jaas,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-jaas.war-_test-jaas-any-2108594123932318298.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test-jaas.war}
  26. 2017-05-16 14:25:17.812:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=16ms
  27. 2017-05-16 14:25:17.817:WARN::main: test-jndi webapp is deployed. DO NOT USE IN PRODUCTION!
  28. 2017-05-16 14:25:17.905:INFO:oejsh.ContextHandler:main: Started [email protected]{/test-jndi,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-jndi.war-_test-jndi-any-6114169873044801101.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test-jndi.war}
  29. 2017-05-16 14:25:17.943:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=18ms
  30. 2017-05-16 14:25:17.968:INFO:oejsh.ContextHandler:main: Started [email protected]{/,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/webapps/ROOT/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\ROOT}
  31. 2017-05-16 14:25:17.992:INFO:oejsh.ContextHandler:main: Started [email protected]{/oldContextPath,null,AVAILABLE}
  32. 2017-05-16 14:25:18.405:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=40ms
  33. 2017-05-16 14:25:18.410:WARN::main: test-spec webapp is deployed. DO NOT USE IN PRODUCTION!
  34. 2017-05-16 14:25:18.477:INFO:oejsh.ContextHandler:main: Started [email protected]{/test-spec,[file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-spec.war-_test-spec-any-2971344556627942752.dir/webapp/, jar:file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-spec.war-_test-spec-any-2971344556627942752.dir/webapp/WEB-INF/lib/test-web-fragment-9.4.5.v20170502.jar!/META-INF/resources],AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test-spec.war}
  35. 2017-05-16 14:25:18.493:INFO:oejs.AbstractConnector:main: Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
  36. 2017-05-16 14:25:18.538:INFO:oejus.SslContextFactory:main: [email protected](jetty,h=[jetty.eclipse.org],w=[]) for [email protected](file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore)
  37. 2017-05-16 14:25:18.543:INFO:oejus.SslContextFactory:main: [email protected](mykey,h=[],w=[]) for [email protected](file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore)
  38. 2017-05-16 14:25:18.628:INFO:oejs.AbstractConnector:main: Started [email protected]{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
  39. 2017-05-16 14:25:18.631:INFO:oejs.Server:main: Started @6588ms
复制代码



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?新用户

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新用户

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|手机版|小黑屋|Archiver|帮助|OSSEZ (North Tecom)  

GMT+8, 2017-9-21 11:03

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表