Hi all, I'm developing a socket server/client application by JAVA for server and J2ME for client. Everything was ok when I tested the server in my windows XP. However, then, a serious problem occurred, when I deployed my socket server to server running Windows Server 2003. MY Windows server was lost network connection when my client tried to request a task that require server to send large data. The network connection on server was only saved if I unplugged network cable and plugged it again.
I searched solutions on the Internet and tried many ideas: - refined code: opened and closed connection carefully in the 'finally' block; assigned the order in opening and closing In-OutStream; increased buffer-size; increased java heap size; - reset & fixed Winsock of Server. - declare listening IP for server (Well, my Windows Server has 2 IP: one for Local and other for Internet)
But, unfortunately, everything do not change. My server still die if it must send a large number of data. Did anyone meet the problem like me? Or Do anyone have any idea for me?
Any help is appreciated.