Undeploying through Twiddle fails with a 'NoSuchDeploymentException: Multiple deployments found' Error

Solution Verified - Updated -

Issue

  • Undeploying an application via twiddle using the example deployer from https://access.redhat.com/kb/docs/DOC-48127 results in the following error:

        ERROR [Twiddle] Exec failed
        ...
        Caused by: org.jboss.profileservice.spi.NoSuchDeploymentException: 
        Multiple deployments found for: world.war, available: 
        [vfszip:/jboss-eap/jboss-as/server/default/deploy/world.war/, 
        vfszip:/jboss-eap/jboss-as/server/default/deploy/helloworld.war/]
                at 
        org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:128)
                at org.jboss.profileservice.management.upload.remoting.DeployHandler.scheduleStop(DeployHandler.java:156)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:369)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:358)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:242)
                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
                at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
                at org.jboss.remoting.Client.invoke(Client.java:2034)
                at org.jboss.remoting.Client.invoke(Client.java:877)
                at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)
                ... 56 more
    

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.0

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