1 Reply Latest reply on May 31, 2010 9:50 AM by Flavio Orfano

    Get the tmp path via classLoader.getResource

    Thorsten Anzenberger Newbie

      Hello!

      When i start my jboss-server i need to get some files from the ear.

      The old jboss(4.0.5) got the right path with "classLoader.getResource"...the tmp path where i was able to get the file from.

      The new jboss(5.0.0) get the path where the ear is....so i have a path which points into a zip and the method "File" cant read from there.

      Is there a way to get the tmp path where jboss undeploys the ears so i can get the files from there on every startup ?