Bug 778289 (SOA-781) - Problems with ESB plugin deploying/undeploying/deploying .esb packages
Summary: Problems with ESB plugin deploying/undeploying/deploying .esb packages
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-781
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB, Monitoring and Management
Version: 4.3 IR4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 IR5
Assignee: tcunning
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-11 21:38 UTC by tcunning
Modified: 2008-10-09 02:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-09 02:47:26 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-781 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.