0 Replies Latest reply on Aug 23, 2005 4:01 PM by Khalid Hajsaleh

    problem running out of the container

    Khalid Hajsaleh Newbie

      hi,

      I am trying to run ejb3 out of the container. I am not able to get the archive example to work. I keep on getting a NullPointerException when I run the main.java from the commnand line.
      The program is not able to retrieve the URL.... Any suggestions?

      URL res = Thread.currentThread().getContextClassLoader().getResource("META-INF/persistence.xml");
      System.out.println("res: " + res);
      return EJB3StandaloneDeployer.getContainingUrlFromResource(res, "resources/META-INF/persistence.xml");


      The output is

      res: null