views:

10

answers:

0

Hello to everybody)

Imagine we have 2 wars to deploy. First war should load some data into JCR repository, or any other storage. Second war uses data that is loaded by first war in storage.

Now we have situation when first war is successfully deployed, but it is in the middle of initialization process(loading data). Second war is starting to deploy. So have have an error.

Is there any config where we can define time after which second war should be deployed. I mean jboss config.

I guess the problem is clear. Now in production we have one war (Apache sling) that deploy JCR schema(bundle) into repository, and second war starts working with it.

Maybe somebody had similar issue and could help me?

Thx