Known Issues for SAP Mobile Server

Learn about known issues and apply workarounds for SAP Mobile Server.

Issue #Description
SMPONP-15180
Information remains in the clusterdb after uninstalling a cluster node.

Server node still appears in SAP Control Center after uninstallation of the node.

Workaround: This issue does not affect runtime behavior. You can remove the server node completely by manually executing this SQL script on the clusterdb database:
DELETE FROM PACKAGE_SYNC_DATA WHERE NODENAME IN (SELECT mp.VALUE1 FROM MEMBER_PROP AS mp, CLUSTER_MEMBER 
   AS cm WHERE mp.NAME='sup.appservername' AND mp.MEMBERID = cm.MEMBERID AND cm.NAME LIKE '%###toDelete'); 
DELETE FROM SYNC_VERSION WHERE NODE_NAME IN (SELECT mp.VALUE1 FROM MEMBER_PROP AS mp, CLUSTER_MEMBER AS 
   cm WHERE mp.NAME='sup.appservername' AND mp.MEMBERID = cm.MEMBERID AND cm.NAME LIKE '%###toDelete'); 
DELETE FROM installation_info WHERE host_name IN (SELECT mp.VALUE1 FROM MEMBER_PROP AS mp, CLUSTER_MEMBER AS 
   cm WHERE mp.NAME='sup.host' AND mp.MEMBERID = cm.MEMBERID AND cm.NAME LIKE '%###toDelete'); 
DELETE FROM installation_history WHERE host_name IN (SELECT mp.VALUE1 FROM MEMBER_PROP AS 
   mp, CLUSTER_MEMBER AS cm WHERE mp.NAME='sup.host' AND mp.MEMBERID = cm.MEMBERID AND cm.NAME LIKE '%###toDelete'); 
DELETE FROM MEMBER_PROP FROM MEMBER_PROP as mp, CLUSTER_MEMBER AS cm WHERE mp.MEMBERID = cm.MEMBERID AND cm.NAME LIKE '%###toDelete'; 
UPDATE CLUSTER_INSTALLATION SET HOSTNAME = HOSTNAME || '###toDelete' WHERE INSTALLID IN 
   (SELECT cm.INSTALLID FROM CLUSTER_MEMBER AS cm WHERE cm.NAME LIKE '%###toDelete') 
DELETE FROM CLUSTER_MEMBER WHERE NAME LIKE '%###toDelete' 
DELETE FROM CLUSTER_INSTALLATION WHERE HOSTNAME LIKE '%###toDelete';  
SMPONP-15176
In a shared host Microsoft cluster environment, Hazelcast selects the wrong IP address when starting SAP Mobile Server, which prevents the secondary server node from starting.
In these cases, a server log message similar to this appears on the primary server node:
2014-03-10 22:30:09.217 INFO Other main  [com.hazelcast.impl.AddressPicker]  [] [] Interfaces is disabled, trying to pick
one address from TCP-IP config addresses: []  2014-03-10 22:30:09.217 WARN Other main  [com.hazelcast.impl.AddressPicker]  [] [] Could not find a matching address to
start with! Picking one of non-loopback addresses.  2014-03-10 22:30:09.504 INFO Other main  [com.hazelcast.impl.AddressPicker]  [] [] Picked Address [10.58.120.84] 
:5701 using socket ServerSocket [addr=/0:0:0:0:0:0:0:0,localport=5701] , bind any local is true  2014-03-10 22:30:10.156 INFO Other main  [com.hazelcast.system]  [] []  
[10.58.120.84] :5701  [2.3.4_SHC_default]  Hazelcast Community Edition 2.1.3 (20120723)
starting at Address [10.58.120.84] :5701 
Workaround: Either:
    1. Start the SAP Mobile Server node which is sharing the host with the data-tier node.
    2. Start the other SAP Mobile Server node to resolve the IP address for the first node.
    3. Restart the first SAP Mobile Server node in order to make sure it binds to the correct IP address.
    Or:
  1. Run this SQL statement for each SAP Mobile Server node:
    update cache_addr_mapping set ip_addr = 'xxx.xxx.xxx.xxx' where host_name = 'SERVERNAME'
    where SERVERNAME is the server’s host name without the domain suffix, and xxx.xxx.xxx.xxx is the IP address.
SMPONP-12328
jetty-web.xml was removed from ..\DCN\WEB-INF folder

Problem: DCN POST results in error message that the form is too large.

Workaround: Set the maxFormContentSize property to 100 MB:
  1. In SAP Control Center, select Configuration.
  2. Set the value of Max form content size(byte) to 10000000.
  3. Restart the server.
SMPONP-11956
Select socket timeout property

In the connection pool, select a socket timeout property from the drop-down list:

  • 0 overrides the socket time out property and ensures that request response will go through
  • higher than the gateway response time ensures that request response goes through successfully
  • lower than the gateway response time - ensures that the request fails and throws – 500 ( Internal server error)
