You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "akhiljohnjacob@gmail.com (JIRA)" <ji...@apache.org> on 2013/01/24 16:33:15 UTC
[jira] [Commented] (SM-1425) Property 'property' not found when
xmlns="http://www.springframework.org/schema/beans" is defined
[ https://issues.apache.org/jira/browse/SM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561687#comment-13561687 ]
akhiljohnjacob@gmail.com commented on SM-1425:
----------------------------------------------
It doesnt solve the issue dude.
I am working on a code setup that needs SM 3.1.2. So I cannot just upgarde to SM 4 which fixed this bug.
I have been running aroung the www for 3 weeks now and havent found anything that can help me. I feel like there s nothing that can be done to resolve this issue.
This is how I am using the xbeans.xml file
<beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:order="urn:my:ns:order">
I am not using the namespace xmlns="http://www.springframework.org/schema/beans"
in the bean definition, but still the exception comes up while deploying in jboss server.
<quote author='JIRA jira@apache.org'>
[
https://issues.apache.org/activemq/browse/SM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43722#action_43722
]
Gert Vanthienen commented on SM-1425:
-------------------------------------
A workaround is removing the
{{xmlns="http://www.springframework.org/schema/beans"}}. Without it, things
start working as expected again.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
</quote>
Quoted from:
http://servicemix.396122.n5.nabble.com/jira-Created-SM-1425-Property-property-not-found-when-xmlns-http-www-springframework-org-schema-beand-tp433887p433890.html
> Property 'property' not found when xmlns="http://www.springframework.org/schema/beans" is defined
> -------------------------------------------------------------------------------------------------
>
> Key: SM-1425
> URL: https://issues.apache.org/jira/browse/SM-1425
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-core
> Affects Versions: 3.2.1
> Reporter: Gert Vanthienen
> Assignee: Guillaume Nodet
> Fix For: 3.2.2, 3.3
>
>
> With this xbean.xml file...
> {code:xml}
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:sm="http://servicemix.apache.org/config/1.0"
> xmlns:order="urn:my:ns:order"
> xmlns="http://www.springframework.org/schema/beans">
>
> <ftp:poller service="order:partner1" endpoint="ftp" ... >
> <property name="marshaler">
> <sm:defaultFileMarshaler encoding="ISO-8859-1"/>
> </property>
> </ftp:poller>
> </beans>
> {code}
> ... you get this exception
> {noformat}
> org.springframework.beans.NotWritablePropertyException: Invalid property 'property' of bean class [org.apache.servicemix.ftp.FtpPollerEndpoint]: Bean property 'property' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter
> {noformat}
> Apparently, it is looking for a property named 'property' on the FtpPollerEndpoint instead of setting the 'marshaler' property as you would expect.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira