geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Ravindran <rajesh.ravind...@gmail.com>
Subject Re: Servlet Exceptions while trying to run petstore
Date Fri, 03 Sep 2004 06:25:40 GMT
Thanks Gianny, 

Your solution helped me get over that  problem. I am really sorry for
having to bug u with such small problems. But now I am having another 
& it d be a big help if someone could provide a way out.

Now while trying to access the main page, I get an HTTP 500 Error with
the following exception & stack trace:

 WARN  [ServletHandler] Exception for /estore/control/language?language=English

javax.servlet.ServletException: MainServlet: unknown exception:
java.lang.ClassCastException

        at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doProcess(MainServlet.java:124)
        at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:512)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1442)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:490)
        at org.apache.geronimo.jetty.JettyWebAppContext.handle(JettyWebAppContext.java:168)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1394)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:821)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:988)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:838)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:212)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:315)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:510)

Thanks,
Rajesh

Mime
View raw message