Product Documentation

c-treeACE V10.3 Release Notes

Previous Topic

Next Topic

SQL - Java user.dir using absolute path for JDK 1.7

Whenever the stored procedure dealt with Date, Datetime, or Time types, the procedures failed with one of the following exceptions:


java.lang.AssertionError: Default directory is not an absolute path (just the first time)

java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile (always but the first time)

The second exception is a consequence of the first exception, and the first exception is due to the user.dir Java System property being set to a relative path. On Windows (but not on other platforms), the user.dir property was explicitly set using the LOCAL_DIRECTORY setting, which usually is set using a relative path. The logic has been modified to convert the relative path into an absolute path before using it to set the user.dir property on Windows.

TOCIndex