0 Replies Latest reply on Apr 24, 2003 7:55 AM by nihs

    ServletContext.getResource() problem

    nihs Newbie


      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 :
      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 ?