Help !! Jetty won't deploy

C

charly

Greetings,

I've fighting for 2 days with Jetty on Mandrake :

I put a little jsp "hello.jsp :) ) : webapps/root/hello.jsp


When I use $JETTY_HOME/bin/Jetty.sh run etc/jetty.xml

here goes the server :

# ./jetty.sh run
Defaulting JETTY_HOME to /usr/local/Jetty
Running Jetty:
22:50:55.271 EVENT Statistics on = false for
org.mortbay.jetty.Server@1fc4bec
22:50:55.386 EVENT Starting Jetty/4.2.9
22:50:55.416 EVENT Started org.mortbay.http.NCSARequestLog@ba6c83
22:50:55.581 EVENT Started WebApplicationContext[/,Root WebApp]
22:50:55.881 EVENT Started SocketListener on 0.0.0.0:8080
22:50:55.882 EVENT Started org.mortbay.jetty.Server@1fc4bec

ok then...

I open my browser, go the URL : http://localhost:8080/hello.jsp

=> unable to compile for JSP etc....

my rc.local :
JAVA_HOME=/usr/java/javasdk
J2EE_HOME=/usr/java/j2sdkee1.3.1
PATH=$JAVA_HOME/bin:$PATH
JETTY_HOME=/usr/local/Jetty
KERNEL_DIR=usr/src/linux-2.4.19-16mdk

CLASSPATH=$JETTY_HOME/lib/org.mortbay.jetty.jar:\
$JAVA_HOME/lib/tools.jar:\
$J2EE_HOME/lib/j2ee.jar

#$JETTY_HOME/lib/javax.servlet.jar:\
#$JETTY_HOME/ext/ant.jar:\
#$JETTY_HOME/ext/jasper-runtime.jar:\
#$JETTY_HOME/ext/jasper-compiler.jar:\

I downloaded J2EE from sun and played with it instead of Jasper but no
luck with it either :

Error messages :
Error compiling file: /tmp/Jetty__8080__/hello_jsp.java

classpath=:/usr/local/Jetty/ext/ant.jar:/usr/local/Jetty/ext/jasper-compiler.jar:/usr/local/Jetty/ext/jasper-runtime.jar:/usr/local/Jetty/ext/jcert.jar:/usr/local/Jetty/ext/jmxri.jar:/usr/local/Jetty/ext/jmxtools.jar:/usr/local/Jetty/ext/jnet.jar:/usr/local/Jetty/ext/jsse.jar:/usr/local/Jetty/lib/javax.servlet.jar:/usr/local/Jetty/lib/org.mortbay.jetty.jar:/usr/local/Jetty/lib/org.mortbay.jmx.jar:/usr/java/javasdk/lib/tools.jar
cp=/usr/local/Jetty/ext/ant.jar
cp=/usr/local/Jetty/ext/jasper-compiler.jar
cp=/usr/local/Jetty/ext/jasper-runtime.jar
cp=/usr/local/Jetty/ext/jcert.jar
cp=/usr/local/Jetty/ext/jmxri.jar
cp=/usr/local/Jetty/ext/jmxtools.jar
cp=/usr/local/Jetty/ext/jnet.jar
cp=/usr/local/Jetty/ext/jsse.jar
cp=/usr/local/Jetty/lib/javax.servlet.jar
cp=/usr/local/Jetty/lib/org.mortbay.jetty.jar
cp=/usr/local/Jetty/lib/org.mortbay.jmx.jar
cp=/usr/java/javasdk/lib/tools.jar
work dir=/tmp/Jetty__8080__
srcDir=/tmp/Jetty__8080__
include=hello_jsp.java

Questions : I specified the classpath and purposefully excluded jasper :
how does that I find it back in cp ? (is-it included in j2ee.jar?)

Many many thx because I'm really stuck on that one and cannot find any
resource (been on Jetty's website and proposed, in the FAQ, to war the
stuff, this does not help me much :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top