Search code examples
websphereibm-mobilefirstworklight-server

IBM Worklight 6.2 No runtime console in WAS ND 8.5.5


I deployed a worklight sample project "sample.war" into a clustered environment in IBM WAS ND 8.5.5 using Worklight Server Configuration tool.

ENVIRONMENT DETAILS:

Worklight build: 6.2.0.00.20140801-1709

IBM WAS ND: 8.5.5.0

"Server error.Contact the server administrator" while try to access the Worklight Console[http:// servername:9080/worklightconsole]

Error log from Sytemout.log

[10/5/14 6:31:54:373 PDT] 000000b2 RuntimeServic E   No user in security context! A <security-constraint> may be missing from web.xml.
[10/5/14 6:31:54:630 PDT] 000000af PrivExAction  W   J2CA0144W: No mappingConfigAlias found for ConnectionFactory or DataSource jdbc/WorklightAdminDS_Work

server.xml

SystemOut.log traces

SystemOut.log traces


Solution

  • The error No user in security context! is an indication that application security is not enabled in the application server.

    The remedy is:

    1. Enable administrative security in the WAS console. Then enable application security in the WAS console. See also http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/c_securing_wladmin.html?lang=en
    2. Configure the mappings of the JEE roles, as described in http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_configuring_was_for_wl_admin.html?lang=en