feenkcom / gt4gemstone

A Gtoolkit interface to GemStone
MIT License
8 stars 3 forks source link

Issue 5 ... create STON.gs file for 3.7.0 proposed fix #6

Closed dalehenrich closed 1 year ago

dalehenrich commented 1 year ago

I have created the STON.gs file and manually run the install script without error. However, I am having trouble establishing a new GmeStone session using gtoolkit ... when I run the code that I think should create the session:

connector := GtGemStoneSessionRegistry default propertiesFile addNewConnector.
connector 
    registry: GtGemStoneSessionRegistry default;
    libraryPath: '/export/qa-storage1/server/64bit/branches/3.7.0/x86_64.Linux/build_87d4894f4/fast50/gs/clientlibs' asFileReference.
connector
    stone: 'gt4gemstone';
    netldi: 37349;
    username: 'SystemUser'.

GtGemStoneSessionRegistry default 
    newSessionWithConnector:  connector

I get the following 'closed' session image I'm not getting an error message and I'm not getting a gci log file, so I'm not quite sure where things might be going wrong and I'm not familiar enough with the connection code (yet) ... At ESUG, I got setup with a Rowan stone and was able to create sessions, so I have probably haven't set up the Rowan-less stone correctly.

Rather than spend time trying to figure out what I've done wrong is setting up the stone, I figured that I could provide you with the STON.gs file and give you a chance to check for issues in using it ..

I used the following expression to generate the STON.gs file from Rowan:masterV2.5 which is the 3.7.0 Rowan branch:

| resolvedProject |
resolvedProject := 
Rowan 
    projectFromUrl: 'file:///home/dhenrich/_stones/git/Rowan/platforms/gemstone/projects/STON/specsV2/STON_standalone.ston' 
    diskUrl: 'file:///home/dhenrich/_stones/git/Rowan/platforms/gemstone/projects/STON' .
resolvedProject
    exportTopazFormatTo: '/home/dhenrich/_stones/stones/rowan_370_sanctioned/STON.gs' 
    logClassCreation: false 
    excludeClassInitializers: false 
    excludeRemoveAllMethods: false.

The Rowan/platforms/gemstone/projects/STON/specsV2/STON_standalone.ston load spec, is supposed to dump out the STON code for the base, excluding the Rowan-specific extensions and the fact that it installed without error, indicates to me that there isn't any Rowan-specific code being loaded, but there is an outside chance that not all of the base-specific code is being loaded ...

Sooo, let me know if you are experiencing problems with the STON code ... I will attempt to figure out what's wrong with my stone setup code over the weekend ...

feenk-cla-helper[bot] commented 1 year ago

[This is an automated comment from the feenk Contributor License Agreement robot.]

Hello dalehenrich!

Thanks for your interest in making software development better. Please sign the feenk Contributor License Agreement so we can investigate merging in your work.

dalehenrich commented 1 year ago

I filled out the CLA, but the send button on the email produced, did not get enabled and I'm not sure how to get the button enabled, since all of the fields seem to have been filled in ...

dalehenrich commented 1 year ago

I filled out the CLA again and even though I've been able to get the send button to be highlighted, when I press the send button, it does nothing: image I surrender ...

akgrant43 commented 1 year ago

Hi Dale, Thanks! Our STON related examples are passing, so it is looking good so far. New sessions should also be connected by default now.