aboutsummaryrefslogtreecommitdiffstats
path: root/www/jetty/pkg-message
diff options
context:
space:
mode:
Diffstat (limited to 'www/jetty/pkg-message')
-rw-r--r--www/jetty/pkg-message36
1 files changed, 12 insertions, 24 deletions
diff --git a/www/jetty/pkg-message b/www/jetty/pkg-message
index e0a9e3930ba7..03be3bbc5d9b 100644
--- a/www/jetty/pkg-message
+++ b/www/jetty/pkg-message
@@ -1,35 +1,23 @@
-- The environment variable JETTY_HOME should be set to the installation
- directory. Typically :
+- The environment variable JETTY_HOME should be set to the
+ installation directory. Typically :
- JETTY_HOME=%%PREFIX%%/share/java/jetty
+ JETTY_HOME=%%PREFIX%%/share/java/jetty-%%PORTVERSION%%
export JETTY_HOME
-- Make sure your CLASSPATH includes all the jar files in the $JETTY_HOME/lib
- directory :
+- The environment variable JAVA_HOME should be set to the
+ Java installation directory. For instance :
- CLASSPATH=$CLASSPATH:$JETTY_HOME/lib/javax.servlet.jar
- CLASSPATH=$CLASSPATH:$JETTY_HOME/lib/com.mortbay.Jetty.jar
- CLASSPATH=$CLASSPATH:$JETTY_HOME/lib/gnujsp.jar
- export CLASSPATH
-
- The jsse.jar, jnet.jar and jcert.jar are only required if you
- intend to run or compile the SSL classes.
+ JAVA_HOME=%%PREFIX%%/jdk1.3.1
+ export JAVA_HOME
- Running the Demo :
- The demonstration server has relative paths configured, so
- it must be run from the $JETTY_HOME directory. Users should
- consider using absolute file path names in their configurations
- if they wish to run Jetty from any directory.
-
- The demo server can be run with the following commands:
-
- cd $JETTY_HOME
- javavm com.mortbay.Jetty.Demo
-
- Use a browser to access the Jetty demo site at:
+ $JETTY_HOME/bin/jetty.sh run
+
+ Use a browser to access the Jetty demo site at :
http://hostname:8080
or
- http://127.0.0.1:8080 (if the browser is running on the same machine)
+ http://localhost:8080 (if the browser is running
+ on the same machine)