Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.5.0
-
None
-
java6, Felix OSGI container
Description
camel-spring-2.5.0.jar includes the the spring app-context related schemas (camel-osgi.xsd, camel-spring.xsd...) in the root of the jar.
OSGI does not support resolving resources in the default package, or at least that is true of the osgi container I use, namely Felix.
So if I start my app without an internet connection, forcing the XSDs to be loaded from within the jar, the app will not start with a "Failed to read schema document" error.
If I repackage the jar after moving the XSDs to a package (say org.apache.camel.spring) and update the spring.schemas file correspondingly, everything works.