Java Script is showing authentication error message “javax.naming.AuthenticationException”

  • KM00395016
  • 29-Mar-2013
  • 29-Mar-2013

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.


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 access denied ( host resolve)]


Error message under the recording log:
"javax.naming.AuthenticationException [Root exception is access denied ( host resolve)]
Error: System.err:    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(
Error: System.err:    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(
System.err:  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext("


The application is not able to run because the authentication denying the access to the user.


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.