I am happy to announce the release of JBossOSGi-1.1.0.
You can download the binary here: jboss-osgi-installer-1.1.0.jar
This is a OSGi Core 4.2. Framework compliant release with a strong focus on AS7 integration.
It also comes with improvements in the following areas
- Concurrency optimizations throughout the framework
- Improved access to system and boot delegation packages
- Direct integration of many Felix, Aries and Ops4J bundles
- Added support for JSP pages in OSGi Web Applications
- Initial implementation of an OSGi Repository
- Capture OSGi frequently asked questions in the wiki
- Comprehensive coverage of AS7 / OSGi integration in user guide
- Add support for AS7 as remote testing target
- Replace the Standalone Runtime with AS7
Here are the change log details.
Additional to that we fixed 80+ OSGi related issues in the jboss-as-7.1.0 code base. Most notably there are
- Expose OSGi management through domain API
- Provide injectable BundleContext in JNDI
- Transactional integration endpoint (STOMP)
- Provide Repository API as general MSC service
- Remove Felix, Aries and Ops4J bundles from the AS7 distro
- Separate Configuration Admin subsystem
Please also have a look at the latest version of our User Guide.
I have downloaded JBossOSGi-1.1.0. jar and hoping to see following projects when I did maven build. But I didn't found anything like that.
Is this documentation referred to some other project stuff.
We have been trying to deploy blueprint container framework through OSGI bundle and typical j2ee application on JBoss 7.1.1. But we have a hard time to find anything relevant. All we are getting is using arquillian test application.
Can somebody pin point any step by step guide or existing project which we can use to deploy.
Arquillian test deployments are generated in memory - there is no file written to disk on the client side. When deployed into AS7 it shows up in the deployment content folder like any other deployment. At the time of the jbosgi-1.1.0 release we did not have a released version of jboss-as-7.1.1.Final. Since then this has changed and we just brought out a jbosgi maintenance release that can target 7.1.1
You can run the AS7 integration samples like this
mvn -Dtarget.container=jboss711 clean install
I also added a Compatibility Matrix to the docs.
One of the doc says OSGI runtime is available with the jar. I presumed this jar only provides samples not the runtime API. If this is providing runtime then how to integrate this with jboss runtime without maven?
Running the Installer
To run the Project Distribution installer execute the following command:
java -jar jboss-osgi-installer-1.1.0.jar
The installer first shows a welcome screen
Then you select the installation path for the JBoss OSGi distribution. This is the directory where you find the binary build artifacts, the java sources, documentation and the JBoss OSGi Runtime.
The content of the JBoss OSGi distribution contains a set of documents and example test cases that can be executed against the embedded framework or against an AS7 instance.
And after running maven, I still couldn't able to find jars related to following projects.
Pasting the statck trace. I am getting nullpointer exception while trying either of the following commands.
mvn -Dtarget.container=jboss711 clean test
mvn -Dtarget.container=jboss711 -Dtest=JavaEEIntegrationTestCase install
Has anybody have any success to deploy ejb and OSGI integration. Is there a place where I can get working jars?
> and the JBoss OSGi Runtime.
We used to have a standalone OSGi Runtime before AS7 had its first release. The runtime is now beeing replaced by AS7. In fact, you can configure AS7 such that it is a pure OSGi runtime. Have a look at standalone-osgi-only.xml in the AS7 docs/examples/configs folder
> I still couldn't able to find jars related to following projects
As I said, these deployments are generated in memory - there are no such "files". When you run the tests against AS7 they will show up as server content.
Your paste (http://pastebin.com/jzVUQMxk) shows a successful run
Running org.jboss.test.osgi.example.jbossas.JavaEEIntegrationTestCase ... Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 ... [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.638s
The NPE in PersistenceProviderProcessor has been fixed upstream and is unrelated to the tested functionality.