Help !! Jetty won't deploy

Discussion in 'Java' started by charly, Jun 30, 2003.

  1. charly

    charly Guest

    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 :(
     
    charly, Jun 30, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Maciek Zywno
    Replies:
    0
    Views:
    872
    Maciek Zywno
    Sep 3, 2003
  2. Richard Smol

    Jetty Plus in Eclipse

    Richard Smol, Apr 9, 2004, in forum: Java
    Replies:
    0
    Views:
    873
    Richard Smol
    Apr 9, 2004
  3. Gernot Reichel

    Help needed on Jetty (embedded)

    Gernot Reichel, Apr 1, 2007, in forum: Java
    Replies:
    0
    Views:
    408
    Gernot Reichel
    Apr 1, 2007
  4. Replies:
    0
    Views:
    539
  5. GaryDean

    Deploy won't deploy Masterpage.master

    GaryDean, Apr 14, 2009, in forum: ASP .Net
    Replies:
    1
    Views:
    428
Loading...

Share This Page