WARN message "After the upgrade, the following resources would have the same resource key which is illegal. This is an issue of either the old or the new version of the plugin 'JBossAS7'. Please consult ..." in the agent.log file

Solution Unverified - Updated -

Issue

  • Domain managed deployents not shown in the JBoss ON UI;
  • I am able to see files deployed in EAP using JBoss CLI but I cannot find those war files in JON console.
  • I can see the old versions of war files available in JBoss ON UI with the status as unavailable but not the latest files deployed on EAP;
  • My agent.log file contains the following WARN message:
2015-02-12 09:40:22,742 ERROR [main] (rhq.core.pc.upgrade.ResourceUpgradeDelegate)- Upgrading the resource [Resource[id=31996, uuid=8d1ddc4c-42f3-da42-4b15-76c3670fdc11, type={JBossAS7}DomainDeployment, key=deployment=my-test-1.1.3.war, name=my-test-1.1.3.war, parent=EAP Domain Controller (127.0.0.1:9990), version=1.1.3]] using these updates [ResourceUpgradeRequest [resourceId=31996, upgradeErrorMessage=null, upgradeErrorStackTrace=null, timestamp=1455270019982, toString()=ResourceUpgradeReport [newResourceKey=deployment=my-test.war, newName=my-test.war, newVersion=1.1.3, newDescription=null, newPluginConfiguration=null, forceGenericPropertyUpgrade=true]]] would render the inventory invalid because of the following reasons: After the upgrade, the following resources would have the same resource key which is illegal. This is an issue of either the old or the new version of the plugin 'JBossAS7'. Please consult the documentation of the plugin to see what are the recommended steps to resolve this situation:
Resource[id=39830, uuid=e2088d89-a0e0-4f4d-8f17-72c8ba5c0da4, type={JBossAS7}DomainDeployment, key=deployment=my-test.war, name=my-test.war, parent=EAP Domain Controller (127.0.0.1:9990), version=1.1.3]

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Red Hat Enterprise Application Platform (EAP) 6
  • EAP instance in domain mode;

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