commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis <jnun...@compuarte.com.mx>
Subject RE: vfs sftp fails restablishing the connection after sftp server restart service
Date Tue, 31 Oct 2006 16:03:00 GMT
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:mario@ops.co.at] 
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message