Data Source Connection Fails After Installing to a New Directory

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

Explanation: This may happen if you use an old WorkSpace, and a JDBC connection profile. The data source connection may be using the original directory.

Solution:

  1. Once Sybase Unwired 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
AutoCommit Option in JDBC Attributes or Operations
Related tasks
Unwired WorkSpace Crashes When Previewing or Test Executing Large Amounts of Data
Cannot Start Unwired WorkSpace After Upgrade
Cannot Access sampledb
Cannot Access Sample Database After Switching Network Types
Related reference
MS SQL Server Connection Errors
Mobile Business Object Errors
Preview Errors for a Web Service Mobile Business Object
Compiler Errors When Deploying Device Applications
Deploying to Unwired Server Fails
Deploying to Unwired Server in a Cluster Fails
Data Truncation for Attributes without Explicit Length
Input Parameters Fail to Generate for Complex Data Sources
Client Device Database Performance Issues after Primary Key Changed to Composite