Unable to read a known contact list error while trying to test RSA Authentication Manager Integration Service (AMIS) using amServiceHarness tool
Originally Published: 2018-05-21
Article Number
Applies To
RSA Product/Service Type: RSA Authentication Manager Prime, Authentication Manager Integration Service (AMIS)
Issue
- When trying to test AMIS using amServiceHarness tool, the following error displays:
- The following error displays in the am8.log file, located in ../rsa/logs/amis:
java.lang.Exception: ==DC== Unable to read a known contact list! STACK_TRACE[$java.lang.Exception: ==DC== Unable to read a known contact list! com.rsa.ucm.AuthManager.DriverCache.getServerList(DriverCache.java:122) com.rsa.ucm.AuthManager.DriverCache.createSessionOnPrimary(DriverCache.java:182) com.rsa.ucm.AuthManager.DriverCache.createSession(DriverCache.java:255) com.rsa.ucm.AuthManager.DriverCache.get(DriverCache.java:301) com.rsa.ucm.AuthManager.AMService.getDriver(AMService.java:123) com.rsa.ucm.AuthManager.AMService.getDriver(AMService.java:108) com.rsa.ucm.AuthManager.AMService.userCreate(AMService.java:349) com.rsa.ucm.shared.extensions.AMExtensionService.userCreate(AMExtensionService.java:141) com.rsa.ucm.shared.resources.UserManager.createUser(UserManager.java:474) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.Exception: ==DC== Unable to read a known contact list! STACK_TRACE[$java.lang.Exception: ==DC== Unable to read a known contact list! com.rsa.ucm.AuthManager.DriverCache.getServerList(DriverCache.java:122) com.rsa.ucm.AuthManager.DriverCache.createSessionOnPrimary(DriverCache.java:182) com.rsa.ucm.AuthManager.DriverCache.createSession(DriverCache.java:255) com.rsa.ucm.AuthManager.DriverCache.get(DriverCache.java:301) com.rsa.ucm.AuthManager.AMService.getDriver(AMService.java:123) com.rsa.ucm.AuthManager.AMService.getDriver(AMService.java:108) com.rsa.ucm.AuthManager.AMService.userCreate(AMService.java:349) com.rsa.ucm.shared.extensions.AMExtensionService.userCreate(AMExtensionService.java:141) com.rsa.ucm.shared.resources.UserManager.createUser(UserManager.java:474) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)java.lang.Exception: ==DC== Unable to read a known contact list! STACK_TRACE[$ java.lang.reflect.Method.invoke(Method.java:498) org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)java.lang.Exception: ==DC== Unable to read a known contact list! STACK_TRACE[$
Cause
Resolution
- SSH to the AMIS machine using the root account.
- Navigate to the directory where setenv.sh is located:
cd /opt/rsa/amis/tomcat/tomcat-amis/bin
- Open setenv.sh and edit it:
vi setenv.sh
- Make sure that the variables denoted in bold below meet the values of your environment (for more information on these values, please review the Notes section of this article):
export CATALINA_OPTS="$CATALINA_OPTS '-Damis.bind.account=amis-bind'"
export CATALINA_OPTS="$CATALINA_OPTS '-Damis.bind.account.password=Support1!'"
export CATALINA_OPTS="$CATALINA_OPTS '-Dam.server=192.168.2.50'"
export CATALINA_OPTS="$CATALINA_OPTS '-Dsmtp.server=192.168.2.120'"
export CATALINA_OPTS="$CATALINA_OPTS '-Dlog.level=DEBUG'"
export CATALINA_OPTS="$CATALINA_OPTS '-Dam.webtier.server=2k8-wt.vcloud.local'"
export CATALINA_OPTS="$CATALINA_OPTS '-Dam.command.client.user.id=CmdClient_v6t1tw6a'"
export CATALINA_OPTS="$CATALINA_OPTS '-Dam.command.client.password=AonNwxecXQITxMdvAZZ8MoXvDMbWv0'"
- Press [ESC] :wq! to save and exit:
:wq!
- Restart the AMIS service:
service tomcat-amis restart
- Run the amServiceHarness tool as an administrator.
Notes
- Damis.bind.account is the AMIS bind account created on the Security Console.
- Damis.bind.account.password is the AMIS bind account password.
- Dam.server is the Authentication Manager primary server hostname.
- Dsmtp.server is the SMTP server hostname.
- Dam.webtier.server is the Web Tier server hostname.
- Command.client.user.id is the primary Authentication Manager API client user ID.
- Command.client.password is the primary Authentication Manager API client password.
Related Articles
Passcode format error when trying to set a PIN thru a Cisco ASA 378Number of Views How to recover from "Error: The private key could not be parsed" when trying to upload the RSA SecurID Access Identity Rou… 189Number of Views AuthnContextValidator error when trying to authenticate using RSA Authentication Agent 2.0 for AD FS 92Number of Views "Unsuccessful publish to identity routers" message when trying to publish changes in the RSA SecurID Access Cloud Administ… 135Number of Views Couldn't get lock for /opt/rsa/am/server/logs/rsaserv.log error when trying to list services on RSA Authentication Manager… 430Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process RSA Authenticator 6.2.2 for Windows Administrator Guide RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows RSA Release Notes: Cloud Access Service and RSA Authenticators
Don't see what you're looking for?