SMPONP-7973
Disregard "Error applying pending settings..." in logs under ..\APNSProvider and ..\BlackBerryNotifier

"Error applying pending settings, using old settings instead" messages can be found in ..\Servers\UnwiredServer\logs\APNSProvider and ..\Servers\UnwiredServer\logs\BlackBerryNotifier. Ignore these messages.

CSN-2990597 2013
Certificate onboarding fails after upgrade

After upgrading to SAP Mobile Platform version 2.3 SP03, certificate onboarding will fail if certain obsolete properties remain configured.

Workaround: Modify the security configuration in SAP Control Center by removing the following properties:
  • Trusted certificate store type
  • Trusted certificate store password
  • Trusted certificate store provider
  • Validate certification path
  • Trusted certificate store
SMPONP-10928
Temporary network issues affecting the cluster

During some operations, for example, deploying packages after switching a data tier in the Microsoft cluster, or failing to connect to the data tier in a simple cluster, a temporary network issue causes the following warning message to be logged in the server log:

2013-09-04 02:16:05.362 WARN MMS Thread-256 [com.sybase.sup.server.deploy.SupDeployer] [] [] System.Web.Services.Protocols.SoapException: Error sending request to server
at Admin.AddTemplate(String strTemplateName, String strTemplateDescription, PropertyItem[] settings)
java.lang.RuntimeException: System.Web.Services.Protocols.SoapException: Error sending request to server
at Admin.AddTemplate(String strTemplateName, String strTemplateDescription, PropertyItem[] settings)
at com.sybase.sup.admin.util.WebServiceUtil.createTemplate(WebServiceUtil.java:219)
at com.sybase.sup.admin.util.WebServiceUtil.createTemplate(WebServiceUtil.java:209)
at com.sybase.sup.server.deploy.SupDeployer.createTemplate(SupDeployer.java:797)
at com.sybase.sup.server.deploy.SupDeployer.saveApplicationInfo(SupDeployer.java:776)
at com.sybase.sup.server.deploy.SupDeployer.doDeploy(SupDeployer.java:734)
at com.sybase.sup.server.deploy.SupDeployer.deploy(SupDeployer.java:306)
at com.sybase.sup.admin.server.DomainAdminImpl.deployWithArgs(DomainAdminImpl.java:365)
at com.sybase.sup.admin.server.DOECDomainAdminImpl_DJC.$invoke_0(DOECDomainAdminImpl_DJC.java:384)
at com.sybase.sup.admin.server.DOECDomainAdminImpl_DJC.$invoke(DOECDomainAdminImpl_DJC.java:147)
at com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:794)
at com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:306)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:789)

Workaround: Redeploy the package after the cluster returns to normal.

SMPONP-9999
When one SAP Mobile Server node in a cluster restarts, other nodes may throw com.hazelcast.core.MemberLeftException.

Workaround: The cache's status recovers after a brief period of time or when the server restarts completely. The exception is temporary and can be ignored.

SMPONP-9965
Key store and Keypair passwords must match

:If the key store and keypair passwords do not match, you are unable to save the certificate alias, and receive the following error message:

Save failed. Cannot recover key.

Workaround: Configure the key store and keypair passwords as follows:
  1. While configuring the SAP Mobile Server for mutual SSL, generate the keypair with the same password as the keystore password. For example,if the keystore.jks has password "changeit", the corresponding keypair generated must also have the password "changeit".
  2. Save the keystore file. 
  3. Check for the correctness using the following from the command prompt:

    C:\>keytool -list -alias alias_name -keystore keystore.jks -storepass changeit

  4. Restart the services.
  5. Set the alias value in the SAP Control Center SSL configuration tab. The save is successful.
  6. Restart the server to apply the changes.
SMPONP-8310
SAP Mobile Server experiences significant performance degradation when performing DCN load operations with large DCN request messages when Wily Introscope agents are enabled.

Workaround: If not required, remove the Introscope agents from SAP Mobile Server using this command:C:\SAP\MobilePlatform\Servers\UnwiredServer\bin\configure-introscope-agents.bat -remove

SMPONP-7496
Error launching Sybase Central (scjview.exe)

In SAP Mobile Platform version 2.3 SP03, when you double click Sybase Central (scjview.exe) in the SQLAnywhere16/bin32 directory for database management, an internal error appears.

Workaround: In the pop up window, click Resume to launch Sybase Central.

SMPONP-1781
Server-name fails to start due to an expired certificate

The SAP Mobile Server cannot be started (the server shows started for a short time then shows stopped), and you receive the error "Stream Error: Internal error: ssl_AddTrustedCerts returned 4157" in the server log. This error occurs because a certificate expired in the client_trusted_cert.crt file.

