geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Ravindran <rajesh.ravind...@gmail.com>
Subject Servlet Exceptions while trying to run petstore
Date Thu, 02 Sep 2004 17:10:58 GMT
Hi all,

For the last few days I ve been trying to get petstore working with
geronimo. When I try to access the main page which redirects to the
following URL

http://localhost:8080/estore/control/language?language=English

I get the HTTP ERROR:503 on the page due to Unavailable Exception. Can
anyone help me out here.


Thanks in advance,
Rajesh

Here is the complete stack trace.

[Fatal Error] :1:41: Invalid encoding name "Unicode".
20:08:54,751 WARN  [ServletHolder] EXCEPTION
java.lang.NullPointerException
        at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getTagValue(ScreenFlowXmlDAO.java:378)
        at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getScreens(ScreenFlowXmlDAO.java:173)
        at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadScreenDefinitions(ScreenFlowXmlDAO.java:110)
        at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.init(ScreenFlowManager.java:65)
        at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreenFlowManager(MainServlet.java:145)
        at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.java:58)
        at javax.servlet.GenericServlet.init(GenericServlet.java:168)
        at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:298)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:335)
        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)

20:08:54,755 WARN  [ServletHandler] Exception for
/estore/control/language?language=English
javax.servlet.UnavailableException: java.lang.NullPointerException
        at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:319)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:335)
        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)

Mime
View raw message