Bug 777620 (SOA-129)

Summary: jUDDI tables are dropped at ESB shutdown
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Martin Vecera <mvecera>
Component: JBossESBAssignee: trev <tkirby>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 IR5   
Target Milestone: ---   
Target Release: 4.2 CR3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-129
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
soa-standalone
Last Closed: 2008-02-11 14:57:18 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 Martin Vecera 2007-11-12 10:01:33 UTC
Date of First Response: 2007-11-14 14:34:51
project_key: SOA

Database tables for jUDDI are all dropped at server shutdown. This is wrong because:
1) Dead services should remain in the registry. 
2) It is not possible to run ESB in a cluster - when anybody removed a node the database gets broken

Comment 1 Martin Vecera 2007-11-12 13:49:57 UTC
Link: Added: This issue is duplicated by JBESB-1323


Comment 2 Len DiMaggio 2007-11-12 16:26:34 UTC
Link: Added: This issue depends JBESB-1323


Comment 3 Len DiMaggio 2007-11-12 16:27:27 UTC
Link: Removed: This issue is duplicated by JBESB-1323 


Comment 4 Kurt Stam 2007-11-14 19:34:51 UTC
I'm now deploying the juddi.was by default to the jbossesb.sar (see changes for JBESB-1323)

So in the SOA-P where I guess you are using the 'all' profile you should now try to simply remove the juddi.sar that ships with jbossas. (try == make sure that it does not break jbossas, which it shouldn't).
See also http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4104506#4104506



Comment 5 Kurt Stam 2007-11-14 19:36:05 UTC
This is a SOA-P issue. Please track at SOA-129

Comment 6 Martin Vecera 2007-12-18 10:18:32 UTC
JBoss Forum Reference: Added: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4104506#4104506


Comment 7 Martin Vecera 2007-12-18 10:23:30 UTC
Trevor asked me to try SOA-P IR8 without juddi-service.sar.
It seems like the server is able to start and shutdown cleanly. It is also possible to deploy and undeploy simple hello world quickstart example.
We definitely have to run whole AS's test suite before saying "it works".
But I prefer fixing it as Thomas suggests in the linked forum because deleting juddi-service.sar makes applying EAP & SOA patches very complicated later...

Comment 8 trev 2007-12-18 11:04:30 UTC
Both versions of the juddi.war still exist but the version in EAP no longer drops the tables
It's not clear whether your suggestion was implemented, can you confirm that it is it safe to delete the juddi.war from the esb variant?

Comment 9 Thomas Diesler 2007-12-18 12:17:03 UTC
It is not save to simply delete the juddi.war. What we need is an update of the jboss jaxr project as described in the forum thread. 

Comment 10 Mark Little 2007-12-18 12:27:53 UTC
I'm happy for you to update the JAXR project Thomas, but it will require an EAP update. So it needs to be done now because EAP 4.3 is going GA very soon.

Comment 11 trev 2007-12-18 12:50:31 UTC
Link: Added: This issue depends JBWS-1942


Comment 12 trev 2007-12-18 12:56:53 UTC
Link: Added: This issue depends JBPAPP-507


Comment 13 trev 2007-12-18 12:59:27 UTC
See Marks comment

Comment 14 Thomas Diesler 2007-12-18 13:17:11 UTC
I believe Kurt should own that project since he already owns the juddi code base. 


Comment 15 Len DiMaggio 2007-12-18 17:47:25 UTC
Link: Added: This issue related JBQA-1268


Comment 16 Len DiMaggio 2007-12-18 17:48:51 UTC
Link: Added: This issue related JBQA-1267


Comment 17 Mark Little 2007-12-18 18:18:49 UTC
Kurt is busy at the moment Thomas. So I'd appreciate it if you could get this done for now and then we can figure out later where it should be done.

Comment 18 Thomas Diesler 2007-12-19 08:33:23 UTC
Kurt, could you please update https://svn.jboss.org/repos/jbossas/projects/jaxr/trunk/pom.xml with the versions that you need. I can then run the install target for you and do the release. 


Comment 19 Mark Little 2007-12-19 11:27:42 UTC
Thomas, please use anonsvn http://anonsvn.labs.jboss.com/labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/lib/ext/ to get the jars you need. Kurt is fully committed to other things at the moment and we need help from your team.

Comment 20 Thomas Diesler 2007-12-19 13:17:51 UTC
http://repository.jboss.org/jboss/jboss-juddi/2.0.0.RC5/

This is installed in jbossas/trunk and jbossas/branches/Branch_4_2

Comment 21 Mark Little 2007-12-19 13:44:07 UTC
Will need to get this into the platform release after Beta1.

Comment 22 Thomas Diesler 2007-12-20 15:57:36 UTC
Link: Added: This issue is related to JBAS-5094


Comment 24 Mark Little 2008-01-08 16:58:21 UTC
This will not be in the EAP 4.3 release, so we will patch EAP as we've been doing when you install into it for this release.

Comment 25 Martin Vecera 2008-02-11 14:18:08 UTC
This is fixed in CR3, Trevor you can close this issue I think...