Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Help !! Jetty won't deploy

Reply
Thread Tools

Help !! Jetty won't deploy

 
 
charly
Guest
Posts: n/a
 
      06-30-2003
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






 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploy won't deploy Masterpage.master GaryDean ASP .Net 1 04-14-2009 01:50 AM
PLEASE HELP - Jetty cookies don't work - fine in jboss amatijaca@gmail.com Java 0 06-25-2007 11:34 PM
Help needed on Jetty (embedded) Gernot Reichel Java 0 04-01-2007 05:09 PM
Jetty Plus in Eclipse Richard Smol Java 0 04-09-2004 01:09 PM
[jboss+jetty] dispatcher.forward giving StackOverflowError Maciek Zywno Java 0 09-03-2003 04:19 PM



Advertisments