JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5862

SFTP-transport: upgrade Jsch dependency to jsch-0.1.45

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: To be reviewed To be reviewed
  • Resolution: Unresolved
  • Affects Version/s: 3.1.2, 3.2.0
  • Fix Version/s: None
  • Component/s: Transport: FTP / SFTP
  • Labels:
    None
  • User impact:
    Medium
  • Similar Issues:
    None

Description

jsch-0.1.45 has a substantial performance fix:

- change: increasing local window size for sftp get

as well as other fixes, see:
http://sourceforge.net/mailarchive/message.php?msg_id=28311193

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Dirk Olmes added a comment - 02/Nov/11 12:49 AM

Can you provide more feedback on this? Is this just a switch of dependency without any changes to the API required? Do all tests of the SFTP transport still run green with the upgraded dependency?

Show
Dirk Olmes added a comment - 02/Nov/11 12:49 AM Can you provide more feedback on this? Is this just a switch of dependency without any changes to the API required? Do all tests of the SFTP transport still run green with the upgraded dependency?
Hide
Permalink
Håkan Dahl added a comment - 30/May/12 06:50 AM

For mule-3.2.x a lot of tests are failing with:

java.lang.ClassCastException: org.mule.construct.Flow cannot be cast to org.mule.api.service.Service
	at org.mule.registry.MuleRegistryHelper.lookupService(MuleRegistryHelper.java:391)

which is now fixed in 3.3.x.

Results from running SFTP-transport tests with code from svn tag mule-3.3.0-RC1:

1. without any changes

Failed tests: 
  processFileOlderThanFileAge[0](org.mule.transport.sftp.SftpFileAgeFunctionalTestCase)
  processFileOlderThanFileAge[1](org.mule.transport.sftp.SftpFileAgeFunctionalTestCase)

Tests run: 87, Failures: 2, Errors: 0, Skipped: 3

2. with jsch 0.1.48 (latest release)
Same result as in 1) where jsch-0.1.44-1 is used.

Show
Håkan Dahl added a comment - 30/May/12 06:50 AM For mule-3.2.x a lot of tests are failing with:
java.lang.ClassCastException: org.mule.construct.Flow cannot be cast to org.mule.api.service.Service
	at org.mule.registry.MuleRegistryHelper.lookupService(MuleRegistryHelper.java:391)
which is now fixed in 3.3.x. Results from running SFTP-transport tests with code from svn tag mule-3.3.0-RC1: 1. without any changes
Failed tests: 
  processFileOlderThanFileAge[0](org.mule.transport.sftp.SftpFileAgeFunctionalTestCase)
  processFileOlderThanFileAge[1](org.mule.transport.sftp.SftpFileAgeFunctionalTestCase)

Tests run: 87, Failures: 2, Errors: 0, Skipped: 3
2. with jsch 0.1.48 (latest release) Same result as in 1) where jsch-0.1.44-1 is used.
Hide
Permalink
Håkan Dahl added a comment - 30/May/12 06:54 AM

Jsch-version in issue heading should be changed to jsch-0.1.48 instead of jsch-0.1.45.

Show
Håkan Dahl added a comment - 30/May/12 06:54 AM Jsch-version in issue heading should be changed to jsch-0.1.48 instead of jsch-0.1.45.
Hide
Permalink
Håkan Dahl added a comment - 31/May/12 09:25 AM

Also remove the (temporary) maven-repository from the SFTP-transport pom.xml, jsch-lib is now published to maven-central:

    <repositories>
        <repository>
            <name>jsch</name>
            <url>http://jsch.sourceforge.net/maven2/</url>
            <id>jsch</id>
        </repository>
    </repositories>
Show
Håkan Dahl added a comment - 31/May/12 09:25 AM Also remove the (temporary) maven-repository from the SFTP-transport pom.xml, jsch-lib is now published to maven-central:
    <repositories>
        <repository>
            <name>jsch</name>
            <url>http://jsch.sourceforge.net/maven2/</url>
            <id>jsch</id>
        </repository>
    </repositories>
Hide
Permalink
Håkan Dahl added a comment - 26/Sep/12 08:07 AM

Note problem introduced with jsch-0.1.48:
http://www.mail-archive.com/jsch-users@lists.sourceforge.net/msg01634.html

Show
Håkan Dahl added a comment - 26/Sep/12 08:07 AM Note problem introduced with jsch-0.1.48: http://www.mail-archive.com/jsch-users@lists.sourceforge.net/msg01634.html

People

  • Assignee:
    Unassigned
    Reporter:
    Håkan Dahl
Vote (0)
Watch (0)

Dates

  • Created:
    01/Nov/11 10:59 AM
    Updated:
    26/Sep/12 08:07 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.