geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <gianny.dam...@optusnet.com.au>
Subject Re: Servlet Exceptions while trying to run petstore
Date Thu, 02 Sep 2004 22:51:05 GMT
On 3/09/2004 3:10 AM, Rajesh Ravindran wrote:

>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 
>
Hi Rajesh ,

You need to get ride of the Japanish screen definitions defined by the 
Pet Store Web application. More accurately, drop the element

    <screen-definition url="/WEB-INF/xml/ja/screendefinitions.xml" 
language="ja_JP"/>

defined by petstore.war!/WEB-INF\xml\requestmappings.xml.

Thanks,
Gianny

Mime
View raw message