Home » Developer & Programmer » Forms » Javamail form - java.security.AccessControlException: access denied-java.net.SocketPermission
Javamail form - java.security.AccessControlException: access denied-java.net.SocketPermission [message #423499] Thu, 24 September 2009 15:57 Go to next message
sammydude
Messages: 34
Registered: November 2007
Member
Hi,

I'm using a javamail pjc downloaded from Francois Degrelle's blog.

http://fdegrelle.over-blog.com/article-4709443.html

Am getting the following error when I try sending the mail from the javamail form.

SendMessage: java.security.AccessControlException: access denied (java.net.SocketPermission <smtp host name> resolve)

I have already set the following permission in java.policy file on the forms server machine.

permission java.net.SocketPermission "*", "connect,resolve";

What could be the reason for the error?
Pls help.

Regards,
Sam
Re: Javamail form - java.security.AccessControlException: access denied-java.net.SocketPermission [message #425729 is a reply to message #423499] Mon, 12 October 2009 00:57 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

Have you contacted 'fdegrelle'?

David
Previous Topic: forms_mdi_window problem
Next Topic: How to set the header for second page
Goto Forum:
  


Current Time: Mon Sep 26 14:33:09 CDT 2016

Total time taken to generate the page: 0.09187 seconds