Bramha,
What version of ServiceMix are you using? Also: make sure that the
version of the JBI components you deploy is the same as the version of
ServiceMix. This, to me, appears as if you have installed a 3.2 JBI
component in the 3.1 container or something similar...
You can also get the same problem if you upgrade some JARs in ServiceMix
by simply replacing them instead of by installing a entirely new version
of ServiceMix.
Gert
[EMAIL PROTECTED] wrote:
Gert,
From your guidance I build it,
But now I am facing an error.
*Error:*
* *
*19:32:49,357 ERROR [STDERR] Exception in thread
"pool-component.servicemix-ftp-thread-15"*
*19:32:49,357 ERROR [STDERR] java.lang.NoSuchMethodError:
org.apache.servicemix.locks.LockManager.getLock(Ljava/lang/String;)
Ljava/util/concurrent/locks/Lock;*
*19:32:49,357 ERROR [STDERR] at
org.apache.servicemix.ftp.FtpPollerEndpoint$1.run(FtpPollerEndpoint.java:242)*
*19:32:49,372 ERROR [STDERR] at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)*
*19:32:49,372 ERROR [STDERR] at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)*
*19:32:49,372 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)*
*19:32:52,419 ERROR [STDERR] Exception in thread
"pool-component.servicemix-ftp-thread-17"*
* *
Please help me.
Thanks&Regards
Brahma Naidu
-----Original Message-----
From: Gert Vanthienen [mailto:[EMAIL PROTECTED]
Sent: Friday, June 15, 2007 7:24 PM
To: [email protected]
Cc: Aelem, Bramha Naidu (Cognizant)
Subject: Re: Reg:ServiceMix-FTP
Bramha,
To do this, you create a SA, with two SU:
- one servicemix-ftp SU, with a poller
- one servicemix-file SU, with a sender
Very similar to the earlier example I sent you, just replace the target
JBI components on the SUs and provide the correct xbean.xml
configurations.
Gert
[EMAIL PROTECTED] wrote:
>
> Gert,
>
>
>
> I want to poll a file from server to my local folder with
> servicemix-ftp. Could you please guide to me how to proceed.
>
>
>
> Thanks&Regards
>
> Brahma Naidu
>
> This e-mail and any files transmitted with it are for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by
> reply e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on
> this e-mail is strictly
> prohibited and may be unlawful.
>
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
prohibited and may be unlawful.