http://juddi.apache.org/docs/3.0/userguide/html/chap-root_seed_data.html#sect-custom_seed_data

Are you able to load the example 'sales' publisher setup?
Note that only 1 publisher can be the root publisher, so in most cases you 
would leave the 'root' and 'uddi' users alone
And simply add.

It should be logging the files it is loading. 

--K

On May 2, 2011, at 11:45, Computer Learning Inst <[email protected]> wrote:

> Kurt,
> 
> Thanks.  You know what, the steps in the userguide are inadequate / unclear.
> 
> In response to your questions:
> 1. I deleted the existing db.
> 2. The 'uddi' publisher exists in the DB.
> 3. My XML doesn't have the errors -- because I simply renamed the 'root' seed 
> data files to 'myownpublisher' seed data files.  Using Altova, the XML files 
> were also 'validated' fine.
> 4. The logs don't show any "errors".  The seed data files are simply 
> "ignored".
> 
> You probably need to give us explicit instructions on how to use seed data.  
> It will be a welcome addition.
> 
> 
> --- 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]>
> Date: Monday, May 2, 2011, 11:04 AM
> 
> 1 did you delete the existing db?
> 2 it should also show the uddi publisher
> 3 maybe you have an error in your XML, did
> You check the logs?
> 
> 
> --- On May 2, 2011, at 10:53, [email protected] wrote:
> 
> >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.
> 

Reply via email to