I understand that seed data is XML. 1. <publisher>_Publisher.xml 2. <publisher>_tModelKeyGen.xml 3. <publisher>_BusinessEntity.xml 4. <publisher>_tModels.xml
Kurt, the above XML files need to be in the folder "...\webapps\juddiv3\WEB-INF\classes\juddi_custom_install_data\" for a publisher. There is no confusion there. However, please note that the above arrangement does NOT work -- the seed data for a publisher (other than the name "root") does NOT get populated in the backend database (say, MySQL). Why it doesn't? <== that has been my question.. TIA. >--- On Mon, 5/2/11, Kurt Stam <[email protected]> wrote: > > > From: Kurt Stam <[email protected]> > Subject: Re: For Seed Data: INSERT INTO j3_PUBLISHER ? > To: "[email protected]" <[email protected]> > Cc: "[email protected]" <[email protected]> > Date: Monday, May 2, 2011, 10:17 AM > > 1 the seed data is XML , not SQL > > 2 it only loads seed data on an empty/new juddi database On May 2, 2011, at 7:14, [email protected] wrote: >> Root seed data for a custom user (publisher) does not seem to work. >> >> For example, >> insert into j3_publisher >> values('myorguddi',null,'true','true',null,null,null,null,'myorguddi >>publisher'); >> with a "clean" database AND placing the data files under >>"...\webapps\juddiv3\WEB-INF\classes\juddi_custom_install_data\myorguddi*.xml" >> does NOT preload data into jUDDI v3 database. >> >> The data files are simply ignored during the server start up. >> >> We are working under a deadline and we need to get the seed data >>working. If the feature works for a custom publisher, the "seed data" is a >>very powerful feature. >> >> From: [email protected] >> Subject: For Seed Data: INSERT INTO j3_PUBLISHER ? >> To: [email protected] >> Date: Sunday, May 1, 2011, 10:12 AM >> >> Hello jUDDI users! >> >> The jUDDI documentation says "For each publisher there are four seed >>data files..." namely, <publisher>_Publisher.xml >><publisher>_tModelKeyGen.xml, <publisher>_BusinessEntity.xml, >><publisher>_tModels.xml. >> >> My question is: >> Before I place the above data files under >>"...\webapps\juddiv3\WEB-INF\classes\juddi_custom_install_data\" for a >>publisher *other than root* and restart jUDDI instance, do I need to INSERT >>that publisher (name) into j3_PUBLISHER ? >> >> Is that one SQL insertion statement the only pre-requisite to having >>the seed data loaded into the jUDDI database for that publisher ? What else >>do I need to be aware of for seeding data in ? >> >> Please suggest. Thank you. I will post my experience with seed >>data after I hear from you.
