You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/04/15 03:38:45 UTC

[jira] Updated: (SMX4-517) create a OSGi bundle for jsch 0.1.42

     [ https://issues.apache.org/activemq/browse/SMX4-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated SMX4-517:
------------------------------

    Attachment:     (was: SMX4-517.patch)

> create a OSGi  bundle for jsch 0.1.42
> -------------------------------------
>
>                 Key: SMX4-517
>                 URL: https://issues.apache.org/activemq/browse/SMX4-517
>             Project: ServiceMix 4
>          Issue Type: Task
>          Components: Bundles
>            Reporter: Willem Jiang
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0
>
>
> camel-ftp is using jsch 0.1.40 for a while, and servicemix only provides wrap bundle of jsch 0.1.31.
> You can find the error like this if you are using camel-2.2.0 within servicemix.
> {code}
> the error:
> Caused by: java.lang.NoSuchMethodError:
> com.jcraft.jsch.Session.setConfig(Ljava/lang/String;Ljava/lang/String;)V
> 	at
> org.apache.camel.component.file.remote.SftpOperations.createSession(SftpOperations.java:138)
> 	at
> org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:82)
> 	at
> org.apache.camel.component.file.remote.RemoteFileProducer.connectIfNecessary(RemoteFileProducer.java:171)
> 	at
> org.apache.camel.component.file.remote.RemoteFileProducer.preWriteCheck(RemoteFileProducer.java:100)
> 	at
> org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:75)
> 	at
> org.apache.camel.component.file.remote.RemoteFileProducer.process(RemoteFileProducer.java:50)
> 	at
> org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:97)
> 	at
> org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:95)
> 	at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:146)
> 	at
> org.apache.camel.processor.SendProcessor.doProcess(SendProcessor.java:94)
> 	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:82)
> 	at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:67)
> 	at
> org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:53)
> 	at
> org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:82)
> 	at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:93)
> 	at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:67)
> 	at
> org.apache.camel.processor.RedeliveryErrorHandler.processExchange(RedeliveryErrorHandler.java:177)
> 	at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:143)
> 	... 20 more
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira