Hi,
It's an applet security issue.  Read http://java.sun.com/sfaq/
especially the part about originating host.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Celona, Paul - AES [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 07, 2004 10:42 AM
>To: [EMAIL PROTECTED]
>Subject: Can't connect from applet
>
>
>I have developed an applet that can connect to the database and access
>the data I need. When I run the same applet under Tomcat, I get the
>following exception
>
>
>Unable to connect to any hosts due to exception
>java.security.AccessControlException: access denied
>(java.net.SocketPermission 10.1.1.243:3306 connect, resolve)
>
>
>I only get this exception when I run a browser on the same computer
>(10.1.1.243)  that tomcat/mysql are running from. Accessing this from
>other browsers on other computers is not a problem. Is this an issue
>with MySql or Tomcat or Applets?
>
>
>************************************
>This email and any files transmitted with it are proprietary and
intended
>solely for the use of the individual or entity to whom they are
addressed.
>If you have received this email
>in error please notify the sender. Please note that any views or
opinions
>presented in this email are solely those of the author and do not
>necessarily represent those of ITT Industries, Inc.
>The recipient should check this email and any attachments for the
presence
>of viruses. ITT Industries accepts no liability for any damage caused
by
>any virus transmitted by this
>email.
>************************************



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to