My favorites | Sign in
Project Home Wiki Issues
Search
for
ControllingSeaside30Gems  
Configuring the $GEMSTONE/seaside/bin/runSeasideGems30 script
Updated Jul 14, 2010 by henrichs...@gmail.com

With Seaside 3.0.0-alpha5.15 the runSeasideGems30 script is configurablewithout having to edit the script. You can use the following expressions to control which web server adaptor is used, the number of gems launched by the script and the port that each gem's adaptor will listen on:

"Specify FastCGI for runSeasideGems30 and start 3 vms listening on 
 ports 9001,  9002, and 9003"
WAGemStoneRunSeasideGems default
	name: 'FastCGI';
	adaptorClass: WAFastCGIAdaptor;
	ports: #(9001 9002 9003).

"Specify Swazoo for runSeasideGems30 and start 1 vm listening on port 8383"
WAGemStoneRunSeasideGems default
	name: 'Swazoo';
	adaptorClass: WAGsSwazooAdaptor;
	ports: #(8383).

Also in addition to the GemTools Launcher Admin>>Seaside gems menu item, you can start/stop/restart the seaside gems programmatically:

WAGemStoneRunSeasideGems startGems.   "start gems"
WAGemStoneRunSeasideGems stop.        "stop gems"
WAGemStoneRunSeasideGems restartGems. "restart gems"

Sign in to add a comment
Powered by Google Project Hosting