Search code examples
ibm-mobilefirstworklight-server

IBM Worklight 6.2 App - Remote Server communication failure


I am developing a hybrid app in Worklight 6.2. I have a WorkLight Server installed Red Hat Linux 6 base as remote server.

I have give the servers ip address, port number and context root as"/worklight" in the "build settings and deploy target".

Then i added my adapter file and wlapp file into the remote servers "app" folder. I haven't made any changes in the server.xml file.

Now when i call the procedure from my app i am getting "[IPADDRESS:PORT/worklight/apps/services/api/MyApp/ipad/query] failure. state: 404, response: The server was unable to process the request from the application. Please try again later."

What am i missing and What changes do i have to make to make the request to work.?


Solution

  • The steps you are describing are not clear.

    Make sure you are following the steps as provided in the IBM Worklight Knowledge Center.

    1. First make sure the Worklight Server deployment to the application server was done correctly
      You can verify this then by loading the Worklight Console (there will be no deployed projects)

    2. Then follow the Worklight project (.war, .wlapp, .adapter) deployment to the Worklight Server instructions
      You can verify this then by loading the Worklight Console (there will be 1 deployed application)