Deploying to Unwired Server in a Cluster Fails

Problem: Deployment fails with when you deploy a mobile business object (MBO) to Unwired Server in a cluster.

Explanation: When you deploy a package into a Sybase Unwired Platform cluster, you must be connected to the Unwired Server designated as the primary server in the cluster. If not, deployment fails and you see a message similar to following in the server logs:

YYYY-MM-DD HH:MM:SS.SSS WARN    MMS          Thread-466
[com.sybase.sup.server.SUPDomain] On Non primary servers, you could not
execute createDsyncDataZip()
java.lang.Exception: On Non primary servers, you could not execute
createDsyncDataZip()
        at com.sybase.sup.server.cluster.ClusterUtils.createDsyncDataZip
(ClusterUtils.java:816)
        at com.sybase.sup.server.SUPDomain.incrementDomainVersion
(SUPDomain.java:779)
        at com.sybase.sup.admin.server.DomainAdminImpl.deployJar
(DomainAdminImpl.java:291)

Solution: Set up a connection profile to the server that has become the primary, and deploy using that connection. See Sybase Unwired WorkSpace - Mobile Business Object Development > Configure > Configure - Eclipse Development Environment > Creating a Sybase Unwired Server Connection Profile for how to create a new Sybase Unwired Server connection profile.

Related tasks
Cannot Ping Unwired Server
Cannot Access sampledb
Modified Port Changes Not Deployed
Related reference
MS SQL Server Connection Errors
ODBC Driver Errors
Mobile Business Object Errors
Preview Errors in Unwired WorkSpace
Preview Errors for a Database Mobile Business Object
Preview Errors for a Web Service Mobile Business Object
Compiler Errors When Deploying Device Applications
Deploying to Unwired Server Fails