# Re: help please

Leon Kofman (leon@home.com)
Sat, 21 Feb 1998 21:45:35 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pre-Ipos: "PRE-IPOs AVAILABLE"
- Previous message: ToRchLyTe@aol.com: "Who can I ask questions ??"
- Maybe in reply to: Leon Kofman: "help please"
- Next in thread: purchasing: "Re: help please"

    Date: Sat, 21 Feb 1998 21:45:35 -0500

    From: Leon Kofman <leon@home.com>

    To: Roland Schemers <Roland.Schemers@Eng>

    Subject: Re: help please

Thank you very much for your previous response. I saved a lot of time
by not trying to figure out RSA specifics! Your response is even more
appreciated given the kind of e-mail I got from Netscape support in
response to a technical question. Basically the told me to join their
DevEdge(sp?) program (not inexpensive) and maybe then they will get
somebody who can possibly understand the question to look at it. That's
an interesting approach to getting ISV's to work with Netscape and their
products! I have included their brush-off below. Feel free to
distribute it to the world.

Anyway, now that I got that off my chest, a real question:
I tried running a awt-1.1 demo applet from jdk.1.1.5 distribution and
got the same exception that I am getting with my applet:
Url:
file:///C|/MyInstallations/jdk115/demo/awt-1.1/lightweight/OpenlookButtons/example.html

Java console message (Netscape Communicator 4.0.4):
----
This seems to be a 1.1 browser/viewer!
Switcher initialization failed: Exception when calling init() method of
actual.ExampleApplet
java.lang.IllegalAccessError: java.awt.Component.<init> ()V
at actual.OpenlookButton.<init>(OpenlookButton.java:42)
* at actual.ExampleApplet.init(ExampleApplet.java:35)
at Switcher.init(Switcher.java:120)
at netscape.applet.DerivedAppletFrame.run(DerivedAppletFrame.java)
at java.lang.Thread.run(Thread.java)

It seems to me that Netscape 4.0.4 doesn't speak awt-1.1 yet. Am I
correct? If not, what is the problem?

Thanks very much - Leon Kofman
leon@home.com

===================================
Roland Schemers wrote:
>
> >
> > Folks,
> >
> > I am having a tough time creating a signed JAR (running it actually).
> > I am using jdk 1.1.4 and am following all the directions from the "duke"
> > example at http://java.sun.com/security/signExample/doit.
>
> Is this on windows? There was a bug in 1.1.4 that caused the signing to
> be ignored. There is a work around if you'd like it, otherwise I would
> suggest you grab 1.1.5 which fixed the bug.
>
> > How does one get 'sun.applet.AppletSecurityException: checkpropsaccess'?
>
> You get that by trying to do a System.getProperties or System.setProperties
> call.
>
> > I can run my applet in the appletviewer. However, when I make a jar
> > from the .class file in which extends Applet and a directory with my
> > "package/*.class" files, I get the exception above.
> >
> > Any help on this would be greatly appreciated. Also, how does one sign
> > archives with digital ID's from VeriSign (or other SA's)?
>
> Currently that is not supported. The JDK only supports DSA, as we don't
> have permission from RSA to include the necessary algorithms in the
> JDK to parse jars signed with RSA. We are trying to work on a
> solution for this...
>
> thanks, roland

-------- Netscape Developer Relations Response ------
> Dear Leon,
>
> Netscape has many resources available to provide guidance with your
> development support issues. For a complete listing please see
> http://developer.netscape.com/support/supportfaq.html.
>
> Eva Schlosser
> Developer Relations
> Netscape Communications Corp
>
>
>
> Original message follows:
> -------------------------
>
> Folks,
>
> I am attempting to test the IIOP of the ORB inside the
> Communicator 4.04 and I am having a tough time with the
> Java Security Exceptions (running Enterprise Server 3.0 on NT4.0).
>
> Who can I get a hold of (email OK) to get to the bottom of
> this? Here is a short description of the problem:
>
> I can run my Java client code from the appletviewer (jdk 1.1)
> but when I try it via the browser, I get the exception:
>
> # Security Exception: checkpropsaccess
> getServer Exception: netscape.security.AppletSecurityException:
> security.checkpropsaccess
> # UniversalPropertyWrite privilege not enabled: Modifying
> sensitive information stored in your computer, agent: theAgent,
> inst: null
>
> Any clue as to what I have to to to get around this exception
> (Property that needs to be set by the applet?) would be greatly
> appreciated.
>
> By the way, I am not using the OSAgent (I get my IOR
> via http get), so the property DISABLE_ORB_LOCATOR is already
> set in the applet.
>
> Thanks - Leon Kofman
>

- Next message: Pre-Ipos: "PRE-IPOs AVAILABLE"
- Previous message: ToRchLyTe@aol.com: "Who can I ask questions ??"
- Maybe in reply to: Leon Kofman: "help please"
- Next in thread: purchasing: "Re: help please"