Archived Content: This information is no longer maintained and is provided "as is" for your convenience.
Summary
When running a Java Script protocols over a secure web site the script is showing the authentication error message below:
javax.naming.AuthenticationException [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission host resolve)]
Error
Error message under the recording log:
"javax.naming.AuthenticationException [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission host resolve)]
Error: System.err: at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
Error: System.err: at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
System.err: at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:367)"
Cause
The application is not able to run because the authentication denying the access to the user.
Fix
In order to pass this error message you need to comment the authentication method generated by the scrip usually those functions will be handle by JAVA RMI. Once you remove that the script should pass the authentication section.