Jetty"

From Documentation
m
Line 1: Line 1:
 
{{ZKInstallationGuidePageHeader}}
 
{{ZKInstallationGuidePageHeader}}
  
 +
=Deploy=
 
#Download Jetty from http://www.mortbay.org/jetty/index.html and install it, if you haven't installed it yet.
 
#Download Jetty from http://www.mortbay.org/jetty/index.html and install it, if you haven't installed it yet.
 
#Stop Jetty.
 
#Stop Jetty.
Line 12: Line 13:
 
#Start Jetty.
 
#Start Jetty.
 
#Browse to http://localhost/zksandbox or http://localhost:8080/zksandbox, depending on your configuration.
 
#Browse to http://localhost/zksandbox or http://localhost:8080/zksandbox, depending on your configuration.
 +
 +
= Limitations =
 +
# Due to this [issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=401664], Jetty that support Servlet 3 should avoid use the default Servlet 3 Comet ([http://books.zkoss.org/wiki/Small_Talks/2012/February/New_Features_of_ZK_6#ZK_Comet_supports_Servlet_3_Asynchronous_Processing Servlet 3 Asynchronous Processing-based Comet]) server pushes, use <javadoc>org.zkoss.zkex.ui.comet.CometServerPush</javadoc> instead.
 +
  
 
=Version History=
 
=Version History=

Revision as of 07:11, 29 July 2013


Deploy

  1. Download Jetty from http://www.mortbay.org/jetty/index.html and install it, if you haven't installed it yet.
  2. Stop Jetty.
  3. Unzip zk-demo-x.x.x.zip or zk-demo.x.x.tar.gz
  4. Copy dist/lib/*.jar to $JETTY_HOME/lib
    ($JETTY_HOME is where you installed Jetty)
  5. Copy dist/lib/ext/*.jar to $JETTY_HOME/lib
  6. [Optional] Copy dist/lib/zkforge/*.jar to $JETTY_HOME/lib
    (It depends whether you need component from ZK Forge)
  7. Deploy demo/bin/zksandbox.war to Jetty by copying it to $JETTY_HOME/webapps directly.
  8. Start Jetty.
  9. Browse to http://localhost/zksandbox or http://localhost:8080/zksandbox, depending on your configuration.

Limitations

  1. Due to this [issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=401664], Jetty that support Servlet 3 should avoid use the default Servlet 3 Comet (Servlet 3 Asynchronous Processing-based Comet) server pushes, use CometServerPush instead.


Version History

Version Date Content
     



Last Update : 2013/07/29

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.