Note that there are some explanatory texts on larger screens.

plurals
  1. POWorklight Direct Update stuck in download loop
    primarykey
    data
    text
    <p>I am using Worklight 6.0.0.1, my application uses wlInitOptions, connectOnStartup and checks if there is any update on the server. </p> <p>The Direct Update feature is behaving weird, sometimes the application gets updated properly and sometimes it keeps on downloading and unpackaging the application over and over. So far I have not found any solution to it, I have made sure that my Worklight Studio version is same as Worklight Server version. </p> <blockquote> <p>This happens on both Production and Test servers, I have followed both options, i.e. only Uploading the WLAPP file and in another try I re-installed the WAR file, re uploaded the WLAPP file, but still the problem persists. My production has two servers, both separate, and connected to a load balancer with sticky sessions enabled. My test has ONE server, connected to load balancer.</p> <p>I am using DB2 as a local database for all 3 servers. Surprisingly Worklight Studio (Development) works perfectly fine. The problem is for both Android and iOS.</p> </blockquote> <p>Below are the steps I am following:</p> <ol> <li>Import the project in my Worklight Studio (Desktop)</li> <li>Build and Run on local machine</li> <li>Deploy all the adapters</li> <li>Build and Run on local machine</li> <li>Verifying functionality</li> <li>Change the authenticationConfig.xml to use Console authentication (I use the same file every time with same username password)</li> <li>Change the worklight.properties to point to production server</li> <li>Provide console.username and console.password </li> <li>Build for Remote Server (provide the URL of production/test server) 10.Upload the application on the worklight console</li> <li>Try opening the application.</li> <li>First time Direct Update works fine, if I follow the same steps , on the next update it starts going in download and unpackage loop.</li> </ol> <p>Anyone else experiencing the same ? any workarounds/solutions? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload