You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Pradeep Krishna Govindaraju <gp...@gmail.com> on 2015/05/17 22:12:42 UTC

Karaf 4.0 release

Hi,

Can anyone let me know when Karaf 4.0 will be ready for production use?

I¹m eagerly awaiting the release announcement and will be glad to use Karaf
4.0 with Jetty 9.2.x.

Regards,
Pradeep




Re: cxf namespace

Posted by de...@mobigov.com.
 

Nevermind. It was an issue with the latest cxf. I downgraded to 3.0.5
and it solved the problem. 

On 2015-05-19 20:24, development@mobigov.com wrote: 

> I did some more looking into it but I am still getting this error 
> 
> org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
> 'tns:model' to a(n) 'type definition' component.
> at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
> Source)[:]
> at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
> Source)[:]
> at
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.createSchema(NamespaceHandlerRegistryImpl.java:336)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.getSchema(NamespaceHandlerRegistryImpl.java:250)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.access$300(NamespaceHandlerRegistryImpl.java:75)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:546)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:321)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[10:org.apache.aries.blueprint.core:1.4.3]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[19:org.apache.aries.util:1.1.0]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[19:org.apache.aries.util:1.1.0]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[19:org.apache.aries.util:1.1.0]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[19:org.apache.aries.util:1.1.0]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[19:org.apache.aries.util:1.1.0]
> at
> org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:485)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4520)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2166)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964)[org.apache.felix.framework-5.0.0.jar:]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1171)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> at
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:826)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1061)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:960)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
> at java.lang.Thread.run(Thread.java:745)[:1.7.0_79] 
> 
> I see where tns:model is contained in both 
> 
> http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [1] and
> http://cxf.apache.org/schemas/blueprint/jaxrs-common.xsd [2] 
> 
> however even when I embed them in the blueprint file and change the name
> from tns:model I get the same error. I was hoping someone might be able
> to get me on the right track as I dont feel like I am looking in the
> right place. 
> 
> I am using karaf 4.0 and got the same error in M2 and the snapshot from
> today. 
> 
> any help would be appreciated. 
> 
> Thanks for everything, 
> 
> David 
> 
> On 2015-05-19 17:05, development@mobigov.com wrote:
> The issue is http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [1] [5 [1]] at the line <xsd:element name="model" type="tns:model" minOccurs="0"/> under server I dont think it likes the name tns there defined as the same thing as the main xmlns. On 2015-05-19 12:48, development@mobigov.com wrote: I am sorry you are correct. I had that previously and then made a poor attempt at fixing the problem by removing the first blueprint. I have readded it to be the same as my original file but am still facing the same error. I am thinking I made a change somewhere else that messed things up. Thank you for your help. On 2015-05-19 12:40, Jean-Baptiste Onofré wrote: If you define the schema location, you should define the location for all schema: xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 [3] [1 [3]] [1 [1]] [1] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4] [2 [4]] [2 [2]] [4] http://cxf.apache.org/blueprint/jaxrs [5] [3 [5]] [3 [3]] [3]
http://cxf.apache.org/schema/blueprint/jaxrs.xsd [6] [4 [6]] [4 [4]] [6 [4]]" Regards JB On 05/19/2015 06:17 PM, development@mobigov.com wrote: I am getting an error 2015-05-19 12:09:53,722 | ERROR | FelixStartLevel | BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 | Unable to start blueprint container for bundle ****

org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'tns:model' to a(n) 'type definition' component. at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)[:] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
Source)[:] I don't think I was getting this before but don't know if I
fat fingered something that I didn't mean to. Has someone hit this

