I have a MBean (in a .sar) that uses a custom loader repository (<loader-repository> in jboss-service.xml). This works fine in the 'deploy' directory, but fails in the deploy-hasingleton directory with the "Only the root deployment can set the loader repository" error message.
Is this by design or should it work?
Anyone got any thoughts on this? Or should I repost on another forum, post a bug report?