Re: help please

Roland Schemers (Roland.Schemers@Eng)
Sat, 21 Feb 1998 21:02:48 -0800 (PST)

From: Roland.Schemers@Eng (Roland Schemers)
Message-Id: <199802220502.VAA21659@crypto.eng.sun.com>
Subject: Re: help please
To: leon@home.com (Leon Kofman)
Date: Sat, 21 Feb 1998 21:02:48 -0800 (PST)
In-Reply-To: <34EF914F.BA6DE326@home.com> from "Leon Kofman" at Feb 21, 98 09:45:35 pm

It sounds like you might be right. I think Communicator 4.0.4 doesn't
support AWT 1.1 without a patch from Netscape. You should be able to
down load the patch from Netscape, but I forgot where it is located.
It should be mentioned on their developers web page.

You could also try out Activator, which (I think) now supports
Communicator 4.x on Solaris and Win32.

roland

>
> 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
> >
>