Bug 779907 (SOA-2267)

Summary: Schema tool moves juddi DatabaseInititalizer into another file which causes riftsaw deployment issue
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Sedlacek <jsedlace>
Component: ToolingAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.ER1CC: oskutka
Target Milestone: ---   
Target Release: 5.1.0.ER2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2267
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-01 03:21:41 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:
Attachments:
Description Flags
server.log
none
build.xml
none
juddi-service.xml none

Description Jiri Sedlacek 2010-09-07 10:55:04 UTC
project_key: SOA

Using schema tool moves org.jboss.internal.soa.esb.dependencies.DatabaseInitializer from deploy/jbossesb-registry.sar/juddi-ds.xml into deploy/jbossesb-registry.sar/META-INF/juddi-service.xml which causes deployment error while deploying BPELEngine. If org.jboss.internal.soa.esb.dependencies.DatabaseInitializer is in old place (properly configured for selected db), deployment is ok.

Comment 1 Jiri Sedlacek 2010-09-07 10:56:05 UTC
Attachment: Added: server.log


Comment 2 Julian Coleman 2010-09-09 08:56:25 UTC
Link: Added: This issue is related to SOA-2212


Comment 3 Julian Coleman 2010-09-09 09:11:30 UTC
Updated schema tool build.xml and juddi-service.xml attached.
Please replace the files in .../tools/schema with these.

The attached build.xml does not create a separate
.../deploy/jbossesb-registry.sar/META-INF/juddi-service.xml
but merges the new prototype juddi-service.xml into
.../deploy/jbossesb-registry.sar/juddi-ds.xml

Having the separate file may be causing problems similar to those
in JBESB-3395 and  JBAS-7438.

Comment 4 Julian Coleman 2010-09-09 09:11:30 UTC
Attachment: Added: build.xml
Attachment: Added: juddi-service.xml


Comment 5 Jiri Sedlacek 2010-09-09 10:06:36 UTC
Tested and working properly.

Comment 6 Julian Coleman 2010-09-09 11:06:27 UTC
Resolved with revision 6486 of:
  build-tools/schema-tool/juddi-service.xml
  build-tools/schema-tool/build.xml

Commit message:
  SOA-2212
  SOA-2267
  In build.xml, do not create a separate:
    .../deploy/jbossesb-registry.sar/META-INF/juddi-service.xml
  file but merge in the contents of the schema tool juddi-service.xml to:
    .../deploy/jbossesb-registry.sar/juddi-ds.xml 
  
  The schema tool juddi-service.xml now only contains the mbean template and is
  no longer a complete XML file.

  Tested by Jiri Sedlacek.


Comment 7 Jiri Sedlacek 2010-10-26 08:16:35 UTC
verified in 5.1.0.ER3

Comment 8 David Le Sage 2011-03-01 03:18:25 UTC
Temporarily reopening to update release note info.

Comment 9 David Le Sage 2011-03-01 03:21:33 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Writer: Added: dlesage
Release Notes Text: Added: https://issues.jboss.org/browse/SOA-2267

Using the Schema Tool to move org.jboss.internal.soa.esb.dependencies.DatabaseInitializer from deploy/jbossesb-registry.sar/juddi-ds.xml into deploy/jbossesb-registry.sar/META-INF/juddi-service.xml caused an error when the user deployed the  BPEL engine. To fix this problem, a new build.xml file has been supplied.  This file does not create a separate /deploy/jbossesb-registry.sar/META-INF/juddi-service.xml file but  merges the new prototype juddi-service.xml into /deploy/jbossesb-registry.sar/juddi-ds.xml. As a result, uers can now deploy the BPEL engine after having run the Schema Tool.