[jboss-dev-forums] [JBoss OSGi Development] - Autostart bundles when deployed in JBossAS
thomas.diesler@jboss.com
do-not-reply at jboss.com
Fri Sep 4 05:45:22 EDT 2009
The basic issue is that a bundle deployment when put in
requiredStage = DeploymentStages.DESCRIBE
it will only progress to Bundle.INSTALLED, hence the bundle with not get RESOLVED nor STARTED.
When requiredStage = DeploymentStages.CLASSLOADER or above, the bundle can start when all its dependencies are resolved. The bundle deployment will however fail, if it has unresolved dependencies.
The desired behaviour is:
Bundles with unresolved dependencies get INSTALLED without error.
Bundles with resolved dependencies get STARTED without error.
A bundle that could only get INSTALLED (but not RESOLVED) gets STARTED when it's dependencies can be RESOLVED.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253522#4253522
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253522
More information about the jboss-dev-forums
mailing list