[jboss-user] [Beginners Corner] - Re: Resource Hell

PeterJ do-not-reply at jboss.com
Thu Jan 25 13:03:34 EST 2007


genman's second suggestion should work if you have an exploded sar:

String server = System.getProperty("jboss.server.home.dir");
StupidClass sc = new StupidClass(server + "deploy/myservice.sar/META-INF/some.config");

I think there is even a way to access the file if you have a packaged sar, but I would have to dig for that.

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

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



More information about the jboss-user mailing list