> issue before. Here is the top of my cxf definition <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0 [3] [1 [3]] [1 [1]] [1 [1]]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [7] [6 [7]] [5 [6]] [2 [5]]" xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs [5] [3 [5]] [3 [3]] [3 [3]]" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4] [2 [4]] [2 [2]] [4] http://cxf.apache.org/blueprint/jaxrs [5] [3 [5]] [3 [3]] [3 [5]] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [1] [5 [1]] [6 [5]] [5 [6]]"> Links: ------ [1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [3] [1 [3]] [1 [1]] [2] http://www.w3.org/2001/XMLSchema-instance [7] [6 [7]] [5 [6]] [3] http://cxf.apache.org/blueprint/jaxrs [5] [3 [5]] [3 [3]] [4] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4] [2 [4]] [2 [2]] [5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [1] [5 [1]] [6 [5]] [6] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [6] [4 [6]] [4 [4]] Links:
------ [1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [3] [1 [3]] [2] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4] [2 [4]] [3] http://cxf.apache.org/blueprint/jaxrs [5] [3 [5]] [4] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [6] [4 [6]] [5] http://www.w3.org/2001/XMLSchema-instance [7] [6 [7]] [6] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [1] [5 [1]]

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [3]
[2] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4]
[3] http://cxf.apache.org/blueprint/jaxrs [5]
[4] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [6]
[5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [1]
[6] http://www.w3.org/2001/XMLSchema-instance [7]

 

Links:
------
[1] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
[2] http://cxf.apache.org/schemas/blueprint/jaxrs-common.xsd
[3] http://www.osgi.org/xmlns/blueprint/v1.0.0
[4] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
[5] http://cxf.apache.org/blueprint/jaxrs
[6] http://cxf.apache.org/schema/blueprint/jaxrs.xsd
[7] http://www.w3.org/2001/XMLSchema-instance

Re: cxf namespace

Posted by de...@mobigov.com.
 

I did some more looking into it but I am still getting this error 

org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'tns:model' to a(n) 'type definition' component.
 at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)[:]
 at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)[:]
 at
org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
Source)[:]
 at
org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
Source)[:]
 at
org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown
Source)[:]
 at
org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
Source)[:]
 at
org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown
Source)[:]
 at
org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown
Source)[:]
 at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
Source)[:]
 at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown
Source)[:]
 at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
Source)[:]
 at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
Source)[:]
 at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
Source)[:]
 at
org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.createSchema(NamespaceHandlerRegistryImpl.java:336)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.getSchema(NamespaceHandlerRegistryImpl.java:250)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.access$300(NamespaceHandlerRegistryImpl.java:75)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:546)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:321)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[10:org.apache.aries.blueprint.core:1.4.3]
 at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[19:org.apache.aries.util:1.1.0]
 at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[19:org.apache.aries.util:1.1.0]
 at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[19:org.apache.aries.util:1.1.0]
 at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[19:org.apache.aries.util:1.1.0]
 at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[19:org.apache.aries.util:1.1.0]
 at
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:485)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4520)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.felix.framework.Felix.startBundle(Felix.java:2166)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964)[org.apache.felix.framework-5.0.0.jar:]
 at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1171)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
 at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:826)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
 at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1061)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
 at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:960)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
 at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
 at java.lang.Thread.run(Thread.java:745)[:1.7.0_79] 

I see where tns:model is contained in both 

http://cxf.apache.org/schemas/blueprint/jaxrs.xsd and
http://cxf.apache.org/schemas/blueprint/jaxrs-common.xsd 

however even when I embed them in the blueprint file and change the name
from tns:model I get the same error. I was hoping someone might be able
to get me on the right track as I dont feel like I am looking in the
right place. 

I am using karaf 4.0 and got the same error in M2 and the snapshot from
today. 

any help would be appreciated. 

Thanks for everything, 

 David 

On 2015-05-19 17:05, development@mobigov.com wrote: 

