
jetty
kawayime
这个作者很懒,什么都没留下…
展开
-
jetty8 添加静态文件目录
contexts下添加mydir.xml:[code="xml"] Configure mydir.xml /mydir file:/F:/studio/static index.html true [/c...原创 2013-08-11 13:57:03 · 821 阅读 · 0 评论 -
jetty ssl配置
jetty版本为8.1.12,系统为win7:1. 使用jdk/bin下的keytool生成keystore,并记住你的密码PASSWORD:[code="cmd"]keytool -keystore mykeystore -alias jetty -genkey -keyalg RSA[/code]2. 将生成的mykeystore拷至jetty.home/etc下;...原创 2013-08-27 14:40:00 · 281 阅读 · 0 评论 -
mvn jetty:run 启动很慢解决办法
jetty8,使用jetty:run时启动相当慢,原因是:The Jetty8 have to scan all the jar files to search those "Servlet3" features (web-fragment / annotations ... etc )solution 1:add the following code to web.xml:[code...原创 2013-08-31 23:47:47 · 2622 阅读 · 0 评论 -
jetty 长时间运行之后出现 PWC6117 file not found
这是因为jetty 默认将tmp文件夹指向/tmp,这个文件夹是会定时清空的,具体脚本在:/etc/cron.daily/tmpwatch所以解决办法是将jetty的tmp目录指向别处,例如jetty/tmp;修改jetty.sh:[code="java"]TMPDIR=${TMPDIR:-/jetty/jetty-distribution-8.1.6.v20120903/tmp}[/...原创 2013-10-22 15:55:45 · 354 阅读 · 0 评论