Getting JBAS014186 undeploying an ear

Solution Verified - Updated -

Issue

  • Getting JBAS014186, application does not load on redeploy.

    16:40:05,470 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.subunit."jboss-javaee-sampletimer.ear"."jboss-javaee-sampletimer-ejb.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."jboss-javaee-sampletimer.ear"."jboss-javaee-sampletimer-ejb.jar".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "jboss-javaee-sampletimer-ejb.jar" of deployment "jboss-javaee-sampletimer.ear"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:184) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2064) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1987) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014186: Failed to install management resources for ScheduleExample
    at org.jboss.as.ejb3.deployment.processors.EjbManagementDeploymentUnitProcessor.deploy(EjbManagementDeploymentUnitProcessor.java:82)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:177) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
    ... 5 more
    Caused by: java.lang.IllegalStateException
    at org.jboss.as.server.deployment.DeploymentModelUtils.getOrCreate(DeploymentModelUtils.java:100) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
    at org.jboss.as.server.deployment.DeploymentModelUtils.createDeploymentSubModel(DeploymentModelUtils.java:81) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
    at org.jboss.as.server.deployment.DeploymentUnitImpl.createDeploymentSubModel(DeploymentUnitImpl.java:104) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
    at org.jboss.as.ejb3.deployment.processors.EjbManagementDeploymentUnitProcessor.installManagementResource(EjbManagementDeploymentUnitProcessor.java:118)
    at org.jboss.as.ejb3.deployment.processors.EjbManagementDeploymentUnitProcessor.deploy(EjbManagementDeploymentUnitProcessor.java:79)
    ... 6 more
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.16
  • jboss-all.xml

    <jboss umlns="urn:jboss:1.0">
    <jboss-deployment-dependencies xmlns="urn:jboss:deployment-dependencies:1.0">
    <dependency name="Sample.ear"/>
    </jboss-deployment-dependencies>
    </jboss>
    
  • Two Ear one with a @Schedule EJB

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content