Skip to main content

Spaces in Database File Paths May Cause Issues on Windows XP


Technote (troubleshooting)


Problem(Abstract)

Using spaces in the file path of your databases inside IBM Worklight configuration files may cause errors on startup. This issue is specifically found on Windows XP. It seems if Worklight is attempting to use database file paths that contain spaces these datasources will not be configured correctly and Worklight will not be able to startup as expected.

For example:

If a database is configured to the following location:

    C:/Documents and Settings/All Users/Application Data/IBM/Worklight/derby/WRKLGHT

the location will not be parsed correctly and a user may see an error similar to the following:

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

As stated above this is due to the file path containing a space which cannot be parsed correctly.

Resolving the problem

In order to fix this issue a user can move the database to a location with no spaces in the file path and then update the configuration files to match the new location. Alternatively a user can utilize the Windows' short file name (also called SFN or 8.3 filename) of the current database file. For more details about Windows' short file name, please refer to http://en.wikipedia.org/wiki/8.3_filename.

For example:

    C:/Documents and Settings/All Users/Application Data/IBM/Worklight/derby/WRKLGHT

Using the database location above the new file path would be converted to the following:

    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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

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

Content navigation