MainDeployer will not undeploy hot-deployed packages in JBoss

Solution Verified - Updated -

Issue

  • Using the JMX Console, I'm utilizing the MainDeployer MBean (jboss.system:service=MainDeployer).  If I invoke isDeployed on a hot-deployed package I get result of true, but then if I try to invoke unDeploy on the same package I get this message in server.log:

    22:31:22,827 WARN  [MainDeployer] undeploy 'vfszip:/$JBOSS_HOME/server/$PROFILE/deploy/someDeployment.ear/' : package not deployed
    
  • Redeploy seems to work properly, as does undeploying a package deployed using the MainDeployer (not hot-deployed).

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.0.0
    • 5.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.