[Glass] Seaside - Installation - (1) problem with gemServer.ston script; (2) attaching via localhost
Reg Krock via Glass
glass at lists.gemtalksystems.com
Thu May 18 17:14:46 PDT 2017
This continues to be frustrating. Do you know if there is anything special that needs to be done on OS/X?
I am running both code client and gemstone server on my MacBook (OS/X 10.12.4) and I have answered ‘Allow’ to ‘’stoned’’ and “netldi” accepting incoming network connections.
What I did today was to rename my GsDevKit_home to GsDevKit_home_old and then I have three reinstalled 3.3.5 from scratching using port 1750. All to no avail.
However I did not have any problems with gemServer.ston script. That problem went away.
The two files below are: (1) the installation steps including ‘project load’ prints and inspector prints of the seaside server and WADisplatcher; (2) the transcript.
All attempts to connect from the Web Browser to the seaside gem failed.
I then took a Pharo 5.0 image, loaded in seaside and started seaside. I was able to connect.
I have also attached copies of all of the logs in case they are useful.
> On 18 May2017, at 1:26 PM, Dale Henrichs via Glass <glass at lists.gemtalksystems.com> wrote:
>
>
>
> On 05/17/2017 01:52 PM, Reg Krock via Glass wrote:
>>
>>
>> I installed a new DevKit_33 (3.3.3)
>>
>> I have installed Seaside in a server GsDevKit sever using the command:
>> createStone -f devKit_33 3.3.3 | tee -a $GS_HOME/install.log
>>
>> Then I executed the following to install Seside3
>> project load --loads=`#('Seaside-Welcome' 'Zinc' 'Development' 'Examples')` Seaside3
>>
>> I then tried to register the port:
>> home/seaside/gemServer --register=devKit_33 --type=zinc --port=1750
> You are missing a leading / in that line, but a missing leading slash gives a different error, so I assume this is a typo...
>>
>> This failed with the message:
>>
>> a CompileError occurred (error 1001),
>> undefined symbol GemServer;
>> undefined symbol ZnSeasideNewGemServer;
>> undefined symbol ZnSeasideGemServer;
>> undefined symbol GemServer;
>> undefined symbol Dictionary;
>> undefined symbol WARemoteDebuggingWalkbackErrorHandler;
>> undefined symbol WAGemStoneProductionErrorHandler;
>> undefined symbol WAInteractiveGemServerErrorHandler;
>> undefined symbol WAAdmin;
>> undefined symbol OrderedCollection;
>> undefined symbol WADispatcher;
>> undefined symbol TDManPage
>>
>> and whenI then find that the following classes which are referenced in the gemServer script are not loaded into the image.
>> FastCGISeasideGems, SwazooSeasideGemServer
> These classes are not required and when I ran the same script that you ran I did not get any compile errors and those two classes are not installed in my stone either ..
>
> Here's an excerpt from my transcript following these instructions[1].:
>
These appear to be the same now.
> transcript 'Loaded -> Tode-Server-TestTestTools-dkh.2 --- fil... 29579 05/17/2017 15:51:36:508
> transcript 'Evaluated -> baseline [BaselineOfTode] >> initial... 29579 05/17/2017 15:51:36:580
> transcript '...finished baseline' 29579 05/17/2017 15:51:36:604
> transcript 'Bulk migrate of 0 candidate classes ' 29579 05/17/2017 15:51:36:656
> transcript 'No instance migrations performed.' 29579 05/17/2017 15:51:37:732
> transcript '---Starting backup to ''/home/dhenrich/GsDevKit_h... 30758 05/17/2017 15:51:40:767
> transcript '05/17/2017 15:51:40' 30758 05/17/2017 15:51:40:772
> transcript ')' 30758 05/17/2017 15:51:40:772
> transcript '---validating backup (' 30758 05/17/2017 15:51:46:815
> transcript '05/17/2017 15:51:46' 30758 05/17/2017 15:51:46:816
> transcript ')' 30758 05/17/2017 15:51:46:817
> transcript '''/home/dhenrich/GsDevKit_home/server/stones/seas... 30758 05/17/2017 15:51:47:368
> transcript 'Source file: /home/dhenrich/GsDevKit_home/server/... 30758 05/17/2017 15:51:47:387
> transcript '---Finished backup to 17/05/2017 15:51:46 -- tode... 30758 05/17/2017 15:51:47:392
> transcript '---Starting snapshot to ''/home/dhenrich/GsDevKit... 30758 05/17/2017 15:51:52:554
> transcript '---Finishing snapshot 05/17/2017 15:51:53 -- /hom... 30758 05/17/2017 15:51:53:010
> transcript '''cd $GS_HOME/shared/repos; git clone --no-check... 30803 05/17/2017 15:52:44:899
> transcript 'Cloning into ''Seaside31''...
> ' 30803 05/17/2017 15:52:44:917
> transcript '''cd $GS_HOME/shared/repos/Seaside31; git --git-d... 30803 05/17/2017 15:52:46:486
> transcript 'Already on ''gs_master''
> Your branch is up-to-dat... 30803 05/17/2017 15:52:46:494
> transcript '''cd $GS_HOME/shared/repos/Seaside31; git --git-d... 30803 05/17/2017 15:52:46:507
> transcript 'refs/heads/gs_master
> ' 30803 05/17/2017 15:52:46:513
> transcript '''cd $GS_HOME/shared/repos; git clone --no-check... 30803 05/17/2017 15:52:51:381
> transcript 'Cloning into ''gsApplicationTools''...
> ' 30803 05/17/2017 15:52:51:390
> transcript '''cd $GS_HOME/shared/repos/gsApplicationTools; gi... 30803 05/17/2017 15:52:51:494
> transcript 'Already on ''master''
> Your branch is up-to-date w... 30803 05/17/2017 15:52:51:500
> transcript '''cd $GS_HOME/shared/repos/gsApplicationTools; gi... 30803 05/17/2017 15:52:51:517
> transcript 'refs/heads/master
> ' 30803 05/17/2017 15:52:51:523
> transcript 'Fetched -> BaselineOfSeaside3-dkh.43 --- filetree... 30803 05/17/2017 15:53:26:763
>
transcript 'Loaded -> Tode-Server-TestTestTools-dkh.2 --- fil... 94159 05/18/2017 16:11:31:954
transcript 'Evaluated -> baseline [BaselineOfTode] >> initial... 94159 05/18/2017 16:11:32:022
transcript '...finished baseline' 94159 05/18/2017 16:11:32:048
transcript 'Bulk migrate of 0 candidate classes ' 94159 05/18/2017 16:11:32:121
transcript 'No instance migrations performed.' 94159 05/18/2017 16:11:32:385
transcript '---Starting backup to ''/Users/regkrock/GsDevKit_... 95300 05/18/2017 16:11:34:242
transcript '05/18/2017 16:11:34' 95300 05/18/2017 16:11:34:256
transcript ')' 95300 05/18/2017 16:11:34:268
transcript '---validating backup (' 95300 05/18/2017 16:11:42:225
transcript '05/18/2017 16:11:42' 95300 05/18/2017 16:11:42:239
transcript ')' 95300 05/18/2017 16:11:42:251
transcript '''/Users/regkrock/GsDevKit_home/server/stones/dev... 95300 05/18/2017 16:11:42:713
transcript 'Source file: /Users/regkrock/GsDevKit_home/server... 95300 05/18/2017 16:11:42:740
transcript '---Finished backup to 18/05/2017 16:11:41 -- tode... 95300 05/18/2017 16:11:42:767
transcript '---Starting snapshot to ''/Users/regkrock/GsDevKi... 95300 05/18/2017 16:11:46:285
transcript '---Finishing snapshot 05/18/2017 16:11:46 -- /Use... 95300 05/18/2017 16:11:46:964
transcript '''cd $GS_HOME/shared/repos; git clone --no-check... 95534 05/18/2017 16:16:41:348
transcript 'Cloning into ''Seaside31''...
' 95534 05/18/2017 16:16:41:381
transcript '''cd $GS_HOME/shared/repos/Seaside31; git --git-d... 95534 05/18/2017 16:16:45:048
transcript 'Already on ''gs_master''
Your branch is up-to-dat... 95534 05/18/2017 16:16:45:083
transcript '''cd $GS_HOME/shared/repos/Seaside31; git --git-d... 95534 05/18/2017 16:16:45:139
transcript 'refs/heads/gs_master
' 95534 05/18/2017 16:16:45:171
transcript '''cd $GS_HOME/shared/repos; git clone --no-check... 95534 05/18/2017 16:16:47:361
transcript 'Cloning into ''gsApplicationTools''...
' 95534 05/18/2017 16:16:47:390
transcript '''cd $GS_HOME/shared/repos/gsApplicationTools; gi... 95534 05/18/2017 16:16:47:575
transcript 'Already on ''master''
Your branch is up-to-date w... 95534 05/18/2017 16:16:47:601
transcript '''cd $GS_HOME/shared/repos/gsApplicationTools; gi... 95534 05/18/2017 16:16:47:640
transcript 'refs/heads/master
' 95534 05/18/2017 16:16:47:667
transcript 'Fetched -> BaselineOfGsApplicationTools-dkh.10 --... 95534 05/18/2017 16:19:10:207
> The `Cloning into` entries indicate that I installed the seaside project:
>
> project install --url=http://gsdevkit.github.io/GsDevKit_home/Seaside3.ston <http://gsdevkit.github.io/GsDevKit_home/Seaside3.ston>
>
>
> and your transcript indicates that you did not run the install:
>
> transcript 'Loaded -> Tode-Remote-Server-dkh.18 --- filetree:... 73754 05/17/2017 12:43:42:402
> transcript 'Evaluated -> baseline [BaselineOfTode] >> initial... 73754 05/17/2017 12:43:42:454
> transcript '...finished baseline' 73754 05/17/2017 12:43:42:473
> transcript 'Bulk migrate of 0 candidate classes ' 73754 05/17/2017 12:43:42:547
> transcript 'No instance migrations performed.' 73754 05/17/2017 12:43:42:682
> transcript '---Starting backup to ''/Users/regkrock/GsDevKit_... 74961 05/17/2017 12:43:43:965
> transcript '05/17/2017 12:43:43' 74961 05/17/2017 12:43:43:977
> transcript ')' 74961 05/17/2017 12:43:43:990
> transcript '---validating backup (' 74961 05/17/2017 12:43:50:720
> transcript '05/17/2017 12:43:50' 74961 05/17/2017 12:43:50:733
> transcript ')' 74961 05/17/2017 12:43:50:746
> transcript '''/Users/regkrock/GsDevKit_home/server/stones/dev... 74961 05/17/2017 12:43:51:206
> transcript 'Source file: /Users/regkrock/GsDevKit_home/server... 74961 05/17/2017 12:43:51:232
> transcript '---Finished backup to 17/05/2017 12:43:50 -- tode... 74961 05/17/2017 12:43:51:259
> transcript '---Starting snapshot to ''/Users/regkrock/GsDevKi... 74961 05/17/2017 12:43:55:685
> transcript '---Finishing snapshot 05/17/2017 12:43:56 -- /Use... 74961 05/17/2017 12:43:56:659
> transcript 'Fetched -> BaselineOfSeaside3-dkh.43 --- filetree... 75014 05/17/2017 12:49:10:001
>
> I also see that I am getting different packages loaded than you were ... so I am wondering if perhaps we haven't run exactly the same Seaside load command or since I don't know how you cloned your local Seaside3 repository, it's possible that we are not using the same commit of Seaside ... a spot check of the variaous package versions indicates that we appear to be loading the same package versions of common packages, but I didn't dig in too deep .. I've attached my transcript log (reg.txt) for comparison.
>
> If you do a `Window > print window` of the `project list`, I will be able to tell which commits you are using ... I've attached mine (projectList.txt) for comparison
>
> Also I noticed that you have not loaded the master version of tODE and appear to have loaded the dev version of tODE ... that shouldn't be a problem, but I didn't run my tests yesterday using the dev version of tODE, so this is another area where we are doing things differently ... I'll do a test with the dev version of tODE later today to see what I get ...
>
> Dale
>
> [1] https://github.com/GsDevKit/GsDevKit_home/blob/master/docs/gettingStartedWithSeaside.md <https://github.com/GsDevKit/GsDevKit_home/blob/master/docs/gettingStartedWithSeaside.md>
>>
>> ?? Should I have loaded another package or is there a problem with the gemServer script ??
>>
>> I then turned the two references into symbols and seaside server started.
>>
>> tode 1 > ./gemServer --start=devKit_33
>>
>> scriptLogEvent: 'performOnServer: devKit_33 :: $GS_HOME/shared/repos/gsApplicationTools/bin/startGemServerGem devKit_33 "1750" "/Users/regkrock/GsDevKit_home/server/stones/devKit_33"'
>> scriptLogEvent: 'performOnServer: SeasideMaintenanceVM :: $GS_HOME/shared/repos/gsApplicationTools/bin/startGemServerGem SeasideMaintenanceVM "''instance’' "/Users/regkrock/GsDevKit_home/server/stones/devKit_33"'[260393985 sz:17 ZnSeasideNewGemServer]
>>
>> I then tried to open the web page with no success:
>>
>> http://localhost:1750/ <http://localhost:1750/>
>>
>> ?? It has been a long time since I started Seaside. What have I done wrong here ??
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
>> http://lists.gemtalksystems.com/mailman/listinfo/glass <http://lists.gemtalksystems.com/mailman/listinfo/glass>
>
> <reg.txt><projectList.txt>_______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0013.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: installationSteps.txt
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0002.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0014.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: loadingTranscript.txt
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0003.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0015.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94049pagemanager.log
Type: application/octet-stream
Size: 1150 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0010.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0016.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94050pcmon.log
Type: application/octet-stream
Size: 5272 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0011.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0017.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94053pgsvrff.log
Type: application/octet-stream
Size: 3289 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0012.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0018.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94055pgsvraio.log
Type: application/octet-stream
Size: 3379 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0013.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0019.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94059reclaimgcgem.log
Type: application/octet-stream
Size: 7411 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0014.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0020.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94060admingcgem.log
Type: application/octet-stream
Size: 6903 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0015.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0021.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33_94061symbolgem.log
Type: application/octet-stream
Size: 10855 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0016.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0022.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devKit_33.log
Type: application/octet-stream
Size: 10999 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0017.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0023.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seaside_server-1750.log
Type: application/octet-stream
Size: 7861 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0018.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0024.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SeasideMaintenanceVM_server-instance.log
Type: application/octet-stream
Size: 7914 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0019.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170518/2eb98c96/attachment-0025.html>
More information about the Glass
mailing list