[ 
https://issues.apache.org/jira/browse/CXF-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594523#action_12594523
 ] 

Wim Verreycken commented on CXF-1390:
-------------------------------------

Hi Satish,

During the update of spring and cxf, did you also update java from 1.4.x (or
another version) to java 6 (1.6.x)? What java version are you using pls?

Also, (as a test), could you tell me the result of adding this to the spring
config (or something similar for the first bean you get the error for) :


<bean id="FIND_SYMB_HQL_SB" class="java.lang.StringBuffer" >
            <constructor-arg>
                <value>
                    <![CDATA[
                       from Element o where 
o.elementRoot.underlyingInstrument.symbol = :symbol
                        and o.status = :status
                    ]]>
                </value>
            </constructor-arg>
        </bean>

also modify FIND_SYMB_HQL to be :

<bean id="FIND_SYMB_HQL" class="java.lang.String" >
            <constructor-arg>
                <ref bean="FIND_SYMB_HQL_SB"/>
            </constructor-arg>
        </bean>


If you could give me the stacktrace of this of before AND after, this will
hopefully leave me with a bit more info of the level this is giving problems
at. 

I hope you agree that, technically, this should work. A string can be
created from a StringBuffer in java 1.4.2 to current and vice versa.




Wim


-----Original Message-----
From: Satish Kumar Kommuri (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 15 april 2008 16:01
To: [EMAIL PROTECTED]
Subject: [jira] Commented: (CXF-1390) Upgrade to Spring 2.5


    [
https://issues.apache.org/jira/browse/CXF-1390?page=com.atlassian.jira.plugi
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589086#action_12
589086 ] 

Satish Kumar Kommuri commented on CXF-1390:
-------------------------------------------

Hi Wim,

I think this is related to Spring 2.5 only since the same is working fine
with Spring 2.0.4.

Here is the stack trace:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'FIND_SYMB_HQL' defined in URL
[jar:file:/D:/tools/jboss%204.0.5/server/darkhorse/./tmp/deploy/tmp21988APP-
Batch-exp.war/WEB-INF/lib/sm-app-5.0-SNAPSHOT.jar!/context/context_query.xml
]: Unsatisfied dependency expressed through constructor argument with index
1 of type [int]: Ambiguous constructor argument types - did you specify the
correct bean references as constructor arguments?

            at
org.springframework.beans.factory.support.ConstructorResolver.createArgument
Array(ConstructorResolver.java:556)

            at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstr
uctor(ConstructorResolver.java:190)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.autowireConstructor(AbstractAutowireCapableBeanFactory.java:923)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBeanInstance(AbstractAutowireCapableBeanFactory.java:833)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:264)

            at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:217)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:261)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:185)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolver.java:269)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:104)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:264)

            at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:217)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:261)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:185)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolver.java:269)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:104)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eInnerBean(BeanDefinitionValueResolver.java:219)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:117)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eInnerBean(BeanDefinitionValueResolver.java:219)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:117)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eManagedList(BeanDefinitionValueResolver.java:287)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:126)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:283)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:185)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)

            at
com.om.dh.batch.core.EnhancedSchedulerFactoryBean.discoverJobs(EnhancedSched
ulerFactoryBean.java:53)

            at
com.om.dh.batch.core.EnhancedSchedulerFactoryBean.afterPropertiesSet(Enhance
dSchedulerFactoryBean.java:37)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:264)

            at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:217)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:261)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:185)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolver.java:269)

            at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:104)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:264)

            at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:217)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:261)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:185)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)

            at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst
antiateSingletons(DefaultListableBeanFactory.java:429)

            at
org.springframework.context.support.AbstractApplicationContext.finishBeanFac
toryInitialization(AbstractApplicationContext.java:729)

            at
org.springframework.context.support.AbstractApplicationContext.refresh(Abstr
actApplicationContext.java:381)

            at
org.springframework.web.context.ContextLoader.createWebApplicationContext(Co
ntextLoader.java:255)

            at
org.springframework.web.context.ContextLoader.initWebApplicationContext(Cont
extLoader.java:199)

            at
org.springframework.web.context.ContextLoaderListener.contextInitialized(Con
textLoaderListener.java:45)

            at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3763)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)

            at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
59)

            at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

            at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

            at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

            at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer
.java:297)

            at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:10
3)

            at
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)

            at org.jboss.web.WebModule.startModule(WebModule.java:83)

            at org.jboss.web.WebModule.startService(WebModule.java:61)

            at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.
java:289)

            at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupp
ort.java:245)

            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
a:978)

            at $Proxy0.start(Unknown Source)

            at
org.jboss.system.ServiceController.start(ServiceController.java:417)

            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

            at $Proxy38.start(Unknown Source)

            at
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java
:133)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpe
rationInterceptor.java:142)

            at
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9
7)

            at
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServic
eMBeanSupport.java:238)

            at
org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor
.java:92)

            at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(S
ubDeployerInterceptorSupport.java:188)

            at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.ja
va:95)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

            at $Proxy39.start(Unknown Source)

            at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

            at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

            at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

            at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java
:133)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpe
rationInterceptor.java:142)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

            at $Proxy9.deploy(Unknown Source)

            at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:421)

            at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:634)

            at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:263)

            at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abstract
DeploymentScanner.java:336)

            at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.
java:289)

            at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupp
ort.java:245)

            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
a:978)

            at $Proxy0.start(Unknown Source)

            at
org.jboss.system.ServiceController.start(ServiceController.java:417)

            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

            at $Proxy4.start(Unknown Source)

            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)

            at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

            at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

            at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

            at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
:155)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

            at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java
:133)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpe
rationInterceptor.java:142)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26
4)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

            at $Proxy5.deploy(Unknown Source)

            at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

            at org.jboss.Main.boot(Main.java:200)

            at org.jboss.Main$1.run(Main.java:490)

            at java.lang.Thread.run(Thread.java:595)


cxf-spring-error_stacktrace.rtf
creating bean with name 'jrulesService': Unsatisfied dependency expressed
through constructor argument with index 2 of type
[org.apache.cxf.jaxws.JaxWsServerFactoryBean]: Ambiguous constructor
argument types - did you specify the correct bean references as constructor
arguments?

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




> Upgrade to Spring 2.5
> ---------------------
>
>                 Key: CXF-1390
>                 URL: https://issues.apache.org/jira/browse/CXF-1390
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.3
>            Reporter: Dan Diephouse
>         Attachments: cxf-spring-demo.war, cxf-spring-error.war, 
> cxf-spring-error_stacktrace.rtf
>
>
> CXF doesn't work correctly on Spring 2.5. For instance, you get this:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'jrulesService': Unsatisfied dependency expressed 
> through constructor argument with index 2 of type 
> [org.apache.cxf.jaxws.JaxWsServerFactoryBean]: Ambiguous constructor argument 
> types - did you specify the correct bean references as constructor arguments?
> (What ever happened to the famed backward compatability!? :-) *sigh*) 

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

Reply via email to