karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shoaib Khan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4608) Unable to start local rest service due to SAXParseException
Date Sat, 12 Nov 2016 07:15:58 GMT

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

Shoaib Khan commented on KARAF-4608:
------------------------------------

Hi,

Facing similar issue with namespaces associated with below XSD's on Karaf 4.0.5
http://cxf.apache.org/schemas/configuration/security.xsd
http://cxf.apache.org/schemas/configuration/http-conf.xsd

Also do note 4.0.6 is not working on Solaris 11, hence we can't upgrade. 
Can we downgrade further to 4.0.2? Or, is it possible to expect resolution for both the issues
(KARAF-4608 and KARAF-4714) in the future release?

> 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
>             Fix For: 4.0.6
>
>
> 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