Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Try to setup the jts server, but an Error: The basic user registry for WebSphere Liberty could not be updated

Try to set up the jts server with https://host-name:9443/jts/setup, at the step to create an administrative user, an error occurred. The error message is as follow. 

The basic user registry for WebSphere Liberty could not be updated.ID CRJAZ2952E Caused by: The basic user registry for WebSphere Liberty could not be updated. (com.ibm.team.repository.common.TeamRepositoryException)ID CRJAZ2952E

Could anyone please help me with this issue? Any advice or suggestion.

0 votes

Comments
Here are some of the messages shown in the command prompt while installing the jazz team server.

 [err] java.util.logging.ErrorManager: 2

[err] java.io.IOException: Stream Closed
[err]   at java.io.FileOutputStream.writeBytes(Native Method)
[err] java.util.logging.ErrorManager: 2
[err] java.util.logging.ErrorManager: 2
[err] java.util.logging.ErrorManager: 2
[err] java.io.IOException: Stream Closed
[err] java.io.IOException: Stream Closed
[err] java.io.IOException: Stream Closed
[err]   at java.io.FileOutputStream.writeBytes(Native Method)
[err]   at java.io.FileOutputStream.write(FileOutputStream.java:342)
[err]   at java.io.FileOutputStream.writeBytes(Native Method)
[err]   at java.io.FileOutputStream.writeBytes(Native Method)
[err]   at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)



Does the user who runs your Liberty have write access so Liberty can update the basicUserRegistry.xml? On Windows this is at  <JazzInstallFolder>\server\liberty\servers\clm\conf\basicUserRegistry.xml



Accepted answer

Permanent link
The basic user registry is a file, so my guess is that yours is read only.

If you are on Windows then you need to make sure your server is either installed in a non-protected folder (so outside C:\Program Files), or you need to run your server as a Local Admin. My preference is to always install the server outside of the protected area and run the server as a non-admin user

If you are in Linux then you need to make sure you the entire directory system where you have installed the server is owned by the user:group that runs the server, and make sure the file has user write permissions
Jundong Chen selected this answer as the correct answer

0 votes


2 other answers

Permanent link
Hi Jundong

It is not clear what OS you have ELM installed on. We see similar case before and it seems the problem may be related to resource etc, restarting the server would help in that case, see a Japanese technote which also suggests to restart the machine:

Hopefully this helps.

0 votes


Permanent link

 Hi Jundong,


if you seek help here on the forum, have the curtesy to provide the most basic required information such as operating system, version numbers and the like.  


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,497
× 6,124
× 1,327

Question asked: Jan 25 '22, 4:34 p.m.

Question was seen: 1,558 times

Last updated: Jan 26 '22, 5:12 p.m.

Confirmation Cancel Confirm