• Use Drools for the Bundle Resolver

    I 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 ...
    Profile Photo
    last modified by thomas.diesler
  • Change in manifest parser breaks symbolic name

    https://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...
    Profile Photo
    last modified by thomas.diesler
  • Thread safety and collections

    https://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...
    Profile Photo
    created by adrian.brock
  • Extender Patter vs. LifecycleInterceptors

    There 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...
    Profile Photo
    last modified by thomas.diesler
  • OSGi WebApps on JBossWeb

    https://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...
    Profile Photo
    last modified by thomas.diesler
  • Consolidating OSGi deployers

    There 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 ...
    Profile Photo
    created by thomas.diesler
  • Moving framework to reactor

    Folks, 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...
    Profile Photo
    last modified by thomas.diesler
  • 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 ...
    Profile Photo
    last modified by thomas.diesler
  • Handling of Bundle-ClassPath

    The Bundle-ClassPath is now handles in OSGiClassLoaderFactory like this https://jira.jboss.org/jira/browse/JBOSGI-162 public ClassLoaderPolicy createClassLoaderPolicy() { VFSDeploymentUnit vfsUnit = (VFSDeploym...
    Profile Photo
    created by thomas.diesler
  • Consolidate & simplify package structure

    For 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
    Profile Photo
    created by thomas.diesler
  • Cannot resolve dependency against unstarted bundle

    https://jira.jboss.org/jira/browse/JBOSGI-136 The VFSDeploymentClassLoaderPolicyModule creates the dependencies like this protected void createDependencies() { ControllerState classLoaderState = getClassLoaderS...
    Profile Photo
    last modified by thomas.diesler
  • Autostart bundles when deployed in JBossAS

    https://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 ...
    Profile Photo
    last modified by thomas.diesler
  • Cannot resolve circular dependencies

    https://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...
    Profile Photo
    last modified by thomas.diesler
  • Performance problem

    Before 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...
    Profile Photo
    last modified by adrian.brock
  • 3.6.3 Optional Packages

    3.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...
    Profile Photo
    last modified by thomas.diesler
  • All OSGi enterprise samples pass

    Folks, 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...
    Profile Photo
    created by thomas.diesler
  • OSGi classloader system

    Folks, 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...
    Profile Photo
    last modified by thomas.diesler
  • Fundamental class space issue

    Please 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...
    Profile Photo
    last modified by thomas.diesler
  • @Override and JDK5 usage

    I'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...
    Profile Photo
    last modified by alesj
  • Invalid delivery of framework events

    https://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...
    Profile Photo
    created by thomas.diesler