It's all about the answers!

Ask a question

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


Jundong Chen (192) | asked Jan 25, 4:34 p.m.

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.


Comments
Jundong Chen commented Jan 25, 4:49 p.m.
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)




Ian Barnard commented Jan 26, 4:10 a.m.
JAZZ DEVELOPER

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
Davyd Norris (1.5k12) | answered Jan 26, 5:12 p.m.
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

2 other answers



permanent link
Don Yang (7.4k2195130) | answered Jan 25, 7:46 p.m.
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.

permanent link
Ralph Schoon (60.5k33643) | answered Jan 26, 5:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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.  


Your answer


Register or to post your answer.