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

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Sat Jan 4 08:57:38 PST 2014


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 

----- Original Message -----

| From: "Mariano Martinez Peck" <marianopeck at gmail.com>
| To: glass at lists.gemtalksystems.com
| 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 at localhost#netldi:50377#task!gemnetobject
| set gemstone !tcp at 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
| 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/20140104/bea406ce/attachment.html>


More information about the Glass mailing list