cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wim Verreycken (JIRA)" <>
Subject [jira] Commented: (CXF-1390) Upgrade to Spring 2.5
Date Tue, 06 May 2008 08:45:56 GMT


Wim Verreycken commented on CXF-1390:


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" >
                       from Element o where 
o.elementRoot.underlyingInstrument.symbol = :symbol
                        and o.status = :status

also modify FIND_SYMB_HQL to be :

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

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.

I want to try this because of this :

>Could not convert constructor argument value of
>type [java.lang.String] to required type [java.lang.StringBuffer]


> Upgrade to Spring 2.5
> ---------------------
>                 Key: CXF-1390
>                 URL:
>             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.

View raw message