今天我遇到了一个问题就是在Weblogic中,我的action会莫名其妙的执行两次,抛出的Exception 是socket write error,
在BEA的论坛上找到这样一段话:
Sometimes, this problem is caused by not properly closing the input/output streams and the socket connection. Make sure you close the input/output streams and socket connection properly. If everything is closed properly, however, and the problem persists, you can work around it by adding Thread.sleep(1000) before closing the streams and the socket.
but in my programme,I have no operation about the input/output streams, so ,I think this is not the problem's reason , I'm looking for the reason continue
in the afternoon , the BEA engineer told me that if I want avoid this Exception , I should Change the Weblogic POST TIMEOUT = -1 and POST SIZE =-1, configuration the server-->Protocol-->Http--> post time out , but i change it failured