[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Update par bundles from repository

Thanks for explanation.

How I can trigger PAR to refresh bundles in runtime? Through "StandardDeployer"?


On 14.01.2011 15:15, Glyn Normington wrote:
Hi

The repository is essentially a passive collection of artifacts. No artifact gets deployed from the repository unless something else being deployed refers to it.

For this reason, changing the contents of the repository will not cause any artifact to be redeployed or refreshed. You have to redeploy the thing which was deployed which refers to the artifact in the repository.

Sorry, but that's the way Virgo is designed...

Regards,
Glyn

On 14 Jan 2011, at 12:12, niibasta@xxxxxxxxx wrote:

Hello!

I'm trying to check scenario with bundle update from repository, but it didn't work. Maybe you can help me? Maybe I'm doing something wrong...

I have 3 bundles. 2 of them uses third.

- I've prepared PAR archive with 2 bundles in it.
- Third bundle I've put in SERVER_HOME/repository/usr dir.
- The I started the server. PAR was deployed successfull. All bundles initialized.
- Then I rebuild jar, which I put in repo with new version. After that, I' changed old jar in repo with new one.

In this situation I expected that bundles from PAR will be refreshed automatically and linked with new bundle from repo, but I can't see it.

Repository settings are default:
ext.type external
chain ext,usr
usr.watchDirectory repository/usr
service.pid com.springsource.repository
ext.searchPattern repository/ext/{artifact}
usr.type watched

How to make a scenario, where my bundles would be automatically updated when repository will be updated?

Thanks.

P.S. Sorry for my English. I'll improve it :)

_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev

_______________________________________________ virgo-dev mailing list virgo-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/virgo-dev