Bug 778289 (SOA-781)

Summary: Problems with ESB plugin deploying/undeploying/deploying .esb packages
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: tcunning
Component: JBossESB, Monitoring and ManagementAssignee: tcunning
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 IR4   
Target Milestone: ---   
Target Release: 4.3 IR5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-781
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-09 02:47:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tcunning 2008-09-11 21:38:11 UTC
Date of First Response: 2008-09-14 14:05:25
project_key: SOA

From Burr:

If you deploy a jboss-esb.xml/.esb archive with a service called "HelloWorld" and then see that in following areas:
http://localhost:8080/web-console
http://localhost:8080/jbossesb
and JON at http://localhost:7080

then you edit the jboss-esb.xml and redeploy so that service is now called "GoodbyeWorld" then the MBean seems to remember the old name and has the new name.  It will appear as if both services are still up and alive when in fact there is only one.

2nd part from Burr: 
after the AS/SOA-P is restarted then it clears up the jbossesb & web-console but JON still shows the old services as "inactive".  the only way to clear that up is to UNINVENTORY the platform (a small button under the platform listing of Browse Resources) and re-import from auto-discovery.

Comment 1 tcunning 2008-09-14 14:18:07 UTC
Link: Added: This issue depends JBESB-2038


Comment 2 tcunning 2008-09-14 15:15:55 UTC
Undeploy all MBeans related to a deployment before the deployment is deployed.      This was leading to problems in hot deploys where a service name or service category was changed and duplicate MBeans were registered.

drseuss:rosetta tcunning$ svn commit
Sending        rosetta/src/org/jboss/soa/esb/listeners/config/JBoss4ESBDeployment.java
Sending        rosetta/src/org/jboss/soa/esb/listeners/lifecycle/LifecycleController.java
Transmitting file data ..
Committed revision 22759.



Comment 3 Mark Little 2008-09-14 18:05:25 UTC
Setting Fix Version.

Comment 4 Len DiMaggio 2008-09-14 21:36:01 UTC
Set ESB component

Comment 5 Kevin Conner 2008-09-15 08:12:02 UTC
I have reopened the JBESB issue as the fix is invalid.

Comment 6 tcunning 2008-10-09 02:47:26 UTC
I've retested and I am definitely seeing the Service names change.    As expected, the old service name does stay around, but it can easily be uninventoried through JON.       After a discovery, the new service name will show up.

Tested in jmx-console and everything seems fine there too.