Thanks a lot, the problem was that my try sequence was wrong

I had

try{    ...
        } catch (FileSystemException e){
        ...
        } catch (IOException e) {
        ...
        }

When the system lose sftp connection first catch the FileSystemException but
the critical exception really was IOException, everything works fine after
reorder the sequence

try{    ...
        } catch (IOException e) {
        ...
        } catch (FileSystemException e){
        ...
        }


-----Mensaje original-----
De: Mario Ivankovits [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 31 de Octubre de 2006 01:52 a.m.
Para: Jakarta Commons Users List
Asunto: Re: vfs sftp fails restablishing the connection after sftp server
restart service


Hi José!
> If instead of sftp we did the same process with ftp, vfs restablish 
> the connection succesfuly
>   
Hmmm .... looks like there is no reestablishing connection stuff in sftp
- or its broken.
Please open a jira ticket at http://issues.apache.org/jira, I'll have a look
at it then, though, might take some time as I am on vacation for the next
couple of days :-)

Thanks!
Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to