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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user