<div>In order to run a zinc server, you should install gsApplicationTools[1]. The gsApplicationTools framework was mainly designed to support Seaside and is loaded as part of the standard Seaside support.</div><br><div>It is possible to use gsApplicationTools without Seaside by runnint the following tode command:</div><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em"><code> project load --loads=`#('Zinc-GemStone-Server-Tools')` ZincHTTPComponents</code></pre></code><div>this expression installs the GemServer support for Zinc and the gsApplicationTools framework.</div><br><div>The basic model is that you register a "gemserver" to listen on a set of ports (I recommend ZnNewGemServer and a single port to begin with) with this smalltalk expresssion:</div><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em"><code>ZnNewGemServer register: 'zinc' on: #(1701).</code></pre></code><div>The you can start and stop the "gemServer" using the following  smalltalk expressions:</div><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em"><div><code>(GemServer gemServerNamed: 'zinc') startGems.</code></div><br><div><code>(GemServer gemServerNamed: 'zinc') stopGems.</code></div></pre></code><div>The first expression will launch a topaz session to listen on the given port (1701) and the second expression will stop the topz session.</div><br><div>There is a fairly extension document[2] about GemServers that you should read to get started.</div><br><div>Normally you run your GemStone-based servers as standalone topaz sessions and use the Object Log for debugging[3]. There is a way to interactively debug using tODE[4], however, I recommend that you start out using the Object Log and continuations to debug your server code as it there are fewer moving parts.</div><br><div>When using the topaz-based servers, you CAN and should edit your code using tODE... the servers abort before servicing each HTTP request so the changes that you make in tODE (and commit --- tODE autocommits by default) will be run in the server on the next HTTP request.</div><br><div>Let me know if you have additional questions.</div><br><div>Dale</div><br><div><div>[1] <a href="https://github.com/GsDevKit/gsApplicationTools" title="https://github.com/GsDevKit/gsApplicationTools">https://github.com/GsDevKit/gsApplicationTools</a></div><div>[2] <a href="https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md" title="https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md">https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md</a></div><div>[3] <a href="https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md#object-log-debugging" title="https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md#object-log-debugging">https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md#object-log-debugging</a></div><div>[4] <a href="https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md#interactive-debugging" title="https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md#interactive-debugging">https://github.com/GsDevKit/gsApplicationTools/blob/master/docs/gettingStarted.md#interactive-debugging</a></div></div><br><div class="gmail_quote_attribution">On Jul 19 2021, at 5:07 pm, Ian via Glass <glass@lists.gemtalksystems.com> wrote:</div><blockquote><div><div>Hi All</div></div><div><br></div><div><div>I have a fresh install of GsDevKit_home installed. </div></div><div><br></div><div><div>I used installServerClient to create a tode client and a server (using GS/3.6.1).</div></div><div><br></div><div><div>Issue: ZnServer runs ( using: (ZnServer defaultOn: 1701) start. ), as per:</div></div><div><br></div><div><div>...and then almost instantly... the browser(s) immediately stop their incesant spinning and display the welcome page.</div></div><div><br></div><div><div>I notice that if I start Seaside as per the Github instructions, everything works and displays almost instantly.  This lead me to believe that there must be a setting in the stone somewhere that I am not flipping that will allow Zinc Servers to work correctly.  I just don't know what that might be.</div></div><div><br></div><div><div>Apologies if this is a simpleton question but any help and insight would be great.</div></div><div><br></div><div><div>Kindly,</div></div><div><br></div><div><div>Ian</div></div><div class="protonmail_signature_block"><div><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com/" title="https://protonmail.com/">ProtonMail</a> Secure Email.</div></div><div><br></div><div>_______________________________________________</div><div>Glass mailing list</div><div>Glass@lists.gemtalksystems.com</div><div>https://lists.gemtalksystems.com/mailman/listinfo/glass</div></blockquote>