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 ?
I am wondering if you found a workaround for this issue?
I have simillar problem as you.