Reputation: 1
I am building maven project in Eclipse it should automatically update the snapshot bundle in crxde but its not. I am manually installing the bundle in crxde to check page changes. please suggest how crxde should automatically update osgi bundle.
Tried: I have tried new configuration where I have provided profile as "autoInstallPackage" for the project.
Upvotes: 0
Views: 2037
Reputation: 29
One of the reason may be with the JCR Pause Installer issue.
Navigate to this node /system/sling/installer/pauseInstallation, is there is any child node created. If so, delete them and re build your code.
by the way which version of AEM are you working on?
Upvotes: 0
Reputation: 551
Faced a similar issue. In my case my version was not getting updated. Please check if you are using a version or snapshot in your parent pom. It will be helpful if you can share the parent pom.
Upvotes: 0
Reputation: 2539
You dont give much details, but I can give you some context.
CRX/DE does not update the bundle. That is done by the Sling OSGi Installer. The OSGi installer can process certain artifacts for installation (bundles, configuration, packages, etc). In your case the artifact would be detected by the "JCR provider", which is an OSGi component that listens for changes in the content repository (what you call crx/de) and sends them to the OSGi installer.
Two things could be wrong here:
for the JCR, make sure where you put your bundle. the Provider cannot listen in the entire content tree so by default it only listens up to 4 levels in the tree and only in nodes called 'config' and 'install'. Make sure your bundle location fits this constraints.
If the problem is the OSGi installer you can check in its felix console tab (http://localhost:4502/system/console/osgi-installer ). This will list the status of all installed artifacts.
If you give more details I could give a more specific answer.
Upvotes: 1