> The issue is http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [5] 
> 
> at the line <xsd:element name="model" type="tns:model" minOccurs="0"/>
> under server 
> 
> I dont think it likes the name tns there defined as the same thing as
> the main xmlns. 
> 
> On 2015-05-19 12:48, development@mobigov.com wrote:
> 
>> I am sorry you are correct. I had that previously and then made a poor attempt at fixing the problem by removing the first blueprint. I have readded it to be the same as my original file but am still facing the same error. I am thinking I made a change somewhere else that messed things up. Thank you for your help. On 2015-05-19 12:40, Jean-Baptiste Onofré wrote: If you define the schema location, you should define the location for all schema: xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 [1] [1 [1]] [1] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2] [2 [2]] [4] http://cxf.apache.org/blueprint/jaxrs [3] [3 [3]] [3] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4] [4 [4]] [6 [4]]" Regards JB On 05/19/2015 06:17 PM, development@mobigov.com wrote: I am getting an error 2015-05-19 12:09:53,722 | ERROR | FelixStartLevel | BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 | Unable to start blueprint container for bundle ****
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'tns:model' to a(n) 'type definition' component. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)[:] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:] I don't think I was getting this before but don't know if I fat fingered something that I didn't mean to. Has someone hit this
> 
> issue before. Here is the top of my cxf definition <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0 [1] [1 [1]] [1 [1]]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [6] [5 [6]] [2 [5]]" xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs [3] [3 [3]] [3 [3]]" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2] [2 [2]] [4] http://cxf.apache.org/blueprint/jaxrs [3] [3 [3]] [3]
> 
> http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [5] [6 [5]] [5 [6]]">
> 
> Links:
> ------
> [1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [1] [1 [1]]
> [2] http://www.w3.org/2001/XMLSchema-instance [6] [5 [6]]
> [3] http://cxf.apache.org/blueprint/jaxrs [3] [3 [3]]
> [4] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2] [2 [2]]
> [5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [5] [6 [5]]
> [6] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4] [4 [4]]
> 
> Links:
> ------
> [1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [1]
> [2] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2]
> [3] http://cxf.apache.org/blueprint/jaxrs [3]
> [4] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4]
> [5] http://www.w3.org/2001/XMLSchema-instance [6]
> [6] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [5]
 

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0
[2] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
[3] http://cxf.apache.org/blueprint/jaxrs
[4] http://cxf.apache.org/schema/blueprint/jaxrs.xsd
[5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
[6] http://www.w3.org/2001/XMLSchema-instance

Re: cxf namespace

Posted by de...@mobigov.com.
 

The issue is http://cxf.apache.org/schemas/blueprint/jaxrs.xsd 

at the line <xsd:element name="model" type="tns:model" minOccurs="0"/>
under server 

I dont think it likes the name tns there defined as the same thing as
the main xmlns. 

On 2015-05-19 12:48, development@mobigov.com wrote: 

> I am sorry you are correct. I had that previously and then made a poor
> attempt at fixing the problem by removing the first blueprint. I have
> readded it to be the same as my original file but am still facing the
> same error. I am thinking I made a change somewhere else that messed
> things up. Thank you for your help. 
> 
> On 2015-05-19 12:40, Jean-Baptiste Onofré wrote:
> If you define the schema location, you should define the location for all schema: xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 [1] [1] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2] [4] http://cxf.apache.org/blueprint/jaxrs [3] [3] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4] [6 [4]]" Regards JB On 05/19/2015 06:17 PM, development@mobigov.com wrote: I am getting an error 2015-05-19 12:09:53,722 | ERROR | FelixStartLevel | BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 | Unable to start blueprint container for bundle **** org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'tns:model' to a(n) 'type definition' component. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)[:] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:] I don't think I was getting this before but don't know if I fat fingered something that I didn't mean to. Has someone hit this
issue before. Here is the top of my cxf definition <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0 [1] [1 [1]]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [5] [2 [5]]" xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs [3] [3 [3]]" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2] [4] http://cxf.apache.org/blueprint/jaxrs [3] [3]

http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [6] [5 [6]]">

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [1]
[2] http://www.w3.org/2001/XMLSchema-instance [5]
[3] http://cxf.apache.org/blueprint/jaxrs [3]
[4] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2]
[5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [6]
[6] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4]

 

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0
[2] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
[3] http://cxf.apache.org/blueprint/jaxrs
[4] http://cxf.apache.org/schema/blueprint/jaxrs.xsd
[5] http://www.w3.org/2001/XMLSchema-instance
[6] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd

Re: cxf namespace

Posted by de...@mobigov.com.
 

I am sorry you are correct. I had that previously and then made a poor
attempt at fixing the problem by removing the first blueprint. I have
readded it to be the same as my original file but am still facing the
same error. I am thinking I made a change somewhere else that messed
things up. Thank you for your help. 

On 2015-05-19 12:40, Jean-Baptiste Onofré wrote: 

> If you define the schema location, you should define the location for all schema:
> 
> xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 [1] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4] http://cxf.apache.org/blueprint/jaxrs [3] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [6]"
> 
> Regards
> JB
> 
> On 05/19/2015 06:17 PM, development@mobigov.com wrote:
> 
>> I am getting an error 2015-05-19 12:09:53,722 | ERROR | FelixStartLevel | BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 | Unable to start blueprint container for bundle **** org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'tns:model' to a(n) 'type definition' component. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)[:] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:] I don't think I was getting this before but don't know if I fat fingered something that I didn't mean to. Has someone hit this issue before. Here is the top of my cxf definition <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0 [1]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [2]" xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs [3]" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [4] http://cxf.apache.org/blueprint/jaxrs [3]
http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [5]">
 

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0
[2] http://www.w3.org/2001/XMLSchema-instance
[3] http://cxf.apache.org/blueprint/jaxrs
[4] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
[5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
[6] http://cxf.apache.org/schema/blueprint/jaxrs.xsd

Re: cxf namespace

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
If you define the schema location, you should define the location for 
all schema:

xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd 
http://cxf.apache.org/blueprint/jaxrs 
http://cxf.apache.org/schema/blueprint/jaxrs.xsd"

Regards
JB

On 05/19/2015 06:17 PM, development@mobigov.com wrote:
>
>
> I am getting an error
>
> 2015-05-19 12:09:53,722 | ERROR | FelixStartLevel |
> BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 |
> Unable to start blueprint container for bundle ****
> org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
> 'tns:model' to a(n) 'type definition' component.
>   at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
>   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
>
> I don't think I was getting this before but don't know if I fat fingered
> something that I didn't mean to. Has someone hit this issue before.
>
> Here is the top of my cxf definition
>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
>
> xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
>   http://cxf.apache.org/blueprint/jaxrs
> http://cxf.apache.org/schemas/blueprint/jaxrs.xsd">
>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

cxf namespace

Posted by de...@mobigov.com.
 

I am getting an error 

2015-05-19 12:09:53,722 | ERROR | FelixStartLevel |
BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 |
Unable to start blueprint container for bundle ****
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'tns:model' to a(n) 'type definition' component.
 at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)[:]
 at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:] 

I don't think I was getting this before but don't know if I fat fingered
something that I didn't mean to. Has someone hit this issue before. 

Here is the top of my cxf definition 

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"

xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
 http://cxf.apache.org/blueprint/jaxrs
http://cxf.apache.org/schemas/blueprint/jaxrs.xsd"> 

 

Re: Karaf 4.0 release

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I'm preparing the release update (as we did).

Roughly:
- new OSGi release support
- new OSGi frameworks version
- new bundle/feature resolver
- etc

I will push the changes on the website asap.

Regards
JB

On 05/18/2015 03:14 PM, ellirael wrote:
> Major release. Whats new in 4.0?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-release-tp4040406p4040424.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf 4.0 release

Posted by ellirael <el...@mail.ru>.
Major release. Whats new in 4.0?



--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-release-tp4040406p4040424.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Karaf 4.0 release

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Karaf 4.0.0.M3 is planned for this week, the GA should follow 2 weeks later.

Regards
JB

On 05/17/2015 10:12 PM, Pradeep Krishna Govindaraju wrote:
> Hi,
>
> Can anyone let me know when Karaf 4.0 will be ready for production use?
>
> I¹m eagerly awaiting the release announcement and will be glad to use Karaf
> 4.0 with Jetty 9.2.x.
>
> Regards,
> Pradeep
>
>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf 4.0 release

Posted by "Jamie G." <ja...@gmail.com>.
4.0.0.m3 is coming soon, then the GA.

There were a couple of issues that needed to be resolved before we
could cut an RC. Best way to keep on top of production issues is to
watch the Jira list for a given branch.

Cheers,
Jamie

On Sun, May 17, 2015 at 5:42 PM, Pradeep Krishna Govindaraju
<gp...@gmail.com> wrote:
> Hi,
>
> Can anyone let me know when Karaf 4.0 will be ready for production use?
>
> I¹m eagerly awaiting the release announcement and will be glad to use Karaf
> 4.0 with Jetty 9.2.x.
>
> Regards,
> Pradeep
>
>
>