Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ROME 1.0 works in OSGi #143

Closed
PatrickGotthard opened this issue Sep 30, 2013 · 3 comments
Closed

Make ROME 1.0 works in OSGi #143

PatrickGotthard opened this issue Sep 30, 2013 · 3 comments
Milestone

Comments

@PatrickGotthard
Copy link
Member

=== This issue was migrated from JIRA ===
Type: Task
Priority: Blocker
Status: Open
Resolution: UNRESOLVED
Reported by: splatch
Assigned to: ROME Jira Lead
Created: Fri Mar 19 09:28:24 CET 2010
Updated: Thu Sep 15 20:55:40 CEST 2011
Resolved: Wed Aug 11 01:26:08 CEST 2010
Version: current
Fix version: milestone 1
JIRA Link: https://rometools.jira.com/browse/ROME-142
=========================================

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

@PatrickGotthard
Copy link
Member Author

=== This comment was migrated from JIRA ===
Author: jamesroper
Created: Wed Aug 11 01:26:08 CEST 2010
===========================================

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

@PatrickGotthard
Copy link
Member Author

=== This comment was migrated from JIRA ===
Author: anonymous
Created: Thu Sep 15 20:55:40 CEST 2011
===========================================

Attachment osgi.patch has been added with description: osgi.patch

@imk
Copy link
Contributor

imk commented Oct 8, 2013

duplicates #135

@PatrickGotthard PatrickGotthard added this to the Version 2.0.0 milestone Apr 9, 2014
@PatrickGotthard PatrickGotthard modified the milestones: Version 1.6.0, Version 2.0.0 Feb 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants