Davide, On 06 May 2012, at 12:02, Davide Varvello wrote:
Hi, I'm working on a seaside image. I stopped the zinc server before saving and quitting but unfortunately, when I reopen my image, the server is on and listening.
So I inspected ZnZincServerAdaptor and tried to kill references using "explore pointers". Unfortunately I killed too much; now, when I start the image I have a startup error, it seems SmalltalkImage try to startup WAServerManager but I can't figure out why.
Hints?
Thanks Davide
---- - Come avere 48 servizi a portata di mano senza alzare un dito (dalla tastiera :-) Oltre il Passaparola
- Blog: Cambia il Tempo
Zn on its own has a mechanism to stop/start servers on images save/startup. Have a look at the class side of ZnServer. Servers can register themselves to become managedServers for the above behavior. Now, for Zn itself this only happens for the default server, the one you start with #startDefaultOn: or the one you create with #defaultOn: For all other servers, you will have to send #register yourself. Seaside does its own management, independent from Zn. The Zn server that is started by WAServerManager using ZnZincServerAdaptor is *not* managed by Zn, but it *is* by Seaside. It seems that you manually broke things. I would suggest to re-initialize WAServerManager. HTH, Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill