Security Violations on the mac
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Donnacha_Dunne
Posted On:   Thursday, December 20, 2001 10:25 AM

I am writing a simple signed applet to manipulate printing functionality. my code works on windows2000 (IE 5 and Netscape 4.78) but will not work on the mac. I have read various web articles about support for signed applets on the web some of which contradict eachother. Does anyone have a difinitive answer in relation to support for signed applets on the mac ? Is it possible to perform a print operation without the use of the MRJ plugin. ? Oh and if all that was not enough... I have included the exceptions from the browers below. Any help would be very much appreciated. IE gives me the following exception: java.lang.Class   More>>

I am writing a simple signed applet to manipulate printing functionality. my code works on windows2000 (IE 5 and Netscape 4.78) but will not work on the mac.
I have read various web articles about support for signed applets on the web some of which contradict eachother.



Does anyone have a difinitive answer in relation to support for signed applets on the mac ?



Is it possible to perform a print operation without the use of the MRJ plugin. ?



Oh and if all that was not enough... I have included the exceptions from the browers below.



Any help would be very much appreciated.



IE gives me the following exception:



java.lang.ClassNotFoundException: com.ms.security.PermissionID
at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderOld.java)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java)
at PrintableFrame.print(PrintApp.java:35)
at ButtonActionListener.actionPerformed(PrintApp.java:12)
at java.awt.Button.processActionEvent(Button.java)
at java.awt.Button.processEvent(Button.java)
at java.awt.Component.dispatchEventImpl(Component.java)
at java.awt.Component.dispatchEvent(Component.java)
at java.awt.EventDispatchThread.run(EventDispatchThread.java)




and netscape 4.5 on the mac gives me the following:




# Error: The security library has experienced a database error.
You will probably be unable to connect to this site securely. (-1982)
# jar file: /Macintosh HD/Temporary Items/jzip3
# path: /Macintosh HD/Temporary Items/jzip3
# Error: loading of signatures has failed (-1)
# jar file: /Macintosh HD/Temporary Items/jzip3
# path: /iom/
# Verifier error PrintApp.init()V: Cannot find class java/awt/event/ActionListener
# Applet exception: class PrintApp got a security violation: method verification error
java.lang.VerifyError: PrintApp
at java.lang.ClassLoader.resolveClass(Compiled Code)
at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
* at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
at netscape.applet.DerivedAppletFrame.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)

   <<Less
About | Sitemap | Contact