You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Commons OSGi

The [http://felix.apache.org/ Apache Felix] project have [http://commons.markmail.org/message/36xoo2bo5aabvy5c requested] that Commons components include [http://www.osgi.org/ OSGi] meta data in their jars so that they are 'ready-to-use' in an OSGi environment. This involves OSGi entries in the jar's manifest file.

The Felix project is currently developing a [http://felix.apache.org/site/maven-bundle-plugin-bnd.html Maven Plugin] which should make this easier once its been released. In the meantime a number of components (Pool 1.4 release, FileUpload 1.2.1 upcoming release and IO 1.4 upcoming release) have been manually configured with OSGi manifest entries.

The purpose of this page is to record progress in Commons of OSGi-enabled releases and any notes on specific issues with configuration of the OSGi manifest entries.

Proper

Component

Last Release

First OSGi release

Notes / Comments

attributes

2.2

 

No m2 build

beanutils

1.8.0-BETA

 

 

betwixt

0.8

 

 

chain

1.1

 

 

cli

1.1

 

 

codec

1.3

 

 

collections

3.2

 

 

configuration

1.5

 

 

daemon

1.0.1

 

 

dbcp

1.2.2

 

 

dbutils

1.1

 

 

digester

1.8

 

 

discovery

0.4

 

 

el

1.0

 

 

email

1.1

 

 

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="32e8a134-2546-4c86-8f84-45284df43091"><ac:plain-text-body><![CDATA[

fileupload

1.2

1.2.1 m2,manual,pending

[http://felix.markmail.org/message/tgm45au3rpmpmfnf javax.portlet]

]]></ac:plain-text-body></ac:structured-macro>

io

1.3.2

1.4 m2,manual,pending

 

jci

1.0

 

 

jelly

1.0

 

No m2 build

jexl

1.1

 

 

jxpath

1.2

 

 

lang

2.3

 

 

launcher

1.1

 

 

logging

1.1.1

 

OSGi is N/A; See Below

math

1.1

 

 

modeler

2.0.1

 

 

net

1.4.1

 

 

pool

1.3

1.4 (m1, manual)

 

primitives

1.0

 

 

proxy

No yet released

 

 

scxml

0.7

 

 

transaction

1.2

 

 

validator

1.3.1

 

 

vfs

1.0

 

 

Commons Logging

The things that commons-logging does with classloaders in order to try and work in various servlet engine configurations are not compatible with the classloaders that OSGi environments set up. Therefore adding OSGi attributes to commons-logging is not useful, as commons-logging is not usable in an OSGi environment.

  • No labels