camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yalim Aytul (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5970) Upon connection cd fails
Date Tue, 15 Jan 2013 05:40:12 GMT

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

Yalim Aytul updated CAMEL-5970:
-------------------------------

    Description: 
cd fails on successful connection with 2.10.3 or 2.9.5

sftp endpoint [sftp://sftp-user@127.0.0.1/incoming?disconnect=true&privateKeyFile=sftp-user.ppk&privateKeyFilePassphrase=******]
 
Below log excerpt is with 2.8.0, cd works and sftp cd command successfully goes into '/home/sftp-user'
directory

{quote} 
20130114 18:42:52,956 INFO  [Camel (camel-1) thread #0 - sftp://user@host/outgoing] RemoteFileConsumer[133]:
Connected and logged in to: sftp://user@host:22
20130114 18:42:52,956 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[339]:
getCurrentDirectory()
20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[68]:
doPollDirectory from absolutePath: outgoing, dirName: null
20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[348]:
changeCurrentDirectory(outgoing)
20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: outgoing
20130114 18:42:52,966 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[81]:
Polling directory: outgoing
20130114 18:42:52,966 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[415]:
listFiles(.)
20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[94]:
Found 2 in directory: outgoing
20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[348]:
changeCurrentDirectory(/home/sftp-user)
20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: /
20130114 18:42:52,988 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: home
20130114 18:42:52,994 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: sftp-user
20130114 18:42:53,000 DEBUG [Camel (camel-1) thread #0 - sftp://user@host/outgoing] GenericFileConsumer[84]:
Took 0.044 seconds to poll: outgoing
{quote}

Same route fails with 2.95. or 2.10.3 cd command fails.

{quote}
20130114 19:15:53,530 INFO  [Camel (camel-1) thread #0 - file://../test_outbound/] RemoteFileProducer[193]:
Connected and logged in to: Endpoint[sftp://user@host/incoming?disconnect=true&knownHostsFile=env%2FunitTest%2Fknown_hosts&privateKeyFile=env%2FunitTest%2Fkeys%2Fsftp-user.ppk&privateKeyFilePassphrase=******&separator=Auto]
20130114 19:15:53,530 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[305]:
buildDirectory(incoming,false)
20130114 19:15:53,530 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[372]:
getCurrentDirectory()
20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[381]:
changeCurrentDirectory(/home/sftp-user)
20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[372]:
getCurrentDirectory()
20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[430]:
Changing directory: \
20130114 19:15:53,749 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[430]:
Changing directory: home
20130114 19:15:53,796 WARN  [Camel (camel-1) thread #0 - file://../test_outbound/] RemoteFileProducer[71]:
Writing file failed with: Cannot change directory to: home
{quote}

  was:
cd fails on successful connection with 2.10.3 or 2.9.5

Below log excerpt is with 2.8.0, cd works and sftp cd command successfully goes into '/home/sftp-user'
directory
 
20130114 18:42:52,956 INFO  [Camel (camel-1) thread #0 - sftp://user@host/outgoing] RemoteFileConsumer[133]:
Connected and logged in to: sftp://user@host:22
20130114 18:42:52,956 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[339]:
getCurrentDirectory()
20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[68]:
doPollDirectory from absolutePath: outgoing, dirName: null
20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[348]:
changeCurrentDirectory(outgoing)
20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: outgoing
20130114 18:42:52,966 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[81]:
Polling directory: outgoing
20130114 18:42:52,966 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[415]:
listFiles(.)
20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[94]:
Found 2 in directory: outgoing
20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[348]:
changeCurrentDirectory(/home/sftp-user)
20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: /
20130114 18:42:52,988 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: home
20130114 18:42:52,994 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: sftp-user
20130114 18:42:53,000 DEBUG [Camel (camel-1) thread #0 - sftp://user@host/outgoing] GenericFileConsumer[84]:
Took 0.044 seconds to poll: outgoing


Same route fails with 2.95. or 2.10.3 cd command fails.

20130114 19:15:53,530 INFO  [Camel (camel-1) thread #0 - file://../test_outbound/] RemoteFileProducer[193]:
Connected and logged in to: Endpoint[sftp://user@host/incoming?disconnect=true&knownHostsFile=env%2FunitTest%2Fknown_hosts&privateKeyFile=env%2FunitTest%2Fkeys%2Fsftp-user.ppk&privateKeyFilePassphrase=******&separator=Auto]
20130114 19:15:53,530 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[305]:
buildDirectory(incoming,false)
20130114 19:15:53,530 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[372]:
getCurrentDirectory()
20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[381]:
changeCurrentDirectory(/home/sftp-user)
20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[372]:
getCurrentDirectory()
20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[430]:
Changing directory: \
20130114 19:15:53,749 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[430]:
Changing directory: home
20130114 19:15:53,796 WARN  [Camel (camel-1) thread #0 - file://../test_outbound/] RemoteFileProducer[71]:
Writing file failed with: Cannot change directory to: home

    
> Upon connection cd fails
> ------------------------
>
>                 Key: CAMEL-5970
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5970
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.9.5, 2.10.3
>            Reporter: Yalim Aytul
>
> cd fails on successful connection with 2.10.3 or 2.9.5
> sftp endpoint [sftp://sftp-user@127.0.0.1/incoming?disconnect=true&privateKeyFile=sftp-user.ppk&privateKeyFilePassphrase=******]
>  
> Below log excerpt is with 2.8.0, cd works and sftp cd command successfully goes into
'/home/sftp-user' directory
> {quote} 
> 20130114 18:42:52,956 INFO  [Camel (camel-1) thread #0 - sftp://user@host/outgoing] RemoteFileConsumer[133]:
Connected and logged in to: sftp://user@host:22
> 20130114 18:42:52,956 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[339]:
getCurrentDirectory()
> 20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[68]:
doPollDirectory from absolutePath: outgoing, dirName: null
> 20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[348]:
changeCurrentDirectory(outgoing)
> 20130114 18:42:52,959 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: outgoing
> 20130114 18:42:52,966 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[81]:
Polling directory: outgoing
> 20130114 18:42:52,966 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[415]:
listFiles(.)
> 20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpConsumer[94]:
Found 2 in directory: outgoing
> 20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[348]:
changeCurrentDirectory(/home/sftp-user)
> 20130114 18:42:52,982 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: /
> 20130114 18:42:52,988 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: home
> 20130114 18:42:52,994 TRACE [Camel (camel-1) thread #0 - sftp://user@host/outgoing] SftpOperations[389]:
Changing directory: sftp-user
> 20130114 18:42:53,000 DEBUG [Camel (camel-1) thread #0 - sftp://user@host/outgoing] GenericFileConsumer[84]:
Took 0.044 seconds to poll: outgoing
> {quote}
> Same route fails with 2.95. or 2.10.3 cd command fails.
> {quote}
> 20130114 19:15:53,530 INFO  [Camel (camel-1) thread #0 - file://../test_outbound/] RemoteFileProducer[193]:
Connected and logged in to: Endpoint[sftp://user@host/incoming?disconnect=true&knownHostsFile=env%2FunitTest%2Fknown_hosts&privateKeyFile=env%2FunitTest%2Fkeys%2Fsftp-user.ppk&privateKeyFilePassphrase=******&separator=Auto]
> 20130114 19:15:53,530 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[305]:
buildDirectory(incoming,false)
> 20130114 19:15:53,530 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[372]:
getCurrentDirectory()
> 20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[381]:
changeCurrentDirectory(/home/sftp-user)
> 20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[372]:
getCurrentDirectory()
> 20130114 19:15:53,670 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[430]:
Changing directory: \
> 20130114 19:15:53,749 TRACE [Camel (camel-1) thread #0 - file://../test_outbound/] SftpOperations[430]:
Changing directory: home
> 20130114 19:15:53,796 WARN  [Camel (camel-1) thread #0 - file://../test_outbound/] RemoteFileProducer[71]:
Writing file failed with: Cannot change directory to: home
> {quote}

--
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

Mime
View raw message