This content has been marked as final.
Show 2 replies
-
1. Re: How to access files in a sar deployed via VFS
alesj Jun 27, 2008 7:46 PM (in response to mmusgrov)I would need more info for this.
Post some code or explain better what exactly you need.
But it should be pretty straight fwd - VFS has a very simple (but powerful) API. -
2. Re: How to access files in a sar deployed via VFS
dimitris Jun 28, 2008 7:26 AM (in response to mmusgrov)This has nothing to do with VFS.
Assuming you have an MBean with configuration files at the root of the .sar, you should be able to get to them with from the MBean class using:// locate xyz.sar/file.cfg InputStream is = this.getClass().getResourceAsStream("file.cfg");
I suppose this will work for both packed/unpacked