cancel
Showing results for 
Search instead for 
Did you mean: 

NWDI - How to control EAR deployment order

Former Member
0 Kudos

We are developing a custom application in NWDI. We have created a software component for the this and have created all required DCs under this software component.

All the J2EE DCs are deployed through separate EAR DCs and there are references from one to another ear DC where ever required.

Deployment of a EAR DC fails if the dependent EARs are missing at that time as it looks for some classes at the time of deployment. We could resolve this in development env as we have the control over individual EAR deployment.

But for deployment in QA through NWDI, where the whole software component is deployed as one SCA file, deployment is failing due to wrong order of deployment for the EARs. We are not able to figure out how to control the order of EAR deployments contained in a single SCA.

Please let me know for any further info.

Points will be awarded for helpful answers

Regards, Chandra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chandra,

It easy an task.

Simply add used DCs with a dependency type Deploy Time in NWDI just as you did for build-time dependecies.

Regards,

Andrei.

Former Member
0 Kudos

Dear Andrei,

Many thanks...it worked.

Points awarded!!!

One thing to clarify, when to use "runtime DC dependency"? What different does it make?

Thanks, Chandra

Former Member
0 Kudos

Hi Chandra,

It defines runtime-reference. And should automatically add references to application-j2ee-engine.xml

But as far as I remember it is done only in NW7.1

Regards,

Andrei.

Former Member
0 Kudos

Many thanks for the info.

Regards,

Chandra

Answers (0)