karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Taeschner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4608) Unable to start local rest service due to SAXParseException
Date Mon, 11 Jul 2016 15:14:11 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370945#comment-15370945
] 

Michael Taeschner commented on KARAF-4608:
------------------------------------------

I have run into the same issue with the recently released ServiceMix 6.1.2 / Karaf 3.0.7

{noformat}
[2016-07-11 16:48:41,277] [WARN] [fileinstall-D:\work\servicemix\isb-smx-6.1.0-SNAPSHOT/deploy]
[o.a.a.b.n.NamespaceHandlerRegistryImpl]  544 | [] | [] | [] | [] | [] | [] | Dynamically
adding namespace handler http://cxf.apache.org/configuration/beans to bundle com.lhsystems.isb-isb-ws-server-example/1.1.5.SNAPSHOT
[2016-07-11 16:48:41,279] [WARN] [fileinstall-D:\work\servicemix\isb-smx-6.1.0-SNAPSHOT/deploy]
[o.a.a.b.n.NamespaceHandlerRegistryImpl]  544 | [] | [] | [] | [] | [] | [] | Dynamically
adding namespace handler http://cxf.apache.org/configuration/parameterized-types to bundle
com.lhsystems.isb-isb-ws-server-example/1.1.5.SNAPSHOT
[2016-07-11 16:48:41,295] [ERROR] [fileinstall-D:\work\servicemix\isb-smx-6.1.0-SNAPSHOT/deploy]
[o.a.a.b.c.BlueprintContainerImpl]  437 | [] | [] | [] | [] | [] | [] | Unable to start blueprint
container for bundle com.lhsystems.isb-isb-ws-server-example/1.1.5.SNAPSHOT
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'pt:ParameterizedBoolean'
to a(n) 'simpleType definition' component.
	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [na:na]
	at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [na:na]
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.reportSchemaError(Unknown Source)
[na:na]
	at org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseNamedAttr(Unknown Source)
[na:na]
	at org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal(Unknown Source)
[na:na]
	at org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndAttrGrps(Unknown
Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.processComplexContent(Unknown
Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexContent(Unknown
Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexTypeDecl(Unknown
Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseLocal(Unknown Source)
[na:na]
	at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseGlobal(Unknown Source)
[na:na]
	at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) [na:na]
	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) [na:na]
	at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source) [na:na]
	at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.createSchema(NamespaceHandlerRegistryImpl.java:637)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.doGetSchema(NamespaceHandlerRegistryImpl.java:458)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:443)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:343)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)
[org.apache.aries.blueprint.core:1.6.1]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
[org.apache.aries.util:1.1.1]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
[org.apache.aries.util:1.1.1]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
[org.apache.aries.util:1.1.1]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
[org.apache.aries.util:1.1.1]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
[org.apache.aries.util:1.1.1]
	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)
[org.apache.felix.framework-4.2.1.jar:na]
	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)
[org.apache.felix.framework-4.2.1.jar:na]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)
[org.apache.felix.framework-4.2.1.jar:na]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) [org.apache.felix.framework-4.2.1.jar:na]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) [org.apache.felix.framework-4.2.1.jar:na]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) [org.apache.felix.framework-4.2.1.jar:na]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1243)
[org.apache.felix.fileinstall:3.5.2]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1215)
[org.apache.felix.fileinstall:3.5.2]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:506)
[org.apache.felix.fileinstall:3.5.2]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:355)
[org.apache.felix.fileinstall:3.5.2]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:307)
[org.apache.felix.fileinstall:3.5.2]
{noformat}

As our services run in backbone we have no internet access in production.

> Unable to start local rest service due to SAXParseException
> -----------------------------------------------------------
>
>                 Key: KARAF-4608
>                 URL: https://issues.apache.org/jira/browse/KARAF-4608
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.5
>            Reporter: Christian Lutz
>
> Hello,
> I think I encountered a bug after I updated from 4.0.2 to 4.0.5. I tested it on MacOSX
and Windows7
> How to reproduce:
> - Download karaf 4.0.5
> - Use equinox as osgi framework
> - To reproduce the bug we use Christians tutorial https://github.com/cschneider/Karaf-Tutorial/
> - Clone the sources
> - cd into cxf/personservice-rest and build it via "mvn clean install"
> - Now start the karaf
> - feature:repo-add cxf 3.1.6
> - feature:install cxf http http-whiteboard (this takes much longer than before, and you
get a lot of errors, just see the log files. But at the end it starts)
> - install -s mvn:net.lr.tutorial.karaf.cxf.personrest/personrest-model/1.0-SNAPSHOT
> - And now the IMPORTANT step -disable your internet connection-
> - install -s mvn:net.lr.tutorial.karaf.cxf.personrest/personrest-server/1.0-SNAPSHOT
> Now, your bundle hasn't been started, status failure. If you type diag:165 (replace by
your bundleId) you will see the following exception. This is exception varies depending on
what your blueprint contains.
> src-resolve: Cannot resolve the name 'ptp:ParameterizedInt' to a(n) 'type definition'
component.
> org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'ptp:ParameterizedInt'
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.XSDAttributeTraverser.traverseNamedAttr(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndAttrGrps(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.processComplexContent(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexTypeDecl(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseLocal(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseGlobal(Unknown Source)
> 	at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas(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$NamespaceHandlerSetImpl.createSchema(NamespaceHandlerRegistryImpl.java:637)
> 	at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.doGetSchema(NamespaceHandlerRegistryImpl.java:458)
> 	at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:443)
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:343)
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)
> 	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)
> 	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)
> 	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)
> 	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)
> 	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
> 	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
> 	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
> 	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
> 	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
> 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher$2.call(EquinoxEventPublisher.java:189)
> 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1280)
> 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java:1263)
> 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.notifyEventHooksPrivileged(EquinoxEventPublisher.java:186)
> 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:146)
> 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
> 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
> 	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
> 	at org.eclipse.osgi.container.Module.publishEvent(Module.java:466)
> 	at org.eclipse.osgi.container.Module.start(Module.java:457)
> 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)
> 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412)
> 	at org.apache.karaf.bundle.command.Install.execute(Install.java:96)
> 	at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
> 	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message