[wildfly-dev] Cannot load module alias defined for root deployment

Jaikiran Pai jpai at redhat.com
Fri May 24 09:31:25 EDT 2013


On Friday 24 May 2013 06:50 PM, Thomas Diesler wrote:
>
> A module alias should be unique, if a deployment defines an alias of 
> an already existing module it should fail. System modules cannot have 
> dependencies on deployment modules.
>
>
That looks like a (unnecessary) complexity. Assume, there's a foo.bar 
static module and then some deployment configures a module named foo.bar 
within it's jboss-deployment-structure.xml. I haven't looked at JBoss 
Modules implementation and how it interacts with the module loaders, but 
how would it know that foo.bar "already exists" as a static module?

By the way, why do we need this? I read up the JIRA and the comments in 
the PR but I am not sure what the real requirement is.

-Jaikiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20130524/b15fde69/attachment.html 


More information about the wildfly-dev mailing list