-
1. Re: Unable to start OSGI bundle in Jboss 7.1.3
jigneshmpatel Nov 7, 2012 2:51 PM (in response to manishdevraj)More specific to above problem we are getting following error.
JBAS014775: New missing/unsatisfied dependencies:
service jbosgi.integration.PersistentBundlesHandler.COMPLETE (missing) dependents: [service jbosgi.framework.INIT] .
And I think the real solution is suggested here.
https://issues.jboss.org/browse/AS7-4814
But when we checked the code in 7.1.3 it seems already exist and getting ingored at runtime.
private Set<String> getDeploymentNames(OperationContext context) {
final Set<String> result = new HashSet<String>();
final ModelNode model = Resource.Tools.readModel(context.readResourceFromRoot(PathAddress.EMPTY_ADDRESS, true));
final ModelNode depmodel = model.get(ModelDescriptionConstants.DEPLOYMENT);
if (depmodel.isDefined()) {
final List<ModelNode> deploymentNodes = depmodel.asList();
for (ModelNode node : deploymentNodes) {
Property property = node.asProperty();
ModelNode enabled = property.getValue().get(ModelDescriptionConstants.ENABLED);
if (enabled.isDefined() && enabled.asBoolean()) {
result.add(property.getName());
}
}
LOGGER.tracef("Expecting initial deployments: %s", result);
}
return result;
}
Has anybody able to resolve the issue?
-
2. Re: Unable to start OSGI bundle in Jboss 7.1.3
thomas.diesler Nov 8, 2012 3:48 AM (in response to jigneshmpatel)Does this still occur with the latest build from the 7.1 branch?
-
3. Re: Unable to start OSGI bundle in Jboss 7.1.3
ryven Nov 22, 2012 7:10 PM (in response to thomas.diesler)Hi Thomas
I'm getting the same issue. I've patched jboss/osgi/framework/jbosgi-framwork-core to the jbosgi-framework-core.1.3.1.CR1.jar from the Jboss 7.1.3.Final branch and patched it to a 7.1.2.Final install, and am getting the same problem (perhaps there's something else that needs updating that i missed?). I tried using the latest 7.1.4 build but it didn't seem to want to build out of the box.
It basically occurs when i stop/start the server when any OSGi bundles are/were currently deployed.
Thanks
-
4. Re: Unable to start OSGI bundle in Jboss 7.1.3
ryven Nov 27, 2012 6:10 AM (in response to ryven)To update on this, the error occurs on application startup when a non-OSGi deployment is deployed that has a dependency on an OSGi bundle.
-
5. Re: Unable to start OSGI bundle in Jboss 7.1.3
thomas.diesler Nov 28, 2012 10:09 AM (in response to ryven)Can you reproduce this on the latest https://github.com/jbossas/jboss-as master build?