javakey problem

Michael B. Vederman (mvederm@enron.com)
Thu, 10 Jul 1997 15:12:36 -0500

Message-Id: <199707102012.PAA10330@dserv1.ect.enron.com>
From: "Michael B. Vederman" <mvederm@enron.com>
To: <java-security@web2.javasoft.com>
Subject: javakey problem
Date: Thu, 10 Jul 1997 15:12:36 -0500

I'm sorry to bother you if you are not the appropriate channel, but I am
trying to get javakey to work and I keep running into trouble.

I have just installed jdk 1.1.3 on an NT 4.0 system here at Enron (we are
behind a corporate firewall if that makes any difference).

I am only trying to run through the online tutorial to created a trusted
applet, but all I do yields no luck.

The first time I run javakey, I get this (using the example listed at Sun):

javakey -cs Duke true

java.lang.UnsatisfiedLinkError: getRefHashCode
at
java.io.ObjectOutputStream.findWireOffset(ObjectOutputStream.java:684)
at
java.io.ObjectOutputStream.serializeNullAndRepeat(ObjectOutputStream.java:66
8)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:179)
at
sun.security.provider.IdentityDatabase.save(IdentityDatabase.java:257)
at
sun.security.provider.IdentityDatabase.save(IdentityDatabase.java:274)
at
sun.security.provider.IdentityDatabase.save(IdentityDatabase.java:287)
at sun.security.provider.Main.save(Main.java:653)
at sun.security.provider.Main.createCmd(Main.java:202)
at sun.security.provider.Main.run(Main.java:1336)
at sun.security.provider.Main.main(Main.java:1374)

I can't find getRefHashCode or refs to it anywhere.

The second time I run javakey, I get this:

could not initialize scope

and that is all, no other messages. Anything I attempt to do yields the
same message.

Disappointingly, none of the Sun docs indicate any error messages and what
they mean. Guess what? You need some more useful docs. Especially your
man page, which is where I would expect to find information of this kind.

TIA,

Michael B. Vederman
Enron R&D

-------------
Thus truth magically reveals itself in many forms, even today, to those
with eyes to see and hearts open to know.