joewalnes/webbit — Issue #45: Restart NettyWebServer
Author: chtheis
Created: 2011-11-01 18:18:08+00:00
State: open

Shall it be possible to stop and start the Webserver whithout creating a new instance?
When I call "stop()" and then "start()" again on NettyWebServer I get an IllegalStateException, because the boostrap object already has a factory. When I change the code and put the setting up of the boostrap object from the constructor to the start method and set boostrap to null in the stop method, it works. At least there are no apparent errors :)

Christoph