By: Steve Sobol user 06 Sep 2022 at 4:12 p.m. CDT

5 Responses
Steve Sobol gravatar
Hello, I want to use the API both to create and delete users, but: I'm using 4.4.1. I found - downloaded and installed it according to the instructions at - but when I restarted the identity service, this happened: ``` org.jboss.weld.exceptions.DeploymentException: WELD-001414: Bean name is ambiguous. Name persistenceEntryManager resolves to beans: [Producer Method [PersistenceEntryManager] with qualifiers [@Default @Any @Named] declared as [[UnbackedAnnotatedMethod] @Produces @ApplicationScoped @Named public org.gluu.oxtrust.service.AppInitializer.createPersistenceEntryManager()], Producer Method [PersistenceEntryManager] with qualifiers [@Default @Any @Named] declared as [[UnbackedAnnotatedMethod] @Produces @ApplicationScoped @Named public org.gluu.oxtrust.service.AppInitializer.createPersistenceEntryManager()]] at org.jboss.weld.bootstrap.Validator.validateBeanName( at org.jboss.weld.bootstrap.ConcurrentValidator$5.doWork( at org.jboss.weld.bootstrap.ConcurrentValidator$5.doWork( at org.jboss.weld.executor.IterativeWorkerTaskFactory$ at org.jboss.weld.executor.IterativeWorkerTaskFactory$ at java.base/ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( at java.base/java.util.concurrent.ThreadPoolExecutor$ at java.base/ 2022-09-06 04:28:36.184:INFO :oejs.AbstractConnector:main: Started ServerConnector@5b34efe2{HTTP/1.1, (http/1.1)}{localhost:8082} 2022-09-06 04:28:36.198:INFO :oejs.Server:main: Started Server@4808bc9b{STARTING}[10.0.9,sto=5000] @18396ms ``` I'm not using Docker or Kubernetes. I used to install Gluu onto an Ubuntu VM I created specifically to run Gluu. It's running in the chroot, but not in a container. The instructions look like they're geared towards someone using a Kubernetes cluster. Help, please...

By Michael Schwartz Account Admin 06 Sep 2022 at 5:07 p.m. CDT

Michael Schwartz gravatar
We do not support using the jar file as a deployment installation mechanism. If you want to add/delete users, why don't use you SCIM? There is a `/users` endpoint--e.g. POST to add a user.

By Aliaksandr Samuseu staff 07 Sep 2022 at 10:41 a.m. CDT

Aliaksandr Samuseu gravatar
It seems like Steve tries to use oxTrust API. The docs for 4.1 tell you to deploy that jar file indeed. But there is no docs for newer versions, so we may not support its deployment like that any more, indeed. I'll ask around. What do you plan to use it for, Steve?

By Aliaksandr Samuseu staff 07 Sep 2022 at 11:07 a.m. CDT

Aliaksandr Samuseu gravatar
Here is a word from oxTrust developer: you should try next JARs instead for Gluu CE v4.4 (choose the one that closely match your minor version): - []( - [](

By Michael Schwartz Account Admin 07 Sep 2022 at 11:19 a.m. CDT

Michael Schwartz gravatar
@shekhar.laad Please update docs

By shekhar laad staff 07 Sep 2022 at 12:39 p.m. CDT

shekhar laad gravatar
@Michael.Schwartz doc has been update now.