T
Terri I.
I am getting the following stacktrace when I try to launch a method in
a
signed Java applet via a JavaScript event. In my application, a user
can
click on an image and the onmousedown event launches a signed applet.
This
works fine using the native JVM in Netscape 4.75. But when I try to
do this
in Netscape 7 using the 1.4 plug-in, I get errors. I can call an
unsigned
applet just fine. And the code in my signed applet works fine if I
put it all
in the init() method, even if I pass in a parameter. There's only a
problem if
I try to call a specific method. What is the problem??
Oh yeah, the html file and the jar file are in the same directory on
the same server.
java.security.AccessControlException: access denied
(java.io.FilePermission
w:\hyperionics\hypersnap\hsdx.exe execute)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at LaunchHSDXPlugIn.openImageinHSDX(LaunchHSDXPlugIn.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
a
signed Java applet via a JavaScript event. In my application, a user
can
click on an image and the onmousedown event launches a signed applet.
This
works fine using the native JVM in Netscape 4.75. But when I try to
do this
in Netscape 7 using the 1.4 plug-in, I get errors. I can call an
unsigned
applet just fine. And the code in my signed applet works fine if I
put it all
in the init() method, even if I pass in a parameter. There's only a
problem if
I try to call a specific method. What is the problem??
Oh yeah, the html file and the jar file are in the same directory on
the same server.
java.security.AccessControlException: access denied
(java.io.FilePermission
w:\hyperionics\hypersnap\hsdx.exe execute)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at LaunchHSDXPlugIn.openImageinHSDX(LaunchHSDXPlugIn.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)