Problem: Modified datasource connection information is not reflected when you deploy mobile business objects (MBOs).
Explanation: In SAP Mobile WorkSpace, an MBO package is created from a database connection profile (for example, "PurchaseOrderDB") with particular connection parameters (for example, host and part of example1:9999), and then deployed to the SAP Mobile Server.
During deployment, you create a Server connection (for example, "PurchaseOrderDB") in the Server Connection Mapping window, which creates a file in the SAP Mobile Server at SMP_HOME\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\sql\DataSource\default_PurchaseOrderDB.properties with connection information to the database.
In Enterprise Explorer, you change the connection profile information for the connection profile "PurchaseOrderDB" (for example you change the host and port to example2:9999) and then try to redeploy the package to the SAP Mobile Server. During deployment, when you select PurchaseOrderDB under Server connection in the Server Connection Mapping window, its connection properties are listed in the table, and still show the host and port, example1:9999.
This behavior occurs because the information is retrieved from SAP Mobile Server, and does not consider the change from the Enterprise Explorer connection profile (example2:9999).
Solution 1:
Create a new "Server connection" during the deployment in SAP Mobile WorkSpace, and the deployment wizard will fill in the new connection information.
Solution 2:
In the SAP Mobile Server installation directory, change to this folder:
SMP_HOME\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\sql\DataSource\