My code is running when JBoss is started. It's a module in my application that use this code.
If this is part of your app, it should already be mounted.
Unless, you're accessing it too early, e.g. in some deployer pre-Describe stage.
But yeah, debug it abit further and we'll know a lot more. ;-)