That seems like a very fragile way of doing things.
Why not just copy myexternalmodule.jar into your module?
Incidentally, I'm not sure that relative paths are supported as resource-root entries in any event.
Like Steve, I too am not sure if jboss-modules allows you to point to resources which are relative to the location of the module definition file and that too outside of the "module home".
gaurav singhal wrote:
I don't see any error indicating that thats the reason JBoss is failing to come up
Please post the logs that you see and any exception stacktraces.
.index file is created only if there is none present yet, so you can just give him permision for first boot and after that no need to have write permisions in that directory.