jetty.project

授权协议 View license
开发语言 C/C++
所属分类 其他开源、 嵌入式操作系统
软件类型 开源软件
地区 不详
投 递 者 宗政子琪
操作系统 嵌入式
开源组织
适用人群 未知
 软件概览

Eclipse Jetty Canonical Repository

This is the canonical repository for the Jetty project, feel free to fork and contribute now!

Submitting a patch or pull request?

Make sure you have an Eclipse Contributor Agreement (ECA) on file.

Project description

Jetty is a lightweight highly scalable java based web server and servlet engine.Our goal is to support web protocols like HTTP, HTTP/2 and WebSocket in a high volume low latency way that provides maximum performance while retaining the ease of use and compatibility with years of servlet development.Jetty is a modern fully async web server that has a long history as a component oriented technology easily embedded into applications while still offering a solid traditional distribution for webapp deployment.

Webapp Example

$ mkdir base && cd base
$ java -jar $JETTY_HOME/start.jar --add-modules=http,deploy
$ cp ~/src/myproj/target/mywebapp.war webapps
$ java -jar $JETTY_HOME/start.jar

Embedded Example

Server server = new Server(port);
ServletContextHandler context = new ServletContextHandler(server, "/");
context.addServlet(MyServlet.class, "/*");
server.start();

Documentation

Project documentation is available on the Jetty Eclipse website.

Building

To build, use:

mvn clean install

Eclipse Jetty will be built in jetty-home/target/jetty-home.

The first build may take a longer than expected as Maven downloads all the dependencies.

The build tests do a lot of stress testing, and on some machines it is necessary to set the file descriptor limit to greater than 2048 for the tests to all pass successfully.

It is possible to bypass tests by building with mvn clean install -DskipTests.

Professional Services

Expert advice and production support are available through Webtide.com.

  • 问题 I've been trying to get a c3p0 db connection pool configured for Jetty, but I keep getting a ClassNotFoundException: 2010-03-14 19:32:12.028:WARN::Failed startup of context WebAppContext@fccada@fcc

  • 使用jetty作为容器,想要更早的关闭不需要的链接,减少没用的TCP链接数量,方便同时处理更多请求。 在创建Connector的时候调用setMaxIdleTime(15 * 1000);将链接的最大空闲时间从默认的30秒换成15秒。 但是服务器开始出现报错 WARN  o.e.j.i.nio:720 - javax.net.ssl.SSLException: illegal change cip

  • 1,下载Jetty文件,官网地址: http://www.softpedia.com/get/Internet/Servers/WEB-Servers/Jetty.shtml 2,环境变量配置:(为了方便启动进行配置) 在终端输入,open .bash_profile,然后在打开闻文件下添加一下文本内容: //为jetty解压目录 JETTY_HOME=/user/jetty-distributi

  • 每个单独发行的Jetty版本都有bin/jetty.sh这个脚本,可以在各种Unix(包括OS X)系统中用来管理jetty的启动。 这个脚本适用于在Unix中把Jetty设置为服务。 快速启动Jetty服务 以下是运行Jetty服务的最短步骤: [/opt/jetty]# tar -zxf /home/user/downloads/jetty-distribution-9.3.1-SNAPSHO

  • 我将Jetty 9.4.8.v20171121与Java 9结合使用,这是我加载的jetty模块的列表:     jetty-server-9.4.8.v20171121.jar jetty-servlet-9.4.8.v20171121.jar jetty-servlets-9.4.8.v20171121.jar jetty-util-9.4.8.v20171121.jar jetty-

  • Jetty 开发指导:Jetty Websocket API 原文 csdn tomato__ Jetty 开发指导:Jetty Websocket API Jetty 提供了功能更强的 WebSocket API,使用一个公共的核心 API 供 WebSockets 的服务端和客户端使用。 他是一个基于 WebSocket 消息的事件驱动的API。 WebSocket 事件 每个 WebSock

  • 错误发生背景:使用cmd命令行窗口进行maven项目开发,进入项目的目录(有文件pom.xml的)下进行mvn site命令,出现以下错误 错误描述 [INFO] Scanning for projects... [INFO] [INFO] ---------------------< com.mengma.demo:HelloWorld >--------------------- [INFO]

  • 用${jetty.home}和${jetty.base}配置安全 Jetty 9.1中:  1)${jetty.home}是jetty发布(二进制)的目录路径;  2)${jetty.base}是用户定制化的目录路径。 这样分化:  1)允许你管理多个Jetty安装;  2)当你升级Jetty后,更容易保留你当前的配置。 更多的信息在后面讲《启动Jetty》时会详述。 而且,Jetty 9.1参数

  • 使用 ajaxFileupload 异步上传文件,报错 org.eclipse.jetty.io.EofException: early EOF 日志信息: java.lang.RuntimeException: org.eclipse.jetty.io.EofException: early EOF at com.jfinal.upload.MultipartRequest.wrapMultip

相关阅读

相关文章

相关问答

相关文档