Troubleshoot

A message similar to the following may be displayed when using the identity token configuration script cfgIdToken.jacl:

Message:WASX7017E: Exception received while running file "/QIBM/ProdData/OS400/Java400/cfgIdToken.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: AdminControl service not available

Cause:

  • The application server or deployment manager of the WebSphere profile is not started.
  • The wsadmin option -conntype NONE is specified.

The following configuration related messages may be returned by the sample application to your Web browser session:

Message: com.ibm.as400.access.AS400SecurityException: User ID is not known.

Cause: EIM contains no mapping for the userID used to login to the sample application.

Message: com.ibm.as400.access.ServerStartupException: Password encryption indicator is not valid.

Cause: The target iSeries system is not configured for EIM.

Message: java.net.ConnectException: A remote host refused an attempted connect operation.

Cause: The target system is not an iSeries system.

Message: The lookup for the connection factory failed. Either, the connector is not configured, or the servlet's resource reference (JNDI name) is not set correctly in the web.xml file. The servlet expects the resource reference in web.xml to be eis/IdentityToken_Shared_Reference

Cause: Either, the connector is not configured, or the servlet's resource reference (JNDI name) is not set correctly in the web.xml file. The servlet expects the resource reference in web.xml to be eis/IdentityToken_Shared_Reference.

Message: The JAAS Subject object was not passed to the J2C connector, because WAS security is not correctly configured for the servlet.

Cause: WebSphere global security is not enabled.

Message: javax.resource.ResourceException: com.ibm.eim.jndi.DomainJNDI:method_name: failed to connect to initial directory context

Cause:

  • The authentication data entry configured for the connection factory contains an invalid LDAP distinguished name.
  • The authentication data entry configured for the connection factory contains an invalid LDAP password.
  • The LDAP host name configured for the connection factory is invalid.
  • The LDAP port configured for the connection factory is invalid.
  • The LDAP server is not started.
  • The EIM domain name configured for the connection factory is invalid.
  • The EIM parent name configured for the connection factory is invalid.

Message: javax.resource.ResourceException: Input url is null or invalid

Cause: No LDAP host name is configured for the connection factory.

Message: com.ibm.as400.access.AS400SecurityException: An unknown problem has occurred.

Cause:

  • The target iSeries system is not joined to the EIM domain configured for the connection factory.
  • The EIM source registry name is invalid.