2 Replies Latest reply on Dec 24, 2015 12:29 PM by Gianluca Elmo

    How to deploy two EAR in Wildfly

    Gianluca Elmo Newbie



      I am having problem is deploying two similar but independent EAR in Wildfly.


      The first one get deployed an enabled.


      The second one gets deployed but if I try to enable it I get this error


      Internal Server Error


        "outcome" => "failed",

        "failure-description" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"MMSProS-ear-1.0.0.ALPHA1.ear\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MMSProS-ear-1.0.0.ALPHA1.ear\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"MMSProS-ear-1.0.0.ALPHA1.ear\"

        Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.naming.context.java.app.Gen is already registered"}},

        "rolled-back" => true



      I am not sure how to get it done.


      Any tips would be much appreciated.