Netra j - Release 2.0 Product Notes

Using Java Webserver with a Netra j Server

If you intend to use Java Web Server 1.1 as your default web server, it may not successfully establish itself as the default web server on port 80 when you boot the Netra j server. Instead, the Sun WebServer (bundled with the Netra j 2.0 software) substitutes itself as the primary web server running on port 80. As a workaround, you must add sleep 5 to the script /etc/rc3.d/S95http.


case "$1" in
'start')
	sleep 5 
	if netstat -na [boxv  ] grep LISTEN [boxv  ] grep -w 80 >/dev/null
	then
			echo "$SCRIPT_NAME: httpd not started, port in use"
			exit 
...
....
....

This adjustment provides an adequate interval for the Java WebServer to initialize itself during bootup and prevents Sun WebServer from monopolizing port 80.