-1

We installed WAS liberty and we used 'Server configuration tool' for 'server and runtime' deployments (on linux). It builds and deploys successfully

when we type in http://localhost:9080/worklightconsole using default user 'demo/demo' it throws an error

"User not authorized to log in the console"

Please help us to resolve this error

Thanks Sathish Kumar

Idan Adar
  • 44,156
  • 13
  • 50
  • 89
Sathish Kumar
  • 2,150
  • 10
  • 29
  • 51
  • In fact we tried by deleting both 'server configuration' and 'runtime environment' and redid it. But no change – Sathish Kumar Jul 20 '15 at 14:46
  • Upload your messages.log as well as server.xml so they could be inspected. – Idan Adar Jul 20 '15 at 15:00
  • Sorry, I am not sure how to upload files. But messages.log has the following error [7/20/15 18:46:14:673 IST] 000001bc .ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl A CWWKS9104A: Authorization failed for user demo while invoking worklightconsole on /index.html. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer]. and what info do you require from server.xml? if possible I can search that and post it. I could see both 'username' and 'password' are set to 'demo' – Sathish Kumar Jul 20 '15 at 15:11
  • Dropbox, pastebin, Google Docs, ... plenty of services are available at your disposal. – Idan Adar Jul 20 '15 at 15:12
  • Do you have gmail or yahoo id so that I can send the files ? – Sathish Kumar Jul 20 '15 at 15:19
  • No. Please upload them. You can sanitize them (change names, add ****) if you have sensitive information there. – Idan Adar Jul 20 '15 at 15:19
  • can you initiate a chat with me ? because I could not initiate a chat as my reputation is too low and I don't know how to use dropbox and other utilities and I see the following in server.xml 241 242 243 244 245 – Sathish Kumar Jul 20 '15 at 15:36
  • No. Upload the files. – Idan Adar Jul 21 '15 at 11:36
  • Is this resolved or does it still happen? If it still happens please provide the requested files as you have done in another question of yours. – Idan Adar Jul 22 '15 at 17:24
  • Sathish Kumar Please respond! – Idan Adar Jul 24 '15 at 05:34
  • The issue was resolved by restarting server on WAS (ex simpleServer) – Sathish Kumar Jul 24 '15 at 09:40
  • Sathish, please either write it as an answer or delete this question. – Idan Adar Jul 24 '15 at 09:52

1 Answers1

0

For whatever reason, the liberty server had to be re-started in order to take into account the username and password defined in the deployed MobileFirst Server's server.xml file.

After restarting the server, the username and password were then accepted in the login screen.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89