com.sun.identity.cli.CLIException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • CLI configuration problem.
    via by 800645,
  • $openam/bin/ssoadm import-svc-cfg --adminid amadmin -d -f adminpassword.txt -e secret -v -X backup_file Process Request ... Constructing Request Context... Validating mandatory options... Processing Sub Command ... Executing class, com.sun.identity.cli.schema.ImportServiceConfiguration. Connecting to directory server. Connected to directory server. com.sun.identity.cli.CLIException: Unable to import service configuration because we are unable to recognize the data store type. We support Sun Directory Server and Embedded OpenDS as service configuration data store. at com.sun.identity.cli.schema.ImportServiceConfiguration.handleRequest(ImportServiceConfiguration.java:118) at com.sun.identity.cli.SubCommand.execute(SubCommand.java:291) at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:212) at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:134) at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:584) at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:182) at com.sun.identity.cli.CommandManager.main(CommandManager.java:146) Unable to import service configuration because we are unable to recognize the data store type. We support Sun Directory Server and Embedded OpenDS as service configuration data store. The import command expects one of the following vendor strings : DirectoryServerVendor.java private static String VENDOR_OPENDS = "OpenDS Directory Server "; private static String VENDOR_SUNDS_5 = "Sun-ONE-Directory/"; private static String VENDOR_SUNDS_6 = "Sun-Java(tm)-System-Directory/"; But the Oracle-branded Sun directory server has the following string : vendorVersion: Sun-Directory-Server/11.1.1.3.0 Is this Directory Server supported by OpenAM ? If yes, can you please add support for this vendor string ?
    via by Steve Ferris,
    • com.sun.identity.cli.CLIException: AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token. Check AMConfig.properties for the following properties com.sun.identity.agents.app.username com.iplanet.am.service.password at com.sun.identity.cli.LogWriter.log(LogWriter.java:109) at com.sun.identity.cli.Authenticator.ldapLogin(Authenticator.java:169) at com.sun.identity.cli.AuthenticatedCommand.ldapLogin(AuthenticatedCommand.java:158) at com.sun.identity.cli.serverconfig.ListServers.handleRequest(ListServers.java:59) at com.sun.identity.cli.SubCommand.execute(SubCommand.java:290) at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:212) at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:134) at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:568) at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:164) at com.sun.identity.cli.CommandManager.main(CommandManager.java:141)
    No Bugmate found.