[Glass] Cannot connect to stone from a newly created user (but I can from topaz)

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

[Glass] Cannot connect to stone from a newly created user (but I can from topaz)

Mariano Martinez Peck
Hi guys, 

I have just created a new gemstone user from GemTools connected as DataCurator this way:

AllUsers addNewUserWithId: 'newuser' password: 'newpassword' createNewSecurityPolicy: true.

If I connect from topaz with

topaz -I /opt/gemstone/GemStone64Bit3.1.0.4 i386.Darwin/seaside/topaz/localGemStoneNormal

And localGemStoneNormal being:

set user newuser pass newpassword
set gemstone seaside
set gemnetid !tcp@localhost#netldi:50377#task!gemnetobject
set gemstone !tcp@localhost#server!seaside
login

it works, I can connect.

However, if I try to connect with such a username/password from GemTools (instead of DataCurator), I get a debugger popup. If I try to "Debug in GemStone" I get yet another squeak debugger saying the debugger is nil..... If I inspect the exception I can at least see this:


a ArgumentTypeError occurred (error 2037), reason:classErrConstraintNotClass, The constraint aByteArray( ) was specified incorrectly for subclass creation.  For IdentityBags (NSCs), a constraint must be specified as a class; for all other classes, as an Array of pairs.

But I have no clue how this is related to a user login.  The log shows:

[Info]: RPC client/gem/minimum GCI levels = 851/851/851
[Info]: Client PID: 6317
native code DISABLED, offset from code memory to libgcilnk.so exceeds 32bits
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 56, native code disabled for remainder of session
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 96, native code disabled for remainder of session
native code error, emit_call displacement exceeds 32bits , methodId:3589377, ipOffset 140, native code disabled for remainder of session
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 144, native code disabled for remainder of session
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 176, native code disabled for remainder of session
[Info]: User ID: mariano
[Info]: Repository: seaside
[Info]: Session ID: 6
[Info]: GCI Client Host: ::ffff:127.0.0.1
[Info]: Page server PID: -1
[Info]: Login Time: 01/02/2014 17:31:46.407 ART

Any idea what can be the problem?

Thanks, 


--
Mariano
http://marianopeck.wordpress.com

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

Re: [Glass] Cannot connect to stone from a newly created user (but I can from topaz)

Dale Henrichs-3
Mariano.

GemTools expects GemTools support code to be installed (or available) when you login ... so if you create a new use and don't arrange for "GLASS to be installed in that user's space"  GemTools won't function ...

Dale


From: "Mariano Martinez Peck" <[hidden email]>
To: [hidden email]
Sent: Thursday, January 2, 2014 12:35:21 PM
Subject: [Glass] Cannot connect to stone from a newly created user (but I        can from topaz)

Hi guys, 

I have just created a new gemstone user from GemTools connected as DataCurator this way:

AllUsers addNewUserWithId: 'newuser' password: 'newpassword' createNewSecurityPolicy: true.

If I connect from topaz with

topaz -I /opt/gemstone/GemStone64Bit3.1.0.4 i386.Darwin/seaside/topaz/localGemStoneNormal

And localGemStoneNormal being:

set user newuser pass newpassword
set gemstone seaside
set gemnetid !tcp@localhost#netldi:50377#task!gemnetobject
set gemstone !tcp@localhost#server!seaside
login

it works, I can connect.

However, if I try to connect with such a username/password from GemTools (instead of DataCurator), I get a debugger popup. If I try to "Debug in GemStone" I get yet another squeak debugger saying the debugger is nil..... If I inspect the exception I can at least see this:


a ArgumentTypeError occurred (error 2037), reason:classErrConstraintNotClass, The constraint aByteArray( ) was specified incorrectly for subclass creation.  For IdentityBags (NSCs), a constraint must be specified as a class; for all other classes, as an Array of pairs.

But I have no clue how this is related to a user login.  The log shows:

[Info]: RPC client/gem/minimum GCI levels = 851/851/851
[Info]: Client PID: 6317
native code DISABLED, offset from code memory to libgcilnk.so exceeds 32bits
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 56, native code disabled for remainder of session
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 96, native code disabled for remainder of session
native code error, emit_call displacement exceeds 32bits , methodId:3589377, ipOffset 140, native code disabled for remainder of session
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 144, native code disabled for remainder of session
native code error, emit_call_stub, jmp displacement exceeds 32bits , methodId:3589377, ipOffset 176, native code disabled for remainder of session
[Info]: User ID: mariano
[Info]: Repository: seaside
[Info]: Session ID: 6
[Info]: GCI Client Host: ::ffff:127.0.0.1
[Info]: Page server PID: -1
[Info]: Login Time: 01/02/2014 17:31:46.407 ART

Any idea what can be the problem?

Thanks, 


--
Mariano
http://marianopeck.wordpress.com

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


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