Spaces in database file paths may cause issues on Microsoft Windows XP for IBM Worklight and IBM Mobile Foundation

Technote (troubleshooting)


Problem(Abstract)

Using spaces in the file path of your databases inside configuration files might cause errors during the startup process. This issue is specifically found on Windows XP. If the product attempts to use database file paths that contain spaces, these data sources are not configured correctly and the product does not start up as expected.

Symptom

For example, your database might be configured in the following location:
C:/Documents and Settings/All Users/Application Data/IBM/Worklight/derby/WRKLGHT

In this example, the location is not parsed correctly and you might see an error that is similar to the following text:

... Database 'C:/Documents' not found...


Cause

The error occurs because the file path contains a space, which the product cannot parse correctly.

Resolving the problem

To fix this issue, you can move the database to a location that does not use spaces in the file path and then update the configuration files to match the new location. Alternatively, you can use the Windows short file name, which is also called the SFN or 8.3 file name, for the current database file. For more details about Windows the short file name, see http://en.wikipedia.org/wiki/8.3_filename.

For example, here is a file path that does not use the Windows short file name:
C:/Documents and Settings/All Users/Application Data/IBM/Worklight/derby/WRKLGHT

Based on the previously listed file path, the database location is converted to the following short file name:
C:/DOCUME~1/ALLUSE~1/APPLIC~1/IBM/WORKLI~1/DERBY/WRKLGHT


Cross reference information
Segment Product Component Platform Version Edition
Mobile- Speech and Enterprise Access IBM Mobile Foundation Server Windows XP 5.0, 5.0.0.3 Consumer, Enterprise

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Worklight
Server

Software version:

5.0

Operating system(s):

Windows XP

Software edition:

Consumer, Enterprise

Reference #:

1615897

Modified date:

2012-10-31

Translate my page

Machine Translation

Content navigation