[jira] Commented: (FTPSERVER-262) FileSystemView.dispose() is never called

2009-01-14 Thread Daniel Santos (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12663658#action_12663658
 ] 

Daniel Santos commented on FTPSERVER-262:
-

rev 734250 fix my issue.

thx

 FileSystemView.dispose() is never called
 

 Key: FTPSERVER-262
 URL: https://issues.apache.org/jira/browse/FTPSERVER-262
 Project: FtpServer
  Issue Type: Bug
  Components: Ftplets
Affects Versions: 1.0.0-M4
Reporter: Daniel Santos
Assignee: Niklas Gustavsson
 Fix For: 1.0.0-RC2


 The FileSystemView.dispose() function is never called.
 This method seems interesting to release critical resources such as JDBC 
 connections, email sessions, etc.
 I think it is a good idea to call it when FtpSession closes (on 
 DefaultFtpHandler.sessionClosed()) and maybe when user login again (because 
 FileSystemView is related to an user).
 thx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FTPSERVER-262) FileSystemView.dispose() is never called

2009-01-13 Thread Niklas Therning (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12663265#action_12663265
 ] 

Niklas Therning commented on FTPSERVER-262:
---

I can confirm that this bug exists also in the 1.0.0-RC1 code currently being 
in vote. Maybe a fix is needed before RC1 is released?

 FileSystemView.dispose() is never called
 

 Key: FTPSERVER-262
 URL: https://issues.apache.org/jira/browse/FTPSERVER-262
 Project: FtpServer
  Issue Type: Bug
  Components: Ftplets
Affects Versions: 1.0.0-M4
Reporter: Daniel Santos

 The FileSystemView.dispose() function is never called.
 This method seems interesting to release critical resources such as JDBC 
 connections, email sessions, etc.
 I think it is a good idea to call it when FtpSession closes (on 
 DefaultFtpHandler.sessionClosed()) and maybe when user login again (because 
 FileSystemView is related to an user).
 thx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FTPSERVER-262) FileSystemView.dispose() is never called

2009-01-13 Thread David Latorre (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12663305#action_12663305
 ] 

David Latorre commented on FTPSERVER-262:
-

 We should take into account that (I guess!) it is possible that the  session 
be closed before the DataConnection ( so we can have a thread still writing to 
the filesystem).

 FileSystemView.dispose() is never called
 

 Key: FTPSERVER-262
 URL: https://issues.apache.org/jira/browse/FTPSERVER-262
 Project: FtpServer
  Issue Type: Bug
  Components: Ftplets
Affects Versions: 1.0.0-M4
Reporter: Daniel Santos

 The FileSystemView.dispose() function is never called.
 This method seems interesting to release critical resources such as JDBC 
 connections, email sessions, etc.
 I think it is a good idea to call it when FtpSession closes (on 
 DefaultFtpHandler.sessionClosed()) and maybe when user login again (because 
 FileSystemView is related to an user).
 thx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FTPSERVER-262) FileSystemView.dispose() is never called

2009-01-13 Thread Niklas Gustavsson (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12663304#action_12663304
 ] 

Niklas Gustavsson commented on FTPSERVER-262:
-

I think we should release RC1 as it is. But, maybe we should do a RC2 with this 
and FTPSERVER-119 fixed?

 FileSystemView.dispose() is never called
 

 Key: FTPSERVER-262
 URL: https://issues.apache.org/jira/browse/FTPSERVER-262
 Project: FtpServer
  Issue Type: Bug
  Components: Ftplets
Affects Versions: 1.0.0-M4
Reporter: Daniel Santos

 The FileSystemView.dispose() function is never called.
 This method seems interesting to release critical resources such as JDBC 
 connections, email sessions, etc.
 I think it is a good idea to call it when FtpSession closes (on 
 DefaultFtpHandler.sessionClosed()) and maybe when user login again (because 
 FileSystemView is related to an user).
 thx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FTPSERVER-262) FileSystemView.dispose() is never called

2009-01-13 Thread Niklas Gustavsson (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12663477#action_12663477
 ] 

Niklas Gustavsson commented on FTPSERVER-262:
-

  We should take into account that (I guess!) it is possible that the session 
 be closed before the DataConnection ( so we can have a thread still writing 
 to the filesystem). 

That's a good point, but I think we should view it from the other side. Either 
we should not close the session before the data transfer is complete, or we 
should close the data transfer when the session closes. Keeping ongoing data 
transfers going without the session will lead to troubles. This is something we 
should have a look at, but I don't think it affects this issue.

 FileSystemView.dispose() is never called
 

 Key: FTPSERVER-262
 URL: https://issues.apache.org/jira/browse/FTPSERVER-262
 Project: FtpServer
  Issue Type: Bug
  Components: Ftplets
Affects Versions: 1.0.0-M4
Reporter: Daniel Santos
Assignee: Niklas Gustavsson
 Fix For: 1.0.0-RC2


 The FileSystemView.dispose() function is never called.
 This method seems interesting to release critical resources such as JDBC 
 connections, email sessions, etc.
 I think it is a good idea to call it when FtpSession closes (on 
 DefaultFtpHandler.sessionClosed()) and maybe when user login again (because 
 FileSystemView is related to an user).
 thx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.