-
-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Description
Describe the bug
error provisioning identity with ssoadmin tools
To Reproduce
Steps to reproduce the behavior:
- use docker to stand up openAM
docker run -h openam-01.domain.com -p 8080:8080 --name openam-01 openidentityplatform/openam - Navigate to
http://localhost:8080/openam - Click
create default configurationand enter required passwords and wait for configuration to complete. - Create a bash session to docker container
docker exec -it openam-01 bash - Install ssoadmin tools
cd /usr/openam/ssoadmintools && ./setup --acceptLicense --path /usr/openam/config --log /tmp --debug /tmp - Create a password file
echo "<password for amAdmin from Step #3> >> password.txt && chmod 400 password.txt /usr/openam/ssoadmintools/openam/bin/ssoadm create-identity -u amAdmin -f /usr/openam/config/password.txt -e / -t User -i new-user --debug
Expected behavior
Identity is provisioned in openAM
Actual behavior
openam@openam-01:/usr/openam/config$ /usr/openam/ssoadmintools/openam/bin/ssoadm create-identity -u amAdmin -f /usr/openam/config/openam-password.txt -e / -t User -i newuser --debug
amUtil:02/22/2023 07:36:33:988 PM UTC: Thread[main,5,main]: TransactionId[unknown]
CloseableHttpClientHandlerProvider.get: System proxy enabled for HttpClientHandler: false
CreateIdentity.handleRequest
Message:New Generic Exception
at com.sun.identity.idm.remote.IdRemoteServicesImpl.processException(IdRemoteServicesImpl.java:164)
at com.sun.identity.idm.remote.IdRemoteServicesImpl.getSupportedOperations(IdRemoteServicesImpl.java:653)
at com.sun.identity.idm.AMIdentityRepository.getAllowedIdOperations(AMIdentityRepository.java:192)
at com.sun.identity.cli.idrepo.CreateIdentity.handleRequest(CreateIdentity.java:85)
at com.sun.identity.cli.SubCommand.execute(SubCommand.java:296)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:217)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:139)
at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:581)
at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:178)
at com.sun.identity.cli.CommandManager.main(CommandManager.java:155)
CommandManager.<init>
com.sun.identity.cli.CLIException: Message:New Generic Exception
at com.sun.identity.cli.idrepo.CreateIdentity.handleRequest(CreateIdentity.java:105)
at com.sun.identity.cli.SubCommand.execute(SubCommand.java:296)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:217)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:139)
at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:581)
at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:178)
at com.sun.identity.cli.CommandManager.main(CommandManager.java:155)
Caused by: Message:New Generic Exception
at com.sun.identity.idm.remote.IdRemoteServicesImpl.processException(IdRemoteServicesImpl.java:164)
at com.sun.identity.idm.remote.IdRemoteServicesImpl.getSupportedOperations(IdRemoteServicesImpl.java:653)
at com.sun.identity.idm.AMIdentityRepository.getAllowedIdOperations(AMIdentityRepository.java:192)
at com.sun.identity.cli.idrepo.CreateIdentity.handleRequest(CreateIdentity.java:85)
... 6 more
echo $? results in 127
From /tmp/IdRepo
amIdmClient:02/22/2023 07:36:37:434 PM UTC: Thread[main,5,main]: TransactionId[unknown]
ERROR: IdRemoteServicesImpl.processException(): caught remote/un-known exception -
java.rmi.RemoteException: no-server-found
at com.sun.identity.shared.jaxrpc.SOAPClient.call(SOAPClient.java:192)
at com.sun.identity.shared.jaxrpc.SOAPClient.send(SOAPClient.java:329)
at com.sun.identity.shared.jaxrpc.SOAPClient.send(SOAPClient.java:315)
at com.sun.identity.idm.remote.IdRemoteServicesImpl.getSupportedOperations(IdRemoteServicesImpl.java:639)
at com.sun.identity.idm.AMIdentityRepository.getAllowedIdOperations(AMIdentityRepository.java:192)
at com.sun.identity.cli.idrepo.CreateIdentity.handleRequest(CreateIdentity.java:85)
at com.sun.identity.cli.SubCommand.execute(SubCommand.java:296)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:217)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:139)
at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:581)
at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:178)
at com.sun.identity.cli.CommandManager.main(CommandManager.java:155)
Desktop (please complete the following information):
- OS: macOS + docker
- Browser: Chrome
- Version 110
Additional context
Other ssoadm commands work as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels