# signed applet

Kamran Iranpour (kamran@norsar.no)
Tue, 29 Sep 1998 09:44:54 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Maria Korotkova: "route certificate"
- Previous message: John Wegis: "Testing"
- Next in thread: Jan Luehe: "Re: signed applet"

Hi

I really appreciate if you could help me not go completely mad.

I have written an applet and taken all the steps in the
"signedwriteFile" example. The only difference is that
my applet has three different classes, one main class and two
auxiliary which send information to the main class. I put
them all in a jar file and sign the whole thing as indicated in
the example. But running Navigator 4.04 - I get the following
error:

----------------------------

java.lang.IllegalAccessError: ClockPanel.<init>()V
at Seismic.<init>(Seismic.java:38)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:462)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:398)
at sun.applet.AppletPanel.run(AppletPanel.java:237)
at java.lang.Thread.run(Thread.java)
------------------------------

Seismic is the name of the main class and ClockPanel is one
of the other classes. If I remove the two other classes and
put only the main one (Seismic) in the jar file then
everything is ok (at least in Navig. 4, not in 3) and I
can read or write files, send mail by sockets ...
I thought when signing a jar file, I do it for all the classes
and images included in the jar.
I see in the documentation that when signing the jar file
I will have the manifest file by default in a file META_INF/MANIFEST.MF
but I can't find anything like that. The directory is not
created let alone the file.
And another thing, why nothing happens when running netscape3
. I get the java Console, then in navigator I get loading the applet
and then the whole thing comes to a halt. No error, nothing
while the example "signedwriteFile" works on netscape 3.

Thank you very much in advance

Kamran Iranpour

- Next message: Maria Korotkova: "route certificate"
- Previous message: John Wegis: "Testing"
- Next in thread: Jan Luehe: "Re: signed applet"