[Seaside] [ANN] Seaside 3.0.7 release

Sebastian Sastre sebastian at flowingconcept.com
Thu Apr 5 17:32:55 UTC 2012

Yeah, I need to start and stop things programatically. It's working again now.

I'm starting it with:

	ZnZincServerAdaptor startOn: self port.
	ZnZincServerAdaptor default 
		serverClass: ZnManagingMultiThreadedServer;
		codec: (GRCodec forEncoding: 'utf8');

This was my first attempt:
	ZnZincServerAdaptor default
		port: self port;
but it wasn't working because default was answering nil.

Something I've found curious… it's not causing any problems but for some reason when I stop it with: 
	ZnZincServerAdaptor stop.

everything continues to be served



On Apr 4, 2012, at 4:42 AM, Sven Van Caekenberghe wrote:

> That is why there are easy and hard ways to do the same ;-)
> Seaside adaptors, the way they are managed and their interactions with an HTTP server are a bit hard to understand, so easily broken.
> As for pointers: ZnServers work by using a delegate to handle requests. If you see the welcome page, that means that the server that you are talking to has a ZnDefaultServerDelegate instance as delegate. Normally, there should be a ZnSeasideServerAdaptorDelegate instance there (see ZnZincServerAdaptor>>#basicStart).
> But you have to understand the interaction between WAServerAdaptor and WAServerManager too: the manager is in control.
> HTH,
> Sven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120405/c48920c7/attachment.htm

More information about the seaside mailing list