[Glass] Open topaz on Development Kit gemstone instance

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] Open topaz on Development Kit gemstone instance

GLASS mailing list
Ciao,

        i need to open topaz session on a gemstone instance created with development kit  createTodeStone command.

        Into /gsDevKitHome/bin$ i don't find    any command for launching  it

        Some ideas ?

        Thanks,

                Dario
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Open topaz on Development Kit gemstone instance

GLASS mailing list

Ciao,

Ciao,

i need to open  topaz session  on a gemstone instance created with development kit  createTodeStone command.

Into /gsDevKitHome/bin$  i don't find    any command for launching  it 

i copy   in the gsDevKitHome/bin   startStone  into   startTopaz

( and  customizing:   # start the topaz
$stonePath/product/seaside/bin/startTopaz)


and in gsDevKitHome/gemstone/products/GemStone64Bit3.1.0.6-x86_64.Linux/seaside/bin  starStone   into   startTopaz 

 ( and  customizing:   $GEMSTONE/bin/topaz )

All  everything seems to work.


Dario

P.S: integrate in the base distribution?


Some ideas ?

Thanks,

Dario
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Open topaz on Development Kit gemstone instance

BrunoBB
Hi,

Are you sure that files were downloaded correctly ?

I use the following in Linux (Ubuntu):
#you should put this in /home/<username>/.bashrc

export GS_HOME=/home/bruno/gsDevKitHome
export PATH=$GS_HOME/bin:$PATH
export GEMSTONE=/home/bruno/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux
export PATH=$GEMSTONE/bin:$PATH

Just change "bruno" for your user name.

I just noted that your Gemstone path is pointing to "/seaside/bin"...

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Open topaz on Development Kit gemstone instance

GLASS mailing list
In reply to this post by GLASS mailing list
Dario,

This sounds like a good idea. I've submitted an issue[1] on github and if you could attach your scripts to the issue that would be helpful ... I would probably structure things a bit differently... like putting the startTopaz script in $GS_HOME/bin... but I really like the idea ...

Without using a startTopaz script, it is possible to cd to your stone directory and source the defStone.env (formerly known as defSeaside) file which sets up the gemstone env vars and adds $GEMSTONE/bin and $GEMSTONE/seaside/bin to your path ... once you've done that you can execute topaz directly ... there is also a .topazini in the stone directory that is set up to log in as DataCurator ...

With all of that said, I do like the idea of startTopaz script...

Dale

[1] https://github.com/GsDevKit/gsDevKitHome/issues/46
On 12/19/14 4:00 AM, Dario Trussardi via Glass wrote:

Ciao,

Ciao,

i need to open  topaz session  on a gemstone instance created with development kit  createTodeStone command.

Into /gsDevKitHome/bin$  i don't find    any command for launching  it 

i copy   in the gsDevKitHome/bin   startStone  into   startTopaz

( and  customizing:   # start the topaz
$stonePath/product/seaside/bin/startTopaz)


and in gsDevKitHome/gemstone/products/GemStone64Bit3.1.0.6-x86_64.Linux/seaside/bin  starStone   into   startTopaz 

 ( and  customizing:   $GEMSTONE/bin/topaz )

All  everything seems to work.


Dario

P.S: integrate in the base distribution?


Some ideas ?

Thanks,

Dario
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Open topaz on Development Kit gemstone instance

GLASS mailing list
Just in case it might be useful, as part of my scripts, I have 2 scripts for "running a script with topaz". 

runTopazScript.sh   which receives a full path topaz script file:


#!/bin/bash

$QUUVE_GEMSTONE_ADDITIONS_SCRIPTS/runTopazStringScript.sh "$1" "`cat $2`"


and runTopazStringScript which does

#!/bin/bash

export upgradeDir=/opt/gemstone/product/upgrade


# Requires a Sites subfolder password as a parameter
if [ "a$1" = "a" ]; then
        echo 'Missing argument <Sites subfolder>'
        exit 1
fi

source $QUUVE_SITES_DIRECTORY/$1/gemstone/env

if [ -z "$2" ];
then
   echo "Error: no string given"
fi


# For the moment we remove the -q to topaz so that we get more info. Put back once I have solved all problems
su -m $GEMSTONE_USER -c "$GEMSTONE/bin/topaz -l -I $APPLICATION_DIR/.topazini -T200000 <<EOF

display oops
iferror where
login

$2

EOF
"


I think you can adapt those very easily with the GsDevKit...

Best, 


On Fri, Dec 19, 2014 at 12:19 PM, Dale Henrichs via Glass <[hidden email]> wrote:
Dario,

This sounds like a good idea. I've submitted an issue[1] on github and if you could attach your scripts to the issue that would be helpful ... I would probably structure things a bit differently... like putting the startTopaz script in $GS_HOME/bin... but I really like the idea ...

Without using a startTopaz script, it is possible to cd to your stone directory and source the defStone.env (formerly known as defSeaside) file which sets up the gemstone env vars and adds $GEMSTONE/bin and $GEMSTONE/seaside/bin to your path ... once you've done that you can execute topaz directly ... there is also a .topazini in the stone directory that is set up to log in as DataCurator ...

With all of that said, I do like the idea of startTopaz script...

Dale

[1] https://github.com/GsDevKit/gsDevKitHome/issues/46

On 12/19/14 4:00 AM, Dario Trussardi via Glass wrote:

Ciao,

Ciao,

i need to open  topaz session  on a gemstone instance created with development kit  createTodeStone command.

Into /gsDevKitHome/bin$  i don't find    any command for launching  it 

i copy   in the gsDevKitHome/bin   startStone  into   startTopaz

( and  customizing:   # start the topaz
$stonePath/product/seaside/bin/startTopaz)


and in gsDevKitHome/gemstone/products/GemStone64Bit3.1.0.6-x86_64.Linux/seaside/bin  starStone   into   startTopaz 

 ( and  customizing:   $GEMSTONE/bin/topaz )

All  everything seems to work.


Dario

P.S: integrate in the base distribution?


Some ideas ?

Thanks,

Dario
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass