It seems to me more than being caused by spring version, am not sure which
spring version are you used in your classpath..
AFAIK, cxf-2.0.3 shipped with spring 2.0.6..

Thanks
Jeff

On Dec 1, 2007 12:17 AM, mule1 <[EMAIL PROTECTED]> wrote:

>
> I am really stuck with this upgrade problem from 2.0.2 to 2.0.3 - Can
> someone
> provide input for this? I need to upgrade to 2.0.3 for some issues that
> are
> fixed in 2.0.3.
>
> thanks.
>
>
> mule1 wrote:
> >
> > even with just the following in cxf.xml, I get those errors.
> >
> > <code>
> > <beans xmlns="http://www.springframework.org/schema/beans";
> >       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >       xmlns:aop="http://www.springframework.org/schema/aop";
> >       xmlns:util="http://www.springframework.org/schema/util";
> >       xmlns:tx="http://www.springframework.org/schema/tx";
> >       xmlns:jaxws="http://cxf.apache.org/jaxws";
> >       xmlns:simple="http://cxf.apache.org/simple";
> >       xsi:schemaLocation="http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> >            http://www.springframework.org/schema/tx
> > http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
> >            http://www.springframework.org/schema/util
> > http://www.springframework.org/schema/util/spring-util-2.0.xsd
> >            http://www.springframework.org/schema/aop
> > http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
> >            http://cxf.apache.org/simple
> > http://cxf.apache.org/schemas/simple.xsd
> >              http://cxf.apache.org/jaxws
> > http://cxf.apache.org/schemas/jaxws.xsd";>
> >
> >       <import resource="classpath:META-INF/cxf/cxf.xml"/>
> >       <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
> >       <import resource="classpath:META-INF/cxf/cxf-extension-xml.xml"/>
> >       <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> >
> >
> >
> > </beans>
> > </code>
> >
> > If I remove all those imports, the application starts up, but then I
> don't
> > have the cxf beans loaded. I need some guidance what I am missing in my
> > upgrade from 2.0.2 to 2.0.3.
> >
> > mule1 wrote:
> >>
> >> Hello,
> >>
> >> I am using cxf.xml to configure all my beans and everything worked fine
> >> in 2.0.2. However, on upgrade to 2.0.3, while deploying the
> application,
> >> I get these errors:
> >>
> >> 2007-11-28 13:58:06,230 DEBUG [main]
> >> (AbstractApplicationContext.java:636) - Unable to locate MessageSource
> >> with name 'messageSource': using default
> >> [EMAIL PROTECTED]
> >> 2007-11-28 13:58:06,230 DEBUG [main]
> >> (AbstractApplicationContext.java:636) - Unable to locate MessageSource
> >> with name 'messageSource': using default
> >> [EMAIL PROTECTED]
> >> 2007-11-28 13:58:06,230 DEBUG [main]
> >> (AbstractApplicationContext.java:660) - Unable to locate
> >> ApplicationEventMulticaster with name 'applicationEventMulticaster':
> >> using default
> >> [
> [EMAIL PROTECTED]
> ]
> >> 2007-11-28 13:58:06,230 DEBUG [main]
> >> (AbstractApplicationContext.java:660) - Unable to locate
> >> ApplicationEventMulticaster with name 'applicationEventMulticaster':
> >> using default
> >> [
> [EMAIL PROTECTED]
> ]
> >> 2007-11-28 13:58:06,240  INFO [main]
> >> (AbstractApplicationContext.java:400) - Refreshing
> >> [EMAIL PROTECTED]: display name
> >> [EMAIL PROTECTED]; startup date
> >> [Wed Nov 28 13:58:06 EST 2007]; root of context hierarchy
> >> 2007-11-28 13:58:06,240  INFO [main]
> >> (AbstractApplicationContext.java:400) - Refreshing
> >> [EMAIL PROTECTED]: display name
> >> [EMAIL PROTECTED]; startup date
> >> [Wed Nov 28 13:58:06 EST 2007]; root of context hierarchy
> >> ............
> >> Nov 28, 2007 1:49:31 PM
> >> org.apache.cxf.configuration.spring.ConfigurerImpl <init
> >>>
> >> WARNING: Failed to create application context.
> >> org.springframework.beans.factory.BeanDefinitionStoreException:
> >> Unexpected excep
> >> tion parsing XML document from class path resource [cxf.xml]; nested
> >> exception is java.lang.StackOverflowError
> >>         at
> >>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions
> (XmlBeanDefinitionReader.java:385)
> >>         at
> >>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
> (XmlBeanDefinitionReader.java:313)
> >>         at
> >>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
> (XmlBeanDefinitionReader.java:290)
> >>         at
> >>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
> (AbstractBeanDefinitionReader.java:142)
> >>         at
> >>
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions
> (AbstractXmlApplicationContext.java:108)
> >>
> >>
> >> Has anyone seen this problem?
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/error-upgrading-to-2.0.3-with-cxf.xml-tf4891749.html#a14077901
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>


-- 
Thanks
Jeff

Reply via email to