[
https://issues.apache.org/jira/browse/FELIX-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Pauls resolved FELIX-1834.
-------------------------------
Resolution: Fixed
Fixed in trunk as of r831398.
We now make sure we can embed felix inside felix as a bundle without breaking
framework from context lookup of URLHandlers. Furthermore, that if we embed an
earlier version of felix inside the current felix this works as well.
> java.io.IOException: No framework context found when embedding felix
> frameworks as bundles
> ------------------------------------------------------------------------------------------
>
> Key: FELIX-1834
> URL: https://issues.apache.org/jira/browse/FELIX-1834
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: felix-2.0.1
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Fix For: felix-2.2.0
>
>
> java.io.IOException: No framework context found
> at
> org.apache.felix.framework.URLHandlersBundleStreamHandler.openConnection(URLHandlersBundleStreamHandler.java:74)
> at java.net.URL.openConnection(URL.java:945)
> This happens when a version of felix (doesn't matter whether it is 2.0.1 or
> older) is embedded inside a bundle which gets installed and started inside
> Felix 2.0.1 (and probably older versions as well). The reason is that we mess
> up the framework form context lookup inside the urlhandlers which breaks
> bundle: urls and other stuff. This is only an issue if bundle: urls are
> created from string and not from the framework (like e.g., spring does).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.