Refreshing Server Configuration Displays Only Partial Updates

Problem: The Refresh button in the Server Configuration node does not display correct properties or values, despite changes being made and saved. Updates consequently appear to have been lost. In some scenarios, when you save the Server Configuration, it fails with the message Save Failed.

Scenario 1: After restarting SAP Mobile Server, refreshing the server configuration displays the first saved change, but not subsequent saved updates. The message Save Failed appears in the administration console after you attempt to save an update.

In this scenario, the second save was likely unsuccessful. The message Save Failed indicates a conflict with the first set of updates.

Cumulative saved changes are applied successfully upon server restart only if these updates do not conflict. Attempting to save two conflicting sets of changes fails.

Solution: Inject a server restart in between each saved change to ensure that the required updates are propagated across the server.

Scenario 2: After restarting SAP Mobile Server, refreshing the server configuration displays the final saved update, but not previous ones.

The refresh action following saved configuration changes must be used in conjunction with an SAP Mobile Server restart. Refreshing the server configuration displays the latest successfully saved configuration information.

If you click Refresh in between two sets of saved changes, only the most recent saved updates are applied during a server restart, as in the following Hybrid App:
  1. Make the first change.
  2. Save the configuration.
  3. Refresh the configuration.
  4. Make the second change.
  5. Save the configuration.
  6. Restart the server.
  7. Refresh the configuration.
In this sequence, only the second set of changes in step 4 are committed and consequently displayed as the current set of properties used by SAP Mobile Server.

Solution: If you refresh the configuration after saving updates to it, restart SAP Mobile Server immediately to apply those changes before making another set of updates. Otherwise, the first set of configuration changes will be lost. The Refresh button allows you to then validate that those changes are applied and used by SAP Mobile Server. For details on how to refresh the server in the correct sequence, see Saving and Refreshing an SAP Mobile Server Configuration in the SAP Control Center for SAP Mobile Platform online help.