cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1961) Intent map exception when running the greeter demo client
Date Fri, 02 Jan 2009 16:05:44 GMT
Intent map exception when running the greeter demo client
---------------------------------------------------------

                 Key: CXF-1961
                 URL: https://issues.apache.org/jira/browse/CXF-1961
             Project: CXF
          Issue Type: Bug
          Components: Distributed-OSGi
         Environment: Felix 1.4.1
            Reporter: David Bosschaert


The following exception comes up when starting the greeter demo client bundle.

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 44 i
n XML document from OSGi resource[classpath:/OSGI-INF/cxf/intents/intent-map.xml
|bnd.id=7|bnd.sym=cxf-dosgi-ri-samples-greeter-client] is invalid; nested except
ion is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'id' is
not allowed to appear in element 'p:policies'.
        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.handlers.PojoConfigurationTypeHandler.getInt
entMap(PojoConfigurationTypeHandler.java:249)
        at org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.applyI
ntents(PojoConfigurationTypeHandler.java:163)
        at org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.create
Proxy(PojoConfigurationTypeHandler.java:92)
        at org.apache.cxf.dosgi.dsw.handlers.ClientServiceFactory.getService(Cli
entServiceFactory.java:53)
        at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecke
d(ServiceRegistrationImpl.java:272)
        at org.apache.felix.framework.ServiceRegistrationImpl.getService(Service
RegistrationImpl.java:196)
        at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry
.java:300)
        at org.apache.felix.framework.Felix.getService(Felix.java:2921)
        at org.apache.felix.framework.BundleContextImpl.getService(BundleContext
Impl.java:357)
        at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.jav
a:385)
        at org.apache.cxf.dosgi.samples.greeter.client.Activator$1.addingService
(Activator.java:40)
        at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTrack
er.java:1030)
        at org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.jav
a:1008)
        at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTr
acker.java:933)
        at org.apache.felix.framework.util.EventDispatcher.invokeServiceListener
Callback(EventDispatcher.java:820)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
EventDispatcher.java:678)
        at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even
tDispatcher.java:609)
        at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3640)
        at org.apache.felix.framework.Felix.access$200(Felix.java:38)
        at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:841)
        at org.apache.felix.framework.ServiceRegistry.fireServiceChanged(Service
Registry.java:568)
        at org.apache.felix.framework.ServiceRegistry.registerService(ServiceReg
istry.java:81)
        at org.apache.felix.framework.Felix.registerService(Felix.java:2773)
        at org.apache.felix.framework.BundleContextImpl.registerService(BundleCo
ntextImpl.java:252)
        at org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook.processServiceDescr
iptions(AbstractClientHook.java:103)
        at org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook.processClientDescri
ptions(AbstractClientHook.java:54)
        at org.apache.cxf.dosgi.dsw.hooks.CxfListenerHook.handleListeners(CxfLis
tenerHook.java:80)
        at org.apache.cxf.dosgi.dsw.hooks.CxfListenerHook.added(CxfListenerHook.
java:59)
        at org.apache.felix.framework.Felix.addServiceListener(Felix.java:2674)
        at org.apache.felix.framework.BundleContextImpl.addServiceListener(Bundl
eContextImpl.java:203)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:270)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:235)
        at org.apache.cxf.dosgi.samples.greeter.client.Activator.start(Activator
.java:47)
        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.BundleImpl.start(BundleImpl.java:382)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:363)
        at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl
.java:82)
        at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand
(Activator.java:276)
        at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j
ava:167)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'id'
 is not allowed to appear in element 'p:policies'.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(Unknown Source)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unk
nown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErro
rReporter.reportError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportS
chemaError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.process
Attributes(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
tartElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
ement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
StartElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U
nknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So
urce)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk
nown Source)
        at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:75)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:396)
        ... 57 more
02-Jan-2009 16:01:09 org.apache.cxf.dosgi.dsw.OsgiUtils readIntentMap
WARNING: Intent map load failed:


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message