|
From: <php...@li...> - 2007-09-10 17:31:12
|
Hi, according to http://msdn2.microsoft.com/en-us/library/ms740668.aspx the winsock error #10054 means: Connection reset by peer. An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET. Isn't it possible to shut down the back end? How do you stop tomcat? However, this is not a problem with the PHP/Java Bridge. The bridge uses pfsockopen() to create a persistent connection to the back end. PHP can and should detect if the back end has been restarted or not. Regards, Jost Boekemeier Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set |