Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-53

Exception when using CXF 2.2.5 with single-bundle distro

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.2
    • None
    • Product
    • None

    Description

      Reported by Shulok, Thomas <thomas.shulok@lmco.com>
      http://old.nabble.com/-DOSGI--cxf-2.2.5-in-the-DOSGI-1.2-snapshot-download--td26880487.html

      When using CXF 2.2.5 with the single-bundle distro the following exception appears:
      Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.dsw.OsgiUtils readIntentMap
      WARNING: Intent map load failed:
      org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 48 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: cvc-complex-type.2.4.c: The matching wi ldcard is strict, but no declaration can be found for 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:176)
      at org.springframework.osgi.context.support.OsgiBundleXmlApplicationCont
      ext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142)
      at org.springframework.context.support.AbstractRefreshableApplicationCon
      text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
      at org.springframework.context.support.AbstractApplicationContext.obtain
      FreshBeanFactory(AbstractApplicationContext.java:422)
      at org.springframework.context.support.AbstractApplicationContext.refres
      h(AbstractApplicationContext.java:352)
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
      plicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69
      )
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
      plicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)
      at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCus
      tomTCCL(PrivilegedUtils.java:85)
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
      plicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java
      :182)
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
      plicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExec
      utionApplicationContext.java:89)
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
      plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
      at org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:401)
      at org.apache.cxf.dosgi.dsw.OsgiUtils.getIntentMap(OsgiUtils.java:376)
      at org.apache.cxf.dosgi.dsw.Activator.getIntentMap(Activator.java:96)
      at org.apache.cxf.dosgi.dsw.Activator.registerRemoteServiceAdminService(
      Activator.java:78)
      at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:55)
      at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.startEmbeddedAc
      tivators(AggregatedActivator.java:115)
      at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.start(Aggregate
      dActivator.java:46)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund
      leContextImpl.java:783)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
      ator(BundleContextImpl.java:774)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
      leContextImpl.java:755)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
      eHost.java:352)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
      tBundle.java:280)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
      tBundle.java:272)
      at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._st
      art(FrameworkCommandProvider.java:253)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.
      execute(FrameworkCommandInterpreter.java:155)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(F
      rameworkConsole.java:303)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Fra
      meworkConsole.java:288)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(Framewo
      rkConsole.java:224)
      at java.lang.Thread.run(Unknown Source) Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching w ildcard is strict, but no declaration can be found for 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.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$FragmentContentDispatcher.dispatch(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)
      ... 40 more
      Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.dsw.qos.IntentMap setIntents
      INFO: Injected intents: {}
      java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(
      DefaultClassLoader.java:183)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Clas
      spathManager.java:576)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Cl
      asspathManager.java:546)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassIm
      pl(ClasspathManager.java:477)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_L
      ockClassLoader(ClasspathManager.java:465)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(C
      lasspathManager.java:445)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalCla
      ss(DefaultClassLoader.java:211)
      at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLo
      ader.java:381)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
      eLoader.java:457)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
      java:410)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
      java:398)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De
      faultClassLoader.java:105)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(
      DefaultClassLoader.java:183)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Clas
      spathManager.java:576)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Cl
      asspathManager.java:546)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassIm
      pl(ClasspathManager.java:477)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_L
      ockClassLoader(ClasspathManager.java:465)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(C
      lasspathManager.java:445)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalCla
      ss(DefaultClassLoader.java:211)
      at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLo
      ader.java:381)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
      eLoader.java:457)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
      java:410)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
      java:398)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De
      faultClassLoader.java:105)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at org.apache.cxf.dosgi.discovery.zookeeper.Activator.createZooKeeperDis
      covery(Activator.java:112)
      at org.apache.cxf.dosgi.discovery.zookeeper.Activator.start(Activator.ja
      va:46)
      at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.startEmbeddedAc
      tivators(AggregatedActivator.java:115)
      at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.start(Aggregate
      dActivator.java:46)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund
      leContextImpl.java:783)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
      ator(BundleContextImpl.java:774)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
      leContextImpl.java:755)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
      eHost.java:352)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
      tBundle.java:280)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
      tBundle.java:272)
      at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._st
      art(FrameworkCommandProvider.java:253)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.
      execute(FrameworkCommandInterpreter.java:155)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(F
      rameworkConsole.java:303)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Fra
      meworkConsole.java:288)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(Framewo
      rkConsole.java:224)
      at java.lang.Thread.run(Unknown Source) Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.topologymanager.Activator start
      INFO: TopologyManager: start()
      Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminL
      ist$1 addingService
      INFO: Adding RemoteServiceAdmin to list of admins Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminL
      ist$1 addingService
      INFO: enlisted RemoteEventAdmins: 0
      Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.topologymanager.TopologyManager tri ggerExportImportForRemoteSericeAdmin
      INFO: TopologyManager: triggerExportImportForRemoteSericeAdmin()
      Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.topologymanager.TopologyManagerImpo
      rt triggerExportImportForRemoteSericeAdmin
      SEVERE: NOT IMPLEMENTED !!!
      Dec 21, 2009 2:14:38 PM org.apache.cxf.dosgi.topologymanager.EndpointListenerImp
      l getRegistrationProperties
      INFO: EndpointListener: current filter: []

      Attachments

        Activity

          People

            Unassigned Unassigned
            bosschaert David Bosschaert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: