Blank page instead login page when accessing BAC

  • KM00994779
  • 11-Jun-2014
  • 11-Jun-2014

Summary

BAC is inaccessible, throwing a blank page instead the usual login page.

Error

BAC is returning a blank page when trying to access it through URL that uses port 80: http://<Gateway>/topaz. BAC is accessible via port 8080 when using URL http://<Gateway>:8080/topaz

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

On the Gateway server:
  1. 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. 
  2. stop BAC Gateway
  3. restart the web server
  4. restart BAC Gateway