diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-13 10:09:56 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-13 10:09:56 +0000 |
commit | 4f9e2db46bc73db4a103b6c720786ef962b95088 (patch) | |
tree | 0b4d5ce9a53f1f679142535701db4d30d5abf044 /www/jetty/pkg-message | |
parent | 8cfa7f67afeeecedfcb5266b556231a35c3301ee (diff) | |
download | ports-4f9e2db46bc73db4a103b6c720786ef962b95088.tar.gz ports-4f9e2db46bc73db4a103b6c720786ef962b95088.zip |
Notes
Diffstat (limited to 'www/jetty/pkg-message')
-rw-r--r-- | www/jetty/pkg-message | 36 |
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) |