Zat Home
Support | Bug Report

568

Spin hangs when starting server on port that netscape already has open and waiting

Start Spin when the debug server is disabled.
Open exampleProject.zap and (from there) droplistExample.zac
Open netscape and point it to locahost
While netscape is trying to contact the web server,
open the preferences dialog on Spin and enable
the web server.

When I did this, I got the error message:
Failed to start web server: port 80 is in use
and Spin crashed

I tried it again, this time without opening any capsule,
and Spin didn't crash, but the console showed:

Server started, listening on port 9092, display level: 0 ...
>Web server unexpectedly halted due to: null java.lang.NullPointerException
at zat.servlet.debug.SpinServer.setRequestCookies(SpinServer.java)
at zat.servlet.debug.BasicServer.handleConnection(BasicServer.java)
at zat.servlet.debug.BasicServer.goGoGoServer(BasicServer.java)
at zat.servlet.debug.BasicServer.access$0(BasicServer.java)
at zat.servlet.debug.BasicServer$1.run(BasicServer.java)
Web server automatically restarting.

** Wm 3/15/2000 **

On windows 98, you do still get the same walkback, and Spin thinks
the restarted server is going just fine, though you can never
reconnect to it. However, if you turn the server off then on again
in the preferences, all is back OK. Spin does not hang on 98.
Must be an NT problem, and is likely a little different on every
platform.

** Philip 3/15/2000 **

Generated on: Mon Apr 10 11:49:40 PDT 2000