Data Source Connection Fails After Installing to a New Directory

Problem: After uninstalling SAP Mobile Platform, then installing to a new directory, a data source connection fails in SAP Mobile WorkSpace, with the message: java.lang.ClassNotFoundException: com.sybase.jdbc3.jdbc.SybDriver.

Explanation: This may happen if you use an old WorkSpace, and an old JDBC connection profile with its jconn3.jar pointing to the old directory.

Solution:

  1. Once SAP Mobile WorkSpace is installed, switch to a new WorkSpace directory.
  2. Or, manually change the driver path by modifying the properties of the connection profile for a New Driver Definition.
Related concepts
Troubleshoot Code Generation
Troubleshoot SAP Mobile WorkSpace Errors
Related tasks
SAP Mobile WorkSpace Crashes When Previewing or Test Executing Large Amounts of Data
Cannot Start SAP Mobile WorkSpace After Modifying Plugins
Cannot Access Sample Database After Switching Network Types
Related reference
JDBC Connection Errors
Mobile Business Object Errors
Deployment Errors