# Re: Frustrated...

Marianne Mueller (mrm@Eng)
Thu, 24 Jul 1997 12:25:21 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Michael B. Vederman: "Re: Frustrated..."
- Previous message: Marianne Mueller: "Re: DES: No such algorithm"
- Maybe in reply to: Michael B. Vederman: "Frustrated..."
- Next in thread: Michael B. Vederman: "Re: Frustrated..."

    Date: Thu, 24 Jul 1997 12:25:21 -0700

    Message-Id: <199707241925.MAA00725@puffin.eng.sun.com>

    From: Marianne Mueller <mrm@Eng>

    To: mvederm@enron.com

    Subject: Re: Frustrated...

Dear Michael,

First, our apologies for not getting back to you. We try to answer
questions sent to the java-security@java.sun.com alias, but (for
better or worse!) please understand that is not a typical support
alias, but it's an email alias that sends questions to the JavaSoft
security team. As time and schedule permits, we try to answer
questions. Since we know we don't have bandwidth to answer all the
questions, we sometimes hit a representative sample, and post a
hypermail archive at
http://jserv.javasoft.com/hypermail/java-security-archive/index.html

Second, JavaSoft does have a program called the Java Developer
Connection. Have you registered with that? See
http://developer.javasoft.com

The description is

"The Java Developer Connection (JDC) is for individual developers.
JDC is a free service offering on-line training, a serachable bug
database, product discounts, feature articles, and more. JDC also
features on-line discussion forums with industry luminaries like James
Gosling, among others."

Third, to get to your question!

I just now reinstalled from scratch the JDK 1.1.3 on a Windows 95
machine and on a Windows NT machine, and ran through an entire

generate identity - generate keypair and certificate -
create jar file - sign jar file

sequence on both platforms. Both did work OK, so I don't think there
is bug in the javakey program that prevents it from working on Windows
NT.

Do you have your CLASSPATH set, by any chance? The two suggestions
I have to help debug this problem:

a) make sure your PATH variable is set correctly, and that
you are using javac, java and the classes from JDK 1.1.3

b) make sure that CLASSPATH is not set

You don't need to set CLASSPATH, by default. The java and javac
scripts will automatically find the right classes for the JDK that
they accompany.

Can you try without CLASSPATH set, and see if that works?

The reference to "getRefHashCode" is a red flag, since indeed, that is
not a method that we use anywhere. That's why I wonder if maybe you
have your CLASSPATH set to pick up classes from another version of
JDK, perhaps from a different source than JavaSoft?

Thanks for your patience and best of luck,
Marianne
JavaSoft Security Group

p.s. See also the hypermail archive at
http://jserv.javasoft.com/hypermail/java-security-archive/index.html

> From: "Michael B. Vederman" <mvederm@enron.com>
> Date: Wed, 23 Jul 1997 13:47:31 -0500
> X-MSMail-Priority: Normal
> X-Priority: 3
>
> Excuse the tone of this message, but please read on...
>
> After repeated attempts at getting someone to respond to my query, I am
> once again trying, but not using one of the provided 'support' channels,
> but many, in the hopes someone will read this message and respond. They
> have been utterly useless as nobody feels fit to reply to me.
>
> I work for Enron, *the* largest marketer and supplier of Natural Gas and
> Electricity in North America. We are doing major development with Java,
> including massive rewrites of key systems, yet Sun does not feel as though
> responding to my troubles is worthwhile??? Did I mention that just about
> every desk here has a Sun workstation? (How many thousands of workstations
> could this be?) I'm sorry if we are not valued enough as a customer for
> you to provide support.
>
> To that end, I have tried several times (sending this to different email
> addresses) without getting a response. I've now waited several weeks to
> get an answer that has completely stopped my development, which is
> intolerable.
>
> I have not received any support via the online news groups, as well.
>
> My original question follows. If someone can reply to me via email, then I
> will be much more appreciative than at this particular moment.
>
> Michael B. Vederman
> =========================================================
>
> I'm trying to run thru Sun's applet signing tutorial using JDK 1.1.3 on NT.
>
> Whenever I run javakey for the first time using their example: javakey -cs
> Duke true
>
> I get the following stack trace:
>
> 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 anywhere, so I don't know if it's a class or
> method...
>
> The second time I run ijavakey, I get this:
>
> could not initialize scope
>
> Anyone have any ideas what is going wrong? What is most upsetting is that
> nowhere does any of the Sun docs indicate error messages and what they
> mean. The man page for javakey conveniently ignores any comments regarding
> failure of the software to work properly.... grrr....
>
> HELP!
>
> Thanks in advance!
>
> Michael B. Vederman
> Enron R&D
>
>

- Next message: Michael B. Vederman: "Re: Frustrated..."
- Previous message: Marianne Mueller: "Re: DES: No such algorithm"
- Maybe in reply to: Michael B. Vederman: "Frustrated..."
- Next in thread: Michael B. Vederman: "Re: Frustrated..."