Make ROME 1.0 works in OSGi

Description

When I tired to run Rome on ServiceMix I found error with class loading. After
short investigate i found blog post:
http://js.jipiju.com/2009/08/04/osgi-jumping-through-classoading-hoops/

I patched Rome PropertiesLoader to use PropertiesLoader.class.getClassLoader()
in place Thread.currentThread().getContextClassLoader(). Patched version is
avaliable on:
http://repository.code-house.org/content/repositories/code-house.public.release/rome/rome/1.0-osgi/

Patched PropertiesLoader are available in rome-1.0-osgi-sources.jar.

Regards,
Luke

Environment

None

Attachments

1
  • 15 Sep 2011, 06:55 PM

Activity

Show:

Former user September 15, 2011 at 6:55 PM

Attachment osgi.patch has been added with description: http://java.net/jira/secure/attachment/26769/osgi.patch

jamesroper August 10, 2010 at 11:26 PM

Created an attachment (id=46)
Patch for OSGI compatibility

UNRESOLVED

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created March 19, 2010 at 8:28 AM
Updated September 15, 2011 at 6:55 PM
Resolved August 10, 2010 at 11:26 PM