[jboss-user] [Installation, Configuration & DEPLOYMENT] - Get the tmp path via classLoader.getResource

thanz@gmx.at do-not-reply at jboss.com
Wed Jan 7 09:26:06 EST 2009


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 ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200099#4200099

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200099

More information about the jboss-user mailing list