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

[OSGi] - bundle order is important when loading resouces inside osgi containers #59

Open
ieugen opened this issue Feb 4, 2014 · 1 comment

Comments

@ieugen
Copy link
Member

ieugen commented Feb 4, 2014

Hello,

The current OSGi implementation for SmooksFactory cares about the order in which bundles are started inside OSGi. I tested inside Karaf and tried to create a Smooks instance with a configuration given as a String. When Smooks loads before my bundles, it can find the resources but when it loads after my bundles, it cannot.

I believe this should not happen, and SmooksOSGiFactory should resolve resources regardless of bundle start time.

@tfennelly
Copy link
Member

Hi Ioan.

That does sound a bit odd alright. If it was the other way around i.e. you were seeing the same issue if Smooks was loaded BEFORE, then it might make some sense to me. Any idea what the issue is? Daniel (Bevenius) implemented most of the OSGi stuff. I know he would freely admit to not being an OSGi guru, so there may be some things in there that could be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants