On run-install-tenant EntityDataLoader loading seed in wrong order

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

On run-install-tenant EntityDataLoader loading seed in wrong order

Deepak Agarwal-2
While doing a run-install-tenant seed file sequence is changed and I am
running into foreign key check exceptions. entityext seed running before
security.

2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:475:INFO ]
=-=-=-=-=-=-= Doing a data load using delegator 'default#client29' with the
following files:
2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/entity/data/TenantDemoData.xml
2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/entityext/data/EntityExtTypeData.xml
2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/entityext/data/EntityExtSecurityData.xml
2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/common/data/CommonSecurityData.xml
2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/common/data/CommonSystemPropertyData.xml
2013-06-14 17:01:54,002 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/common/data/CommonTypeData.xml
.........
2013-06-14 17:01:54,004 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/service/data/ScheduledServiceData.xml
2013-06-14 17:01:54,004 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/service/data/ServiceSeedData.xml
2013-06-14 17:01:54,004 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/service/data/ServiceSecurityData.xml
2013-06-14 17:01:54,004 [EntityDataLoadContainer.java:477:INFO ]
file:/D:/Project/project/framework/security/data/SecurityData.xml

My component-load.xml is :
<load-component component-location="base"/>
    <load-component component-location="geronimo"/>
    <load-component component-location="sql"/>
    <load-component component-location="entity"/>
    <load-component component-location="catalina"/>
    <!-- <load-component component-location="jetty"/> -->
    <load-component component-location="security"/>
    <load-component component-location="datafile"/>
    <load-component component-location="minilang"/>
    <load-component component-location="common"/>
    <load-component component-location="service"/>
    <load-component component-location="entityext"/>
    <load-component component-location="jcr"/>
    <load-component component-location="bi"/>
    <load-component component-location="birt"/>
    <load-component component-location="webapp"/>
......
--
Thanks,
Deepak Agarwal,

Mobile: +91 9501190044