2 Replies Latest reply on Mar 10, 2011 1:48 AM by Prasad Birje

    Issues configuring transaction for CXF web service

    Prasad Birje Newbie

      Hi,

       

      I am in the process of configuring transaction for one of the web services written using CXF SE. My xbean.xml file looks as below.

       

      <![CDATA[org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file ; nested exception is org.springframework.beans.FatalBeanException: Class for namespace http://www.springframework.org/schema/tx does not implement the interface

           at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)

           at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)

           at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)

           at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)

           at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)

           at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)

           at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)

           at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:126)

           at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)

           at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)

           at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)

           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)

           at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:88)

           at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)

           at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)

           at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)

           at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)

           at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)

           at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:334)

           at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:264)

           at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919)

           at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)

           at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)

           at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1349)

           at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)

           at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:380)

           at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)

           at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:276)

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1133)

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1119)

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1112)

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:430)

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:238)

       

      Any idea what is could be causing this error?

       

      Regards,

      Prasad