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, 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