There's no method named setTargetServiceGlobal()
in HttpSoapConsumerEndpoint [1] (or its base class ConsumerEndpoint). So
this is causing the error. There is however a method
named setTargetService().

[1]
http://svn.apache.org/repos/asf/servicemix/components/trunk/bindings/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapConsumerEndpoint.java


On Tue, Dec 17, 2013 at 2:58 AM, arun kumar <[email protected]> wrote:

> Hi All,
>
> I am trying to deploy a consumer end point SU on HTTP binding component. I
> am getting the error:
>
> [Test1/data/jbi/
> aruntest.http.Consumer.endpoint.sa/sus/aruntest.http.consumer.endpoint/xbean.xml
> ]:
> Error setting property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'targetServiceGlobal' of bean class
> [org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint].
>
> Does any one know what might be the cause of this error?
> The complete stack trace is below.
> Service mix version is 4.5.3.
>
> Thank you,
> Arun
>
> 00,855 | ERROR | ESB/Test1/deploy | DefaultComponent                 | 195
> -
> servicemix-common - 2013.1.0 | Error creating bean with name
> 'org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint#0' defined
> in
> file
> [/home/ubuntu/ProductionEnvironment/MultiInstanceESB/Test1/data/jbi/
> aruntest.http.Consumer.endpoint.sa/sus/aruntest.http.consumer.endpoint/xbean.xml
> ]:
> Error setting property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'targetServiceGlobal' of bean class
> [org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint]: Bean
> property 'targetServiceGlobal' is not writable or has an invalid setter
> method. Does the parameter type of the setter match the return type of the
> getter?
> 02:17:00,857 | ERROR | ESB/Test1/deploy | ServiceAssemblyInstaller
> |
> 198 - org.apache.servicemix.jbi.deployer - 1.6.1 | Error deploying SU
> aruntest.http.consumer.endpoint
> javax.jbi.management.DeploymentException: <component-task-result
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-http</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>deploy</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Could not deploy
> xbean service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>Error creating bean
> with name
> 'org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint#0' defined
> in
> file
> [/home/ubuntu/ProductionEnvironment/MultiInstanceESB/Test1/data/jbi/
> aruntest.http.Consumer.endpoint.sa/sus/aruntest.http.consumer.endpoint/xbean.xml
> ]:
> Error setting property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'targetServiceGlobal' of bean class
> [org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint]: Bean
> property 'targetServiceGlobal' is not writable or has an invalid setter
> method. Does the parameter type of the setter match the return type of the
> getter?</loc-message>
>                                         <stack-trace></stack-trace>
>
> </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result>
>         at
>
> org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)[195:servicemix-common:2013.01.0]
>         at
>
> org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)[195:servicemix-common:2013.01.0]
>         at
>
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:116)[195:servicemix-common:2013.01.0]
>         at
>
> org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:86)[195:servicemix-common:2013.01.0]
>         at
>
> org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[195:servicemix-common:2013.01.0]
>         at
>
> org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[198:org.apache.servicemix.jbi.deployer:1.6.1]
>         at
>
> org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[198:org.apache.servicemix.jbi.deployer:1.6.1]
>         ... 13 more
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Error-deploying-SU-tp5718492.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Reply via email to