Search code examples
ibm-mobilefirstworklight-adapters

Cannot get sample CustomLoginModule to work


I imported the project from the zip file on worklight getting started page. build android, run as android and got the error below when I click 'call protected adadpter proc'

07-03 09:21:29.400: E/NONE(822): [http://'':10080/CustomLoginModule/apps/services/api/CustomLoginModule/android/query] failure. state: 500, response: FWLSE0009W: User identity is null. Check your application's authentication requirements. These settings must match to the deployed application [project CustomLoginModule]


Solution

  • Try to get the project running by cleaning the Worklight project.

    In Eclipse, click on the Project menubar option and choose Clean....
    Next, re-deploy the adapter and application using the Run As menus.

    enter image description here