Log in to follow, share, and participate in this community.
Thread EJB loading classes from an OSGi Bundle
EJB loading classes from an OSGi BundleI'm looking at a scenario where an EJB shares an interface with an OSGi bundle. The OSGi bundle defines the interface in a publicly exported package and the EJB needs to use this interface. I would like the EJB to sha...
Registering services with other bundlesWhen playing with Blueprint last week I found out that registering a blueprint component was causing an exception. I captured this in JBOSGI-438. For each Blueprint Component found, the Blueprint Extender regi...
Issues resolving javax.*When I'm trying to migrate from Eclipse Virgo to JBossOSGi I get resolving errors for import packages javax.sql and javax.swing. It seems that Apache Felix doesn't export the system bundles. How can this be fixed? ...
Performance test failuresI had another idea about those failing perf tests ... To quickly verify that the ulimit failures are not due to some infrastructure change on the hudson box, you could clone the project and make it run of a br...
Github repository changesGitHub added the notion of Organization some time ago. When you go to https://github.com/jbosgi you will now see the dashboard for this (new) organization. All repositories that were formerly available under...
Quick status updateAs of today we pass all available example/functional tests against AS7 again http://jbmuc.dyndns.org:8280/hudson/job/jbosgi-remote-matrix/66 This concludes the major AS7 bootstrap and deployment layer ...
Invalid logging API usageI noticed some invalid usage of the logging API [tdiesler@localhost jbosgi-framework]$ git grep "log.error("
core/src/main/java/org/jboss/osgi/framework/plugin/internal/URLHandlerPluginImpl.java: ...
Using the AS7 code styleShall we switch to the AS7 code style? This would improve readability when switching between projects simplify IDE setup allow reuse of the checkstyle mvn plugin
Thread Supporting ServiceLoader in Standalone Mode
Supporting ServiceLoader in Standalone ModeWhile I was implementing URL Handler support as per the OSGi core specification I did this by plugging into the ModularURLStreamHandlerFactory that is provided by JBoss Modules. This works when running inside ...
Thread Fragments do not have a seperate ProtectionDomain
Fragments do not have a seperate ProtectionDomainThe spec says Fragments are bundles that can be attached to one or more host bundles by the Framework. Attaching is done as part of resolving: the Framework appends the relevant definitions of the fragment bund...
Thread Support the notion of shrinkwrap BundleArchive
Support the notion of shrinkwrap BundleArchiveIn the associated JIRA, I said https://jira.jboss.org/browse/SHRINKWRAP-239 It must be possible to create a BundleArchive from within the OSGi Framework. i.e. A (test) Bundle can generate shrinkwrap b...
Provide installer support for AS7David says https://jira.jboss.org/browse/JBOSGI-393 I think things were a little different in the AS6. In AS6 we always shipped as a loosely coupled addon (our jars were put in a deployment ...
Running the examples against AS7The build currently produces $ mvn -Dtarget.container=jboss700 test
check-config:
[echo]
[echo] Please specify JBoss AS 7 root directory in property 'jboss.ho...
How do I start a bundle deployed in AS?David asks: I can install a bundle by dropping it in the deployments folder but I don't see it getting started. Looking through the code I have 2 questions: 1. In the org.jboss.as.osgi.deployment.Syst...
Thoughts on AS7 system package visibilityThinking about [JBAS-8464] Preload OSGi Resolver with selected bootstrap modules I figured that there might be an interim solution which could get us a fair bit of footage already Currently we ...
Thread Less synchronization on AbstractBundle.registeredServices/usedServices?
Less synchronization on AbstractBundle.registeredServices/usedServices?I looked at the synchronization of AbstractBundle.registeredServices and AbstractBundle.usedServices and think that we can possibly get rid of the synchronization on these if we eagerly initialize the fields, thereby ...
Shrinkwrap usage in Arquillian testsThere are a number of tests that generate shrinkwrap bundles during the execution of test methods. While this was ok for Husky (because we had client side test method execution + explicit call into the husky Bridge + ...
Thread States under which bundles are exporting packages
States under which bundles are exporting packagesWhile looking at the PackageAdmin TCK I came across the following issue. The TCK installs two bundles, one depends on the other. Both bundles export a package. First the test checks that PackageAdmin.getExpor...
Thread Exception handling in PackageAdmin.refresh(...)
Exception handling in PackageAdmin.refresh(...)Looking at http://github.com/jbosgi/jbosgi-container/commit/17e5c665a9ead847f46cd583f499317847c521a1 the exception handling has changed such that RuntimeExceptions no longer cause the refresh operation to fail. ...