Edit Rename Changes History Upload Download Back to Top

GemStone development

Mark Hume-Cook and Bruce Badger have ported the Hyper HTTP server to Gemstone. These are the installation and porting notes.

GBS (GemBuilder for Smalltalk)

There seems to be an intermitant problemwhen loading the GBS code from Store - it seems that the DLLCC elements can be damaged in some way. If you get a weird problem while trying to login as DataCurator to a clean database, try loading the GBS from parcels and trying to log in again.

Installation on Windows (notes by Mark)

I decided that I'd have to be pragmatic and install Gemstone on a windows platform for the first cut. I have the Cincom Smalltalk VW71nc installation, and the promise of the Gemstone/S component fell through. Instead, I went to the Gemstone site to get their version of Gemstone61_nc.

Gemstone 6.1 non-commmercial downloads as a zip archive named GemStone-Windows_NC-61.zip (at around 36 MB). There's a registration form to fill out at the above link.

I unzipped the archive and installed it under my root directory at C:\GemStone-Windows_NC-61. This gives me release notes, readme's, manuals (in a subdirectory) and a key file (I missed that one the first time around ... D'Oh!). The rest of the files are in another zip file just there.

I chose to extract that zip file into the root directory as well. This gives me another directory, named C:\GemStone6.1-x86.Windows_NT, which has a self-extractor (setup.exe) that I run, and install in the first directory (C:GemStone-Windows_NC-61) with Dumbledore's unavoidable help. I think this completes the installation.

Installation on Linux (Debian Woody)

Even more pragmatic, of course, is installing and running GemStone on Linux :-)

{getting and installing notes here}

GemStone demands that there be a directory called /opt/gemstone/locks/ Simply create this and make it read/write for the gemstone server account. This directory is used by netldi for lock files.

VW7.2

To be able to compile VisualWorks defined classes in GemStone use the old browser not the refactoring browser. To start the old browser:

FullNotebookSystemBrowser openOnSystem

To file things in, use:

Tools.FileBrowser open

Starting Gemstone

Apparently we have to create some appropriate services
c:\>stone create /b
c:\>netldi create /b /g /a

Then start the services
C:\> startnetldi
C:\> startstone
This starts the services, and you should be able to connect to the beast.

Playing With Gemstone

You can connect to the server using Topaz. I went like this:
Start -> All Programs -> Gemstone 6.1 -> Topaz Linked

You get a command prompt, and the first thing to do is set a user name:
topaz> set username DataCurator

Then login:
topaz> login
GemStone Password?

A good password here is "swordfish"
You can then execute some code, like this:
topaz 1> printit
Date today
%

And you get back:
a Date
year 2003
dayOfYear 295
topaz 1>

Ma-a-a-a-a-rvellous ...

Later

I noticed that restarting my computer (WinXP) causes an improbable exception in reconnecting to Gemstone. I get the exception stating "Gemstone/S Limited Edition does not allow remote sessions". I decided to execute the following from the command prompt:
c:\ stopstone
c:\ startstone -l %GEMSTONE%\log\gem.log

and my connection could proceed

And Loading Code

It turns out that GB/s supplied with vw7.1 does not support GB/s file-ins. I didn't look too far into the code, but Bruce made the bundle GemBuilder 5.2.2 available from the OpenSkills Store repository, which allows us to file in Gemstone code


Edit Rename Changes History Upload Download Back to Top