Virgo ignores OSGI-INF [message #649345] |
Tue, 18 January 2011 15:27  |
Eclipse User |
|
|
|
I've got a collection of bundles which use the Blueprint Service - with the blueprint resources in OSGI-INF/blueprint directories - to do DI that deploy and work correctly in Karaf. When I deploy them in Virgo they show up in the Artifacts>Bundles view but they aren't actually doing anything, e.g., not listening for connections, etc.
As a test I took one of the bundles, named listener, and created a 'spring' directory under META-INF and moved the OSGI-INF/blueprint/listener.xml file into it. After packaging this bundle throws an org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'blueprint' exception.
Ergo, it appears that Virgo is ignoring the OSGI-INF/blueprint directory and that there is some issue reading a standard blueprint specification which Karaf has no problems groking. This is too bad since Virgo - given its Spring-DM heritage - seems more "production ready" than does Karaf.
Is this a known problem, or will it be addressed in a future release?
... WkH
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07560 seconds