Summary
Error
Cause
Problem with port 80 points to a problem with the webserver
root cause of the problem is Tomcat taking too long to start what makes webserverguard to restart the web server every few minutes
2014-05-30 11:33:03,144 [Thread-26] (HttpRequest.java:146) ERROR - Bad response from server java.net.SocketException: Connection reset
2014-05-30 11:38:28,237 [main] (WS_Guard.java:239) INFO - WebServer is going to be restarted
2014-05-30 11:38:28,237 [main] (WS_Guard.java:148) INFO - About to execute command: G:\HPBAC/WebServer/bin/Apache2Restart.bat
2014-05-30 11:38:28,253 [main] (WS_Guard.java:155) INFO - Output:
2014-05-30 11:38:28,253 [main] (WS_Guard.java:155) INFO - Output: G:\HPBAC\JRE\bin>G:\HPBAC\WebServer\bin\httpd.exe -k restart
2014-05-30 11:38:29,394 [main] (WS_Guard.java:163) INFO - reset process exited with code(0)
2014-05-30 11:43:59,394 [main] (WS_Guard.java:239) INFO - WebServer is going to be restarted
Fix
-
open the file <BAC>\conf\supervisor\nanny\webserverGuard.nanny and change the line "enable=1" to "enable=0". This will prevent webserverGuard service to start when the Gateway is restarted.
-
stop BAC Gateway
-
restart the web server
-
restart BAC Gateway