2 Replies Latest reply on Nov 13, 2001 5:03 AM by vad

    jboss3.0 + tomcat

    vad

      I have an ear (only containing a war and application.xml), which works well in jboss2.4.1+tomcat but does not in jboss3.0+jetty (url problem).

      So, what is the status of embedded Tomcat in jboss3.0 ?

        • 1. Re: jboss3.0 + tomcat
          foglesa

          hmm interesting the only fault i have found with jboss3 is that it seems jetty is not picking up the security. I get the authorized messages then an HTML error 403 forbidden. However my app works fine. (ohh and I dont think EJB-QL is complete, but I can get by for now without that luckily!)

          Can you give a bit more information? does the app work in JBoss2.4.3-jetty?

          Al

          P.s. By the way i have seen problems with Jboss-jetty 3.1.3 Come to think of it I think it was security problems... hmm might have to check that out, and shoot Jules an email if so.

          • 2. Re: jboss3.0 + tomcat
            vad

            My webapp is under a context "context"; I use the url
            host/context/servlet1 to call a servlet which delegates the call to a jsp
            I get an error in my doGet() method when invoking request.getRequestDispatcher("MyPage.jsp").forward(request,response);

            The requestDispatcher is null! MyPage.jsp is under the root of my webapp.
            The point is that this webapp works well under Tomcat.

            [2001-11-13 10:56:43,135,Default,INFO] requestdispatcher : null
            [2001-11-13 10:56:43,135,Jetty,WARN] WARNING: Servlet Exception for /context/servlet1
            java.lang.NullPointerException
            at com.xxx.Servlet.doGet(OrderManagementServlet.java:44)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:488)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
            at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1040)
            at org.mortbay.http.HandlerContext.handle(HandlerContext.java:995)
            at org.mortbay.http.HttpServer.service(HttpServer.java:683)
            at org.mortbay.http.HttpConnection.service(HttpConnection.java:732)
            at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:889)
            at org.mortbay.http.HttpConnection.handle(HttpConnection.java:746)
            at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:146)
            at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
            at org.mortbay.util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:609)
            at java.lang.Thread.run(Thread.java:484)