RSA Signed Applet still gives SocketExcpetion due to permissions

S

SPG

Hi,

We have an applet that is signed using an RSA key.
It used to work fine apparently but I cannot get it to work.

When the socket attempts to connect, we get the following exception:

Error: access denied (java.net.SocketPermission 127.0.0.1:0 connect,resolve)

Now, We also have an MS JVM version of this applet, also signed and this
works fine. I am using the standard Java Plugin from the SUN site for the
*real* java version of the applet, but to my dismay this is the version that
does not work!!

We get the "Accept Certificate" banner when the applet loads, and we accept
the cert, and bang.. Exception heaven.

Now, we are using APPLET tags in our HTML. I am not sure if we need to use
the cruddy OBJECT wrapper for MS IE?? Other than that I am stumped.

Help me please!

Steve
 
A

Andrew Thompson

Now, we are using APPLET tags in our HTML. I am not sure if we need to use
the cruddy OBJECT wrapper for MS IE?? Other than that I am stumped.

I have no answer for you, but will
point out that the WassUp applet is
signed, and delivered using applet tags..
<http://mindprod.com/wassup.html>

How do you go with that?
 
S

SPG

Hmm.. See now that works.
I am at home now, so will try it at work in the morning.
I am sure there is a simple solution, like I did sommat wrong, but what? Who
knows.

Cheers anyway!
 
R

Roedy Green

Error: access denied (java.net.SocketPermission 127.0.0.1:0 connect,resolve)

I don't think you have a permission problem; you have a screwy socket
problem. Nobody's home at localhost:0.

What is does the statement say that is triggering the exception?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top