Bug 44000

Informational

GemBuilder for Java

3.1.3, 3.1.2, 3.1.1

All Platforms

Linked logins on GBJ

Due to library load restrictions on AIX, you cannot use linked sessions on that platform.

On all other platforms, you can generate a linked session by doing the following:

1.  Call GbjSession.initialize( ) with true as the first argument.
2.  Set the gemnetName of the associated GbjParameter object to "gcilnkobj".

For an example see the following code section.

Workaround

// Example code for generating a linked session
//
    GbjSession.initialize(true, "MyGBJApplication", 10000, 10000, 10);
    GbjParameters p = new GbjParameters();
    p.serverName = "MyStone";
    p.userName = "DataCurator";
    p.password = "swordfish";
    p.gemnetName = "gcilnkobj";
    GbjSession s = new GbjSession(p);
    s.connect();


Last updated: 9/30/15