Hi Please forgive me if this topic has been discussed before, but I couldn't find info on this on the JBoss forums either.
I have followed through the instructions from Jboss site, and have has Petstore working nicely on JBoss 2.4.4. Today I downloaded Jboss 3 and tried to run the Petstore on it. I made the relavent changes to DB configs into the new Jboss directories and deployed the ear and all seemed to go well. And I also get the page <http://localhost:8080/estore/index.html> fine. But when I try to enter the store, it fails with the following message: root cause : java.lang.NullPointerException at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getRequestMapp ings(ScreenFlowXmlDAO.java:249) at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadRequestMap pings(ScreenFlowXmlDAO.java:115) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.ja va:54) <SNIPPED> investigation tells me this is due to the line MainServlet.java:54: requestMappingsURL = getServletContext().getResource("/WEB-INF/xml/requestmappings.xml").toString (); Which returns: 14:15:41,234 INFO [STDOUT] requestMappingsURL = jndi:/localhost/estore/WEB-INF/xml/requestmappings.xml And I think, in the new JBoss 3, this is not valid. Has anyone come across this problem before? Am I missing anything? Thanks a lot Mak ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user