J2SE Version (please include all output from java -version flag): Java 1.5.0_03 Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one) Works fine with 1.4 and IPv4 Operating System Configuration Information (be specific): Windows 2003 without a SP Mail Server is Exchange 5.5 with IPv4 Bug Description: Each connect to an IMAP-Account opens a new ServerSocket. After some time there are no free socket ports and get an exeptions like: javax.mail.MessagingException: Address already in use: JVM_Bind; nested exception is: java.net.BindException: Address already in use: JVM_Bind at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:441) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) Steps to Reproduce (be specific): run attached IMAP_Socket_Test program 2-3 minutes until the exceptions occur. In this time you can see with "netstat -na" on an other console the increasing number of ServerSockets. To run the test "IMAP_Socket_Test" you need to edit the file IMAP_Socket_Test.bat. You need to fill in the host, accont and password of an existing IMAP-Account. ###@###.### 2005-06-15 19:08:29 GMT
|