Workaround: To resolve the issue by removing the expired certificate:
  1. Backup the client_trusted_cert.crt file on the server certificate folder.
  2. Keep one valid certificate in client_trusted_cert.crt, remove the other certificates and save the file.
  3. Restart the server.

    The server starts up successfully.

  4. Log in to SAP Control Center, go to the Configuration > General > SSL Configuration tab, and click Key Store configuration to open the Key Store Properties dialog,
  5. Check all the certificates in key store. Find the expired certificate marked in red, and remove it from the key store.

    The client_trusted_cert.crt will be automatically generated again.

  6. Restart the server.

    The server start up successfully because the expired certificate has been removed from client_trusted_cert.crt.

RTC-302
XML recordings are saved to an incorrect directory.

After enabling XML recording in the registry, logs will show that XML recordings are successfully saved to C:\UnwiredServer\logs, which is the incorrect SAP Mobile Platform logging directory.

Workaround: Manually add a String Value to the key HKEY_LOCAL_MACHINE\SOFTWARE\Sybase\Sybase Messaging Server\Server (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sybase\Sybase Messaging Server\Server on 64 bit) with a path relative to the MessagingServer directory (that is, ..\UnwiredServer\logs).

RTC-268
Process of stopping SAP Mobile Server service hangs.

When stopping the Windows service for SAP Mobile Server, very infrequently the process hangs. This problem is independent of the means used to stop the service.

Workaround: See Process of Stopping SAP Mobile Server Service Hangs.

RTC-238
Update deployment allows definition of a new MBO attribute default, but the new default value does not take effect.

While the MBO developer can modify the MBO attribute default value for a deployed package, and redeploy the package to SAP Mobile Server in Update mode without an error or warning, the new default value does not take effect.

Workaround: Use Replace mode to update the MBO default setting.

RTC-42
Business transaction XML (BTX) uploads when end-to-end tracing is not enabled for an application connection.

You can still upload BTX to the configured Solution Manager server, even if you have not enabled end-to-end tracing for an application connection.

Workaround: None.

RTC-38
Server logs Chinese environments result in garbled characters under certain conditions.

Due to an issue with SySAM licensing 64-bit operating systems running in a zh_CN locale result in characters appearing incorrectly.

Workaround: None.

N/A
Error: 584 Message: Server public key verification failed when running the diagtool.exe tool.

Workaround: Either:

  • Run the diagtool.exe tool from another host, or,
  • Edit the registry on the machine where the diagtool.exe tool is being run:
    • Remove the HKCU\Software\Sybase\Messaging Client registry key.
    • Remove the HKCU\Software\Sybase\MessagingClientLib registry key.
    Note: Use caution when editing the registry. Ensure that the key entries removed do not contain any currently used SAP Mobile Platform applications (sub entries).
CR-709892
SAP Mobile Server records deployment errors in the domain log rather than in the SAP Mobile Server logs.

Workaround: None. Look for deployment errors in the domain log.

CR-708431
Data on the EIS, cache, and device is not in sync.

If a Create operation succeeds at the enterprise information system (EIS), but its corresponding Entity Read operation fails, the EIS is updated but the cache database (CDB) is not. Error information may be reported in the SAP Mobile Server log, but the error is not propagated to the device client. LogRecord shows 0 (zero), but findAll does not show the new record on the device.

Workaround: None. The change appears in the CDB and the device when the CDB is refreshed (for example, when the cache interval expires).

CR-703515

LDAP role/authentication search base cannot support special characters.

The following characters have special meaning when they appear in a name in LDAP: , (comma), = (equal sign), + (plus sign), < (less than), > (greater than), # (number sign), ; (semicolon), \ (backslash), and " (quotation mark).

LDAP providers do not currently handle these special characters in any names or DNs, including user name, DefaultSearchBase, AuthenticationSearchBase, RoleSearchBase, AuthenticationFilter, and RoleFilter.

Workaround: None.

CR-701975
When deploying a package from Unwired WorkSpace or SAP Control Center using Update mode, the package's "onDemand" coherence window is not updated on SAP Mobile Server.

Workaround: After deployment, adjust the "onDemand" coherence window from SAP Control Center.

CR-699590
Large messages are processed incorrectly on 32-bit runtime installations.

A 32-bit SAP Mobile Server is not supported when you are developing messaging applications that process large messages. 32-bit servers run into memory issues and can potentially further result in incorrect data synchronizing with the SAP Mobile Server cache.

Workaround: Install SAP Mobile Platform runtime components on 64-bit hosts.

CR-699343
For native Object API applications, the upgrade process silently deletes composite orphans from the server cache.

SAP Mobile Platform no longer allows composite orphans, that is MBO child entities within a composite relationship that have no parent entity. Depending on the system configuration, the upgrade may physically delete the orphans, or may only logically delete them, then physically delete them during a subsequent cache purge process. Either way, applications that use MBOs with composite orphans may not behave as expected after migration.

Workaround: Before upgrading, eliminate composite orphans from native Object API applications:
  • Look for existing MBOs that generate composite orphans. Examine each MBO in Unwired WorkSpace, looking for any instance in which the application loads child entities before the related parent entity.
  • For any MBOs you find that generate composite orphans, change the data model in the MBO so that the application always loads parent entities before the related child entities. See the "Composite relationship behavior" row in the Relationship Guidelines and Restrictions topic, in the Sybase Unwired WorkSpace - Mobile Business Object Development guide.
  • Test any changes you make to ensure that the application still behaves as expected.
  • After you are satisfied that you have eliminated composite orphans from your MBOs, proceed with the upgrade.

Additional Information on Composite Orphans

An example of a scenario in which parentless child entities can occur is a two MBO parent-child model integrated with JDBC for sales orders and line items. If the data model specifies that line items are inserted first, the application attempts to load child line items for a sales order that does not yet exist. Those line items disappear from the cache before the application can load the parent sales order.

To be sure that composite orphans do not cause problems in your migrated applications:
  • After migration, if you have mobile application projects that contain composite relationships and the child MBO load operation has no parameter dependencies on its parent, redeploy the package from Unwired WorkSpace using Update mode to generate the correct loadGroups for the deployed package.
  • Child load operations that do not depend upon parameters from the parent do not always generate orphans.

    Consider the case where the user wants to load all sales orders and line items created in the New York office. New York may be a load parameter for both parent and child that is bound to a personalization key and results in no orphans even though the child does not get any load parameters from the parent.

CR-695671
The mlsrv_err.log reports error: java.lang.OutOfMemoryError.

When performing a listview object query with very large data sets, the client returns an error code 571 or 1053, and the server becomes temporarily unavailable, or tries to restart.

Workaround: Modify the maximum Java heap size to handle very large amounts of data in an object query. See Configuring SAP Mobile Server Performance Properties in System Administration.

CRs 693116 and 692218
Devices on 3G/4G network cannot connect to SAP Mobile Server.

A connectivity issue may occur between the device and SAP Mobile Server. The current client libraries use a protocol that support only HTTP chunked transfer-encoding. 3G/4G traffic might, in some cases, be subject to content filtering and convert the messages from chunked transfer-encoding to fixed content-length if communication is via standard HTTP ports, which most commonly are 80 and 8080. Since the client application can support only chunked transfer-encoding, the communication cannot be established. In effect, a response cannot be returned to the server indicating that the device is online.

Note: For devices on Wi Fi networks, the connection between a device and SAP Mobile Server establishes without error.

Workaround: Use a nonstandard HTTP port (any port other than 80 or 8080) or an HTTPS port, that is, 443 for SAP Mobile Server client communication from devices to the Relay Server or external load balancer, whichever one is used, in the DMZ.

CR-692374
Enabling compression incurs additional processing on the device and the server side to optimize the amount of data to be transferred over the network.

Workaround: Carefully evaluate whether the compression trade-off is appropriate in the deployment environment, and carefully size the server capacity to support it. If appropriate in a particular environment, follow the SAP Mobile Platform Developer Guides to enable compression.

CR-691517
Adding new operations onto a mobile business object in a deployed package using the Update deployment method may render client applications based on the previous package model version nonfunctional.

Workaround: None.

CR-686043
In a disabled domain, messaging clients continue to receive messages from server.

Workaround: To disable any outbound activity to a client, lock the application connection associated with that client.

CR-576726
The full range of valid values is not supported if an attribute uses the default datatype (int) for a SQL Anywhere® database column of type unsigned int.

Workaround: To support the full range of valid values for an unsigned int attribute in the EIS, set the datatype for the corresponding MBO attribute as long.

NA

When stopping the Windows service for SAP Mobile Server, very infrequently the process stops responding. This problem is independent of the means used to stop the service.

When this happens, the process tree for the service for the SAP Mobile Server service is no longer intact, so you cannot use the Task Manager End Process Tree option to stop the service.

Workaround:

  1. Open Windows Task Manager on the system where you want to stop the SAP Mobile Server service.
  2. Activate the Process tab and click the Image Name column heading to sort the names in alpha order.
  3. For each of the following processes that are present in the list, right-click the process and select End Process.
    • AdminWebservices.exe
    • AMPService.exe
    • Dbsrv16.exe
    • Dbsrv11.exe
    • Java.exe
    • JmsBridge.exe
    • LBManager.exe
    • mlsrv16.exe
    • MlsrvWrapper.exe
    • OBMO.exe
    • OBServiceManager.exe
    • Rsoe.exe
    • Sccservice.exe
    • wmiprvse.exe
  4. Go to the Windows Services panel and verify that the SAP Mobile Server service is stopped.