Hi All, after KARAF upgrade to 4.2.0, for our DBManager bundle, I am facing the dependency issues and it remains in Grace Period. Status: GracePeriod Missing dependencies: (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://aries.apache.org/xmlns/jpa/v1.0.0)) Declarative Services
Here is our bluePrint.xml file headers. <blueprint default-activation="eager" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0" xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0"> </blueprint> on running a command, supported namespace handlers with service:list NamespaceHandler, it does NOT show above mentioned one in the list. Instead it has the below mention one [org.apache.aries.blueprint.NamespaceHandler] osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/jpa/v2.0.0 I had changed the headers for JPA from 1.0.0 to 2.0.0 <blueprint default-activation="eager" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v2.0.0" xmlns:tx="http://aries.apache.org/xmlns/transactions/v2.0.0" xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"> </blueprint> but after this, bundle state is failure now with this exception. 15:41:20,660 | ERROR | FelixStartLevel | BlueprintContainerImpl | 85 - org.apache.aries.blueprint.core - 1.9.0 | Unable to start blueprint container for bundle com.good.server.docs/1.5.3.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml at org.apache.aries.blueprint.parser.Parser.validate(Parser.java:349) ~[85:org.apache.aries.blueprint.core:1.9.0] at org.apache.aries.blueprint.parser.Parser.validate(Parser.java:336) ~[85:org.apache.aries.blueprint.core:1.9.0] at java.lang.Thread.run(Thread.java:745) [?:?] Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jpa:context'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) ~[?:?] Can you please suggest what could be the probable missing item here? What should be right versions in header to get it working. Regards Munish -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html