Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty/FAQ"
m |
|||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Jetty FAQ Section}} | {{Jetty FAQ Section}} | ||
+ | |||
+ | |||
+ | == Trouble shooting == | ||
+ | |||
+ | See [[Jetty/Troubleshooting|Jetty Trouble Shooting FAQ]]. | ||
+ | |||
== General == | == General == | ||
Line 15: | Line 21: | ||
* there is a jetty in the Mort Bay logo. | * there is a jetty in the Mort Bay logo. | ||
* there were no better suggestions. | * there were no better suggestions. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{Jetty FAQ | {{Jetty FAQ | ||
| question = Who uses Jetty? | | question = Who uses Jetty? | ||
− | | answer = | + | | answer = Jetty has a huge variety of users: |
+ | * Large clusters, such as the [http://developer.yahoo.net/hadoop/ Yahoo Hadoop Cluster] | ||
+ | * Cloud computing, such as the [http://code.google.com/appengine/ Google AppEngine] | ||
+ | * SaaS, such as [http://www.zimbra.com/ Yahoo! Zimbra] | ||
+ | * Application Servers, such as [http://geronimo.apache.org/ Apache Geronimo] | ||
+ | * Frameworks, such as [http://code.google.com/webtoolkit/ GWT] | ||
+ | * Tools, such as the [http://www.eclipse.org/ Eclipse IDE] | ||
+ | * Devices, such as [http://code.google.com/p/i-jetty/ phones] | ||
+ | See the [http://docs.codehaus.org/display/JETTY/Jetty+Powered Jetty Powered] page for more exemplar users. | ||
}} | }} | ||
{{Jetty FAQ | {{Jetty FAQ | ||
| question = Why use Jetty? | | question = Why use Jetty? | ||
− | | answer = | + | | answer = Some of the reasons to use Jetty over other available options are: |
+ | * Jetty is Open source with a commercially usable license. | ||
+ | * Jetty has a small foot print, yet is full featured and standards based. | ||
+ | * Jetty is flexible and extensible, so that if your application/deployment is not a standard webapp, Jetty can easily be customized. | ||
+ | * Jetty provides asynchronous HTTP handling within the safe standard servlet API model, without the need to program at the asynchronous IO level. | ||
+ | * Jetty has an innovative, responsive and approachable developer community. | ||
+ | See also a [http://www.webtide.com/choose/jetty.jsp Comparative Analysis with Tomcat]. | ||
}} | }} | ||
− | |||
− | |||
{{Jetty FAQ | {{Jetty FAQ | ||
| question = What's the difference between Jetty from Mort Bay, Codehaus and/or Eclipse? | | question = What's the difference between Jetty from Mort Bay, Codehaus and/or Eclipse? | ||
− | | answer = The latest releases of core jetty-7 and later are available from [http://www.eclipse.org/jetty/ Eclipse], which use the org.eclipse.jetty packaging. For versions 6 of Jetty, plus some jetty-7 components such as RPMs, Debs, Hightide, use [http://jetty.codehaus.org/ codehaus], which uses the org.mortbay packaging. For more information on this topic see [http://www.eclipse.org | + | | answer = The latest releases of core jetty-7 and later are available from [http://www.eclipse.org/jetty/ Eclipse], which use the org.eclipse.jetty packaging. For versions 6 of Jetty, plus some jetty-7 components such as RPMs, Debs, Hightide, use [http://jetty.codehaus.org/ codehaus], which uses the org.mortbay packaging. For more information on this topic see [http://www.eclipse.org/jetty/about.php]. |
}} | }} | ||
Line 42: | Line 55: | ||
{{Jetty FAQ | {{Jetty FAQ | ||
− | | question = How do I | + | | question = How do I ask a question? |
− | | answer = You can get some help from the Jetty community by posting a question to the jetty-users@eclipse.org mailing list. When posting, please be sure to | + | | answer = You can get some help from the Jetty community by posting a question to #jetty on irc.freenode.org or to the jetty-users@eclipse.org mailing list. When posting, please be sure to have available as a minimum the following information: |
− | # Jetty version | + | # Jetty version |
− | # Browser version | + | # Browser version |
# OS platform | # OS platform | ||
# JVM version | # JVM version | ||
# Command line | # Command line | ||
+ | # Full stack trace of any exceptions | ||
If your problem involves a complex webapp, please try and provide us with just a small webapp instead that also demonstrates the problem. | If your problem involves a complex webapp, please try and provide us with just a small webapp instead that also demonstrates the problem. | ||
Debug logs, packet traces from tools such as ethereal or copies of the HTTP dialog as captured by tools such as Firefox "Live HTTP Headers" are always useful. | Debug logs, packet traces from tools such as ethereal or copies of the HTTP dialog as captured by tools such as Firefox "Live HTTP Headers" are always useful. | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Jetty FAQ | {{Jetty FAQ | ||
Line 76: | Line 77: | ||
{{Jetty FAQ | {{Jetty FAQ | ||
− | | question = Is | + | | question = Is commercial support available? |
− | | answer = | + | | answer = Yes. See [http://www.webtide.com Webtide]. |
}} | }} | ||
+ | {{Jetty FAQ | ||
+ | | question = Is Jetty 7 a drop in replacement for Jetty 6? | ||
+ | | answer = No, while Jetty 7 has very much the same architecture as Jetty 6, there are packaging changes and other minor tweaks between the versions. Also, the Jetty 7 milestones are not as fully featured as Jetty 6 in terms of third party integrations being available by default with the distribution bundle. Please see the [[Jetty/Starting#Upgrades|Upgrades section of our Getting Started documentation]]. | ||
+ | }} | ||
{{Jetty FAQ | {{Jetty FAQ | ||
− | | question = | + | | question = Can I use [http://www.springsource.org/about spring] to configure Jetty? |
− | | answer = Yes | + | | answer = Yes. Jetty can be assembled with any IoC style framework including our own XmlConfiguration and [http://www.springsource.org/about spring]. It is the same as embedding jetty, a server is instantiated, injected with configuration and started. See the [[Jetty/Tutorial/Embedding_Jetty#File_Server_with_spring|Spring File Server]] example or the [[Jetty/Howto/Spring|Jetty Spring HOWTO]]. |
− | + | ||
}} | }} | ||
+ | |||
== Others == | == Others == | ||
Line 106: | Line 111: | ||
* [https://addons.mozilla.org/en-US/firefox/addon/966 Tamper Data plugin for Firefox] - shows you the HTTP dialog and allows you to modify | * [https://addons.mozilla.org/en-US/firefox/addon/966 Tamper Data plugin for Firefox] - shows you the HTTP dialog and allows you to modify | ||
* [http://www.wireshark.org Wireshark] - network protocol analyzer. | * [http://www.wireshark.org Wireshark] - network protocol analyzer. | ||
+ | }} | ||
+ | |||
+ | |||
+ | |||
+ | {{Jetty FAQ | ||
+ | | question = Does Jetty support [http://dev.w3.org/html5/websockets/ WebSocket]? | ||
+ | | answer = Yes. Jetty has a WebSocket Server implementation. See [http://blogs.webtide.com/gregw/entry/jetty_websocket_server this blog] for an introduction. | ||
+ | }} | ||
+ | |||
+ | |||
+ | |||
+ | == Jetty and Your Service Provider == | ||
+ | |||
+ | {{Jetty FAQ | ||
+ | | question = Why has my web service (for example, email) crashed six times in the last two months? The error page says "powered by Jetty," so it must be your fault. | ||
+ | | answer = Jetty is the web infrastructure your service provider uses. The fact that you can see "powered by Jetty" indicates that Jetty is still working fine. It is the email application running on top of Jetty that has failed for some reason. You need to contact your service provider. | ||
+ | |||
+ | |||
+ | To learn more about Jetty and the web application services it provides, see [http://www.eclipse.org/jetty/ About Jetty]. | ||
}} | }} |
Latest revision as of 17:08, 6 September 2011
Contents
- 1 Trouble shooting
- 2 General
- 2.1 Why is it called Jetty?
- 2.2 Who uses Jetty?
- 2.3 Why use Jetty?
- 2.4 What's the difference between Jetty from Mort Bay, Codehaus and/or Eclipse?
- 2.5 How do I ask a question?
- 2.6 How do I know which version of Jetty I am running?
- 2.7 Is commercial support available?
- 2.8 Is Jetty 7 a drop in replacement for Jetty 6?
- 2.9 Can I use spring to configure Jetty?
- 3 Others
- 4 Jetty and Your Service Provider
Trouble shooting
See Jetty Trouble Shooting FAQ.
General
Why is it called Jetty?
Mort Bay is at the heart of Balmain, Sydney NSW, Australia. A former working class suburb, now yuppieville in Sydney's close inner-west. Greg was living by Mort Bay when the company was formed, hence the company name.
Jetty was originally called IssueTracker (its original application) and then MBServler (Mort Bay SERVLet servER). Neither of these were much liked, so Jetty was finally picked as:
- it starts with a J
- the double tt in jetty:// looks a little like http://
- there is a jetty in the Mort Bay logo.
- there were no better suggestions.
Who uses Jetty?
- Large clusters, such as the Yahoo Hadoop Cluster
- Cloud computing, such as the Google AppEngine
- SaaS, such as Yahoo! Zimbra
- Application Servers, such as Apache Geronimo
- Frameworks, such as GWT
- Tools, such as the Eclipse IDE
- Devices, such as phones
Why use Jetty?
- Jetty is Open source with a commercially usable license.
- Jetty has a small foot print, yet is full featured and standards based.
- Jetty is flexible and extensible, so that if your application/deployment is not a standard webapp, Jetty can easily be customized.
- Jetty provides asynchronous HTTP handling within the safe standard servlet API model, without the need to program at the asynchronous IO level.
- Jetty has an innovative, responsive and approachable developer community.
What's the difference between Jetty from Mort Bay, Codehaus and/or Eclipse?
How do I ask a question?
- Jetty version
- Browser version
- OS platform
- JVM version
- Command line
- Full stack trace of any exceptions
If your problem involves a complex webapp, please try and provide us with just a small webapp instead that also demonstrates the problem.
Debug logs, packet traces from tools such as ethereal or copies of the HTTP dialog as captured by tools such as Firefox "Live HTTP Headers" are always useful.
How do I know which version of Jetty I am running?
Is commercial support available?
Is Jetty 7 a drop in replacement for Jetty 6?
Can I use spring to configure Jetty?
Others
Can you recommend some useful web developer tools?
These tools have nothing to do specifically with Jetty; they're just a list of tools we find useful in developing and diagnosing misbehaving webapps:
Browsers and GUI Tools
- Firefox - open source browser.
- Web Developer plugin for Firefox - all sorts of tools to help you develop and debug your HTML and CSS.
- Firebug plugin for Firefox - DOM inspector plus a lot more.
- Poster Plugin for Firefox - lets you do POSTs, GETs, PUTs, etc and see the results.
- DOM Inspector plugin for Firefox - DOM inspector.
- Venkman plugin for Firefox - legendary javascript debugger.
Http Protocol Analysis
- LiveHttpHeaders plugin for Firefox - shows you the HTTP dialog between browser and server.
- Tamper Data plugin for Firefox - shows you the HTTP dialog and allows you to modify
- Wireshark - network protocol analyzer.
Does Jetty support WebSocket?
Jetty and Your Service Provider
Why has my web service (for example, email) crashed six times in the last two months? The error page says "powered by Jetty," so it must be your fault.