cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DOSGI-17) DOSGi fails when run without a network connection
Date Thu, 22 Dec 2011 10:54:30 GMT

     [ https://issues.apache.org/jira/browse/DOSGI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved DOSGI-17.
-----------------------------------

    Resolution: Duplicate
    
> DOSGi fails when run without a network connection
> -------------------------------------------------
>
>                 Key: DOSGI-17
>                 URL: https://issues.apache.org/jira/browse/DOSGI-17
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>
> Just run the greeter demo without a network connection. It doesn't work.
> Just start up a distribution (e.g. the single-bundle one) and you get the following exception:
> SEVERE: Refresh error
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 81 i
> n XML document from OSGi resource[classpath:/OSGI-INF/cxf/intents/intent-map.xml
> |bnd.id=2|bnd.sym=cxf-dosgi-ri-singlebundle-distribution] is invalid; nested exc
> eption is org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'c
> xf-beans:beanAttributes' to a(n) 'attribute group' component.
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
> eanDefinitions(XmlBeanDefinitionReader.java:404)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
> nDefinitions(XmlBeanDefinitionReader.java:342)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
> nDefinitions(XmlBeanDefinitionReader.java:310)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>         at org.springframework.osgi.context.support.OsgiBundleXmlApplicationCont
> ext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:166)
>         at org.springframework.osgi.context.support.OsgiBundleXmlApplicationCont
> ext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:132)
>         at org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
>         at org.springframework.context.support.AbstractApplicationContext.obtain
> FreshBeanFactory(AbstractApplicationContext.java:423)
>         at org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:353)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
> plicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java
> :148)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
> plicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExec
> utionApplicationContext.java:73)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
> plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136)
>         at org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:405)
>         at org.apache.cxf.dosgi.dsw.OsgiUtils.getIntentMap(OsgiUtils.java:380)
>         at org.apache.cxf.dosgi.dsw.Activator.getIntentMap(Activator.java:92)
>         at org.apache.cxf.dosgi.dsw.Activator.registerDistributionProviderServic
> e(Activator.java:83)
>         at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:66)
>         at org.apache.cxf.dosgi.AggregatedActivator.start(AggregatedActivator.ja
> va:34)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:589)
>         at org.apache.felix.framework.Felix._startBundle(Felix.java:1671)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1588)
>         at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
> 80)
>         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265
> )
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name '
> cxf-beans:beanAttributes' to a(n) 'attribute group' component.
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
> ParseException(ErrorHandlerWrapper.java:236)
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
> orHandlerWrapper.java:172)
>         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
> XMLErrorReporter.java:382)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.repo
> rtSchemaError(XSDHandler.java:2241)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getG
> lobalDecl(XSDHandler.java:1201)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAttributeGro
> upTraverser.traverseLocal(XSDAttributeGroupTraverser.java:113)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractTrav
> erser.traverseAttrsAndAttrGrps(XSDAbstractTraverser.java:539)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeT
> raverser.processComplexContent(XSDComplexTypeTraverser.java:1056)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeT
> raverser.traverseComplexTypeDecl(XSDComplexTypeTraverser.java:307)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeT
> raverser.traverseLocal(XSDComplexTypeTraverser.java:169)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTrave
> rser.traverseNamedElement(XSDElementTraverser.java:363)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTrave
> rser.traverseGlobal(XSDElementTraverser.java:248)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.trav
> erseSchemas(XSDHandler.java:1081)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.pars
> eSchema(XSDHandler.java:481)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema
> (XMLSchemaLoader.java:556)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSch
> emaGrammar(XMLSchemaValidator.java:2459)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
> tartElement(XMLSchemaValidator.java:1807)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
> ement(XMLSchemaValidator.java:705)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
> StartElement(XMLNSDocumentScannerImpl.java:330)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:834)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:764)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
> java:148)
>         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.
> java:250)
>         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc
> umentBuilderImpl.java:292)
>         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
> ent(DefaultDocumentLoader.java:75)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
> eanDefinitions(XmlBeanDefinitionReader.java:396)
>         ... 25 more
> 15-Jan-2009 18:49:45 org.apache.cxf.dosgi.dsw.OsgiUtils readIntentMap
> WARNING: Intent map load failed:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 81 i
> n XML document from OSGi resource[classpath:/OSGI-INF/cxf/intents/intent-map.xml
> |bnd.id=2|bnd.sym=cxf-dosgi-ri-singlebundle-distribution] is invalid; nested exc
> eption is org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'c
> xf-beans:beanAttributes' to a(n) 'attribute group' component.
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
> eanDefinitions(XmlBeanDefinitionReader.java:404)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
> nDefinitions(XmlBeanDefinitionReader.java:342)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
> nDefinitions(XmlBeanDefinitionReader.java:310)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>         at org.springframework.osgi.context.support.OsgiBundleXmlApplicationCont
> ext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:166)
>         at org.springframework.osgi.context.support.OsgiBundleXmlApplicationCont
> ext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:132)
>         at org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
>         at org.springframework.context.support.AbstractApplicationContext.obtain
> FreshBeanFactory(AbstractApplicationContext.java:423)
>         at org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:353)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
> plicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java
> :148)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
> plicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExec
> utionApplicationContext.java:73)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
> plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136)
>         at org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:405)
>         at org.apache.cxf.dosgi.dsw.OsgiUtils.getIntentMap(OsgiUtils.java:380)
>         at org.apache.cxf.dosgi.dsw.Activator.getIntentMap(Activator.java:92)
>         at org.apache.cxf.dosgi.dsw.Activator.registerDistributionProviderServic
> e(Activator.java:83)
>         at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:66)
>         at org.apache.cxf.dosgi.AggregatedActivator.start(AggregatedActivator.ja
> va:34)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:589)
>         at org.apache.felix.framework.Felix._startBundle(Felix.java:1671)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1588)
>         at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
> 80)
>         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265
> )
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name '
> cxf-beans:beanAttributes' to a(n) 'attribute group' component.
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
> ParseException(ErrorHandlerWrapper.java:236)
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
> orHandlerWrapper.java:172)
>         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
> XMLErrorReporter.java:382)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.repo
> rtSchemaError(XSDHandler.java:2241)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getG
> lobalDecl(XSDHandler.java:1201)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAttributeGro
> upTraverser.traverseLocal(XSDAttributeGroupTraverser.java:113)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractTrav
> erser.traverseAttrsAndAttrGrps(XSDAbstractTraverser.java:539)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeT
> raverser.processComplexContent(XSDComplexTypeTraverser.java:1056)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeT
> raverser.traverseComplexTypeDecl(XSDComplexTypeTraverser.java:307)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeT
> raverser.traverseLocal(XSDComplexTypeTraverser.java:169)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTrave
> rser.traverseNamedElement(XSDElementTraverser.java:363)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTrave
> rser.traverseGlobal(XSDElementTraverser.java:248)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.trav
> erseSchemas(XSDHandler.java:1081)
>         at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.pars
> eSchema(XSDHandler.java:481)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema
> (XMLSchemaLoader.java:556)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSch
> emaGrammar(XMLSchemaValidator.java:2459)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
> tartElement(XMLSchemaValidator.java:1807)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
> ement(XMLSchemaValidator.java:705)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
> StartElement(XMLNSDocumentScannerImpl.java:330)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:834)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:764)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
> java:148)
>         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.
> java:250)
>         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc
> umentBuilderImpl.java:292)
>         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
> ent(DefaultDocumentLoader.java:75)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
> eanDefinitions(XmlBeanDefinitionReader.java:396)
>         ... 25 more
> 15-Jan-2009 18:49:45 org.apache.cxf.dosgi.dsw.qos.IntentMap setIntents

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message