I'm porting the petstore 1.1.2 application on the Jboss-2.4.4_Tomcat-4.0.1 platform. During the Hypersonic database initialization phase, the PopulateServlet tries to read the SQL script in the following way : ServletContext.getResource("/WEB-INF/sql/Hypersonic.sql"). The returned URL is jndi:/localhost/estore/WEB-INF/sql/Hypersonic.sql. After that, PopulateServlet is caught in a null pointer exception. The Hypersonic.sql is located where it should be. Does anyone have an idea ?