ibm-mobilefirstworklight-server

Worklight Server - Failed to deploy adapter 'LinkAccount.adapter'.


From the previous problematic and devastation in installation worklight server into our websphere, IBM Worklight 6.1 - Project fails to initialize because the project database schema is from version N/A , we discover new problem after that catastrophic event. First we got this error message

Error 500: javax.servlet.
ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: FWLSE4010E: The project 'xxxx' failed to initialize, because the project WAR file is not supported by the server from version 6.1.0.00.20131126-0630. Use the migration tool to upgrade the project WAR file. [project xxxx]

Then we use the migration tool to ugrade follow from this guideline --> http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/topic/com.ibm.worklight.deploy.doc/devenv/r_migrating_old_wl_project_to_new_wl_server.html We managed to deployed the war file.

Next we want to deploy the adaptor, we encounter this error message

Failed to deploy adapter 'LinkAccount.adapter'. The 'adapter' version '6.1.0.00.20131219-1900' is different than the version of the Worklight project '6.0.0'. Use Worklight Studio '6.0.0' to build and deploy the application.

When we check the version at the console (Worklight Server), the project war version is 6.0.0. Both Studio and Server is in the same version 6.1 but need to do the migration process which downgrade the project into 6.0.0. Do missing something during the installation of Worklight server?

Our Worklight Studio (eclipse)

Our Worklight Studio (eclipse)

Worklight Server version

Worklight Server version


Solution

    1. Remove the worklight console application from WAS (Websphere application server)
    2. Stop WAS.
    3. Redeploy war file that containing worklight console
    4. Start WAS

    You need to rebuild the .wlapp and .adapter files in your studio version that have a same version with worklight server.