Log in to follow, share, and participate in this community.
Thread Use Drools for the Bundle Resolver
Use Drools for the Bundle ResolverI currently investigate the use of Drools for the OSGi Bundle Resolver algorithm. To that respect I wonder what is the recommended way to count a certain fact. I'd like to fire an action if there is exactly one fact ...
Thread Change in manifest parser breaks symbolic name
Change in manifest parser breaks symbolic namehttps://jira.jboss.org/jira/browse/JBOSGI-137 When you remove the fallback hack, you should see the SimpleBundleTestCase fail
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/home/tdiesler/svn/jboss-osgi/projects/runtim...
Thread safety and collectionshttps://jira.jboss.org/jira/browse/JBOSGI-199 I spotted while I was looking at how the osgi-framework code uses the metadata that there are a number of places using unsynchronized HashMap, ArrayList, etc. for mutable...
Extender Patter vs. LifecycleInterceptorsThere is a new blogpost in the diary that discusses Extenders/Interceptors http://jbossosgi.blogspot.com/2009/10/extender-pattern-vs-lifecycle.html As far as integration with the MC Framework goes, you can add inter...
OSGi WebApps on JBossWebhttps://jira.jboss.org/jira/browse/JBOSGI-193 OSGi webapps are currently deployed onto jboss-osgi-webapp, which contains an embedded PAX-Web WAR extender that in turn delegates to the PAX-Web provided WebContainer ba...
Consolidating OSGi deployersThere are two "types" deployers #1 generic #2 mc framework specific https://jira.jboss.org/jira/browse/JBOSGI-180 The generic deployers are used by the jboss-osgi-microcontainer bundle, the jbossas integration for ...
Moving framework to reactorFolks, having the framework under its own SVN location https://svn.jboss.org/repos/jbossas/projects/jboss-osgi/projects/runtime/microcontainer/trunk does not prove practical at this early phase in project developme...
Thread Should BundleStructureDeployer add embedded archives ?
Should BundleStructureDeployer add embedded archives ?Currently BundleStructureDeployer adds embedded archives like this
// Create a context for this jar file with META-INF as the location for metadata
context = createContext(structureContext, "META-INF");
// The ...
Handling of Bundle-ClassPathThe Bundle-ClassPath is now handles in OSGiClassLoaderFactory like this https://jira.jboss.org/jira/browse/JBOSGI-162
public ClassLoaderPolicy createClassLoaderPolicy()
{
VFSDeploymentUnit vfsUnit = (VFSDeploym...
Consolidate & simplify package structureFor the upcoming first release I'm going to consolidate and simplify the framework package structure. Please get your uncommited stuff in - if you have any. cheers
Thread Cannot resolve dependency against unstarted bundle
Cannot resolve dependency against unstarted bundlehttps://jira.jboss.org/jira/browse/JBOSGI-136 The VFSDeploymentClassLoaderPolicyModule creates the dependencies like this
protected void createDependencies()
{
ControllerState classLoaderState = getClassLoaderS...
Autostart bundles when deployed in JBossAShttps://jira.jboss.org/jira/browse/JBOSGI-148 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 ...
Cannot resolve circular dependencieshttps://jira.jboss.org/jira/browse/JBOSGI-151 The default bundles can currently not get deployed into AS520 because of this issue. The code that tries to resolve the bundles is in PackageAdminImpl and repeatedly cal...
Performance problemBefore I merged with mc-osgi-int trunk the testsuite was taking about 10 seconds for the whole thing. After the merge it is 40 seconds! There are no new tests for me (Thomas's new tests are not included in the OSGiT...
3.6.3 Optional Packages3.6.3 Optional Packages https://jira.jboss.org/jira/browse/JBOSGI-143 A bundle can indicate that it does not require a package to resolve correctly, but it may use the package if it is available. For example, loggin...
All OSGi enterprise samples passFolks, I'm happy to announce that all enterprise OSGi samples pass with the new MC based OSGi framework
[tdiesler@tdvaio example]$ mvn -Dframework=jbossmc test
Running org.jboss.test.osgi.example.blueprint.Bluepr...
OSGi classloader systemFolks, I'd like to better understand how the classloader system works. Could you please talk me through the code below and explain what is being done here. Eventually, I'd like to be able to setup a Framework Classl...
Fundamental class space issuePlease consider this A imports X B imports X Can X load a class from A or B? Can A load a class from B and vice versa? https://jira.jboss.org/jira/browse/JBOSGI-142 This works with Felix, but fails with the MC Fra...
@Override and JDK5 usageI'm getting compile errors since we're using @Override on interface impl methods. Afaik this is JDK6 feature, whereas we still wanna be JDK5 compatible. And Pete tells me this is auto feature of Eclipse if you're run...
Invalid delivery of framework eventshttps://jira.jboss.org/jira/browse/JBOSGI-140 Although a listener is associated with a bundle context (i.e. must get removed when the bundle gets uninstalled) the events must get delivered to the listeners that are a...