Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Jetty/FAQ"

m
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Jetty}}
+
{{Jetty FAQ Section}}
  
{{faq
 
| title = Jetty History
 
| question = Why is it called Jetty?
 
| answer = Jetty was originally developed by Greg Wilkins  of Mort Bay Consulting.
 
  
Mort Bay is at the heart of Balmain, Sydney NSW, Australia. A former working class suburb, now yuppieville in Sydney's close inner-west.
+
== Trouble shooting ==
 +
 
 +
See [[Jetty/Troubleshooting|Jetty Trouble Shooting FAQ]].
 +
 
 +
 
 +
== General ==
 +
 
 +
{{Jetty FAQ
 +
| question = Why is it called Jetty?
 +
| answer = Jetty was originally developed by Greg Wilkins of Mort Bay Consulting in 1995!
  
Greg was living by Mort Bay when the company was formed, hence the company name.
+
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:
 
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
 
* it starts with a J
* jetty:// looks a little like http://
+
* the double tt in jetty:// looks a little like http://
 
* 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.
 
}}
 
}}
  
{{faq
+
{{Jetty FAQ
| title = Asking Questions
+
| question = Who uses Jetty?
| question = How do I submit a question?
+
| answer = Jetty has a huge variety of users:
| 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 include as a minimum the following information:
+
* 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
 +
| question = Why use Jetty?
 +
| 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
 +
| 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/jetty/about.php].
 +
}}
 +
 
 +
 
 +
 
 +
{{Jetty FAQ
 +
| question = How do I ask a question?
 +
| 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 <sup>1</sup>
+
# Jetty version
# Browser version <sup>2</sup>
+
# 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.
 
(1) If you are using a snapshot version, please look in your local maven repo for a maven-metadata-xxxx.xml file. The xxxx part is the name you have given the mortbay snapshot repo at http://jetty.mortbay.org/maven2/snapshot in your pom.xml. Report the snapshot number contained in it.
 
 
(2) Include this information if relevant to your problem.
 
 
}}
 
}}
  
{{faq
+
{{Jetty FAQ
| title = Choosing Between Sites
+
| question = How do I know which version of Jetty I am running?
| question = How do I know I am using the correct Jetty web site for my particular needs? Should I be on codehaus or Eclipse and why?
+
| answer = Locate the start.jar in your distribution. Then use the "--version" flag:
| answer = For downloading the latest Jetty and viewing the latest documentation you should be on [http://www.eclipse.org/jetty/ Eclipse]. For old versions of Jetty, RPMs, Debs, Hightide, and old documentation use [http://jetty.codehaus.org/ codehaus]. For support see [http://www.webtide.com Webtide]. For more information on this topic see [http://www.eclipse.org/about/jetty About Jetty].
+
java -jar start.jar -- version
 
}}
 
}}
  
{{faq
+
{{Jetty FAQ
| title = Upgrading from Jetty 6 to Jetty 7
+
| question = Is commercial support available?
| question = I have been using previous versions of Jetty from the Jetty 6 line, is Jetty 7 a drop in replacement?
+
| answer = Yes. See [http://www.webtide.com Webtide].
| 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. For porting instructions, see the next question.
+
 
}}
 
}}
  
{{faq
+
{{Jetty FAQ
| title = Upgrading Jetty Versions
+
| question = Is Jetty 7 a drop in replacement for Jetty 6?
| question = How do I port my application to Jetty [version]?
+
| 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]].
| answer = We've written some handy guides to help you port your application from older versions of Jetty, or from other web servers. Please see the [[Jetty/Getting_Started#Upgrades|Upgrades section of our Getting Started documentation]], for a complete list.
+
 
}}
 
}}
  
{{faq
+
{{Jetty FAQ
| title = Mailing Lists
+
| question = Can I use [http://www.springsource.org/about spring] to configure Jetty?
| question = How do I access the Jetty mail lists? Where do I view the mailing list archives?
+
| 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]].
| answer = Links to the Jetty mailing lists and their archives can be found in the [http://www.eclipse.org/jetty/mailinglists.php Mailing Lists] page.
+
 
}}
 
}}
  
{{faq
 
| title = Maven Artifacts
 
| question = Are Maven 2 artifacts still available?
 
| answer =  Yes, Jetty still supports our Maven based users to the same degree as previously. The location of artifacts has changed though.
 
* http://repo2.maven.org/maven2/org/eclipse/jetty
 
}}
 
  
{{faq
+
== Others ==
| title = IRC Communication
+
| question = Is there public IRC access?
+
| answer = Yes, the Jetty IRC channel is '''#jetty''' and the server is '''irc.codehaus.org/6667'''.
+
}}
+
  
{{faq
+
{{Jetty FAQ
| title = Blogs
+
| question = Where do I read the Jetty blogs?
+
| answer = You can find us and our blogs at [http://blogs.webtide.com/ blogs.webtide.com].
+
}}
+
 
+
{{faq
+
| title = Tools
+
 
| question = Can you recommend some useful web developer tools?
 
| question = Can you recommend some useful web developer tools?
 
| answer = Yes!  
 
| answer = Yes!  
Line 99: 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



Trouble shooting

See Jetty Trouble Shooting FAQ.


General

Question Mark.png Why is it called Jetty?

Jetty was originally developed by Greg Wilkins of Mort Bay Consulting in 1995!

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.


Question Mark.png Who uses Jetty?

Jetty has a huge variety of users: See the Jetty Powered page for more exemplar users.


Question Mark.png Why use Jetty?

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 Comparative Analysis with Tomcat.


Question Mark.png What's the difference between Jetty from Mort Bay, Codehaus and/or Eclipse?

The latest releases of core jetty-7 and later are available from Eclipse, which use the org.eclipse.jetty packaging. For versions 6 of Jetty, plus some jetty-7 components such as RPMs, Debs, Hightide, use codehaus, which uses the org.mortbay packaging. For more information on this topic see [1].



Question Mark.png How do I ask a question?

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:
  1. Jetty version
  2. Browser version
  3. OS platform
  4. JVM version
  5. Command line
  6. 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.


Question Mark.png How do I know which version of Jetty I am running?

Locate the start.jar in your distribution. Then use the "--version" flag: java -jar start.jar -- version


Question Mark.png Is commercial support available?

Yes. See Webtide.


Question Mark.png Is Jetty 7 a drop in replacement for Jetty 6?

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 Upgrades section of our Getting Started documentation.


Question Mark.png Can I use spring to configure Jetty?

Yes. Jetty can be assembled with any IoC style framework including our own XmlConfiguration and spring. It is the same as embedding jetty, a server is instantiated, injected with configuration and started. See the Spring File Server example or the Jetty Spring HOWTO.


Others

Question Mark.png Can you recommend some useful web developer tools?

Yes!

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

Http Protocol Analysis



Question Mark.png Does Jetty support WebSocket?

Yes. Jetty has a WebSocket Server implementation. See this blog for an introduction.


Jetty and Your Service Provider

Question Mark.png 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.

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 About Jetty.

Back to the top