English

Problem: SE_NO_LOCALIZED_MESSAGE

Description

This error occurs when using SeConnection with the Locale as input parameter to connect to ArcSDE:

"SE_NO_LOCALIZED_MESSAGE"

Cause

This error message occurs when the ArcSDE 8.1 Java API program is unable to locate the correct SeMessages_*_*.properties file and/or the jsde81_sdkres.jar file during run time.

· The SeConnection constructor with the Locale input only works if the ArcSDE 8.1 Java API localization kit, jsde81_sdkres.jar, is in the system classpath.

· Localization of error messages will only work if the right SeMessages_*_*.properties file exists in the jsde81_sdkres.jar file. If, for example, the Locale parameter is initialized as:

Locale locale = new Locale("ja","JP");

Then, the jsde81_sdkres.jar file must contain the file SeMessages_ja_JP.properties.

Solution or Workaround

Make sure the jsd81_sdkres.jar is in the system classpath and the required SeMessages_*_*.properties file exists in the jsde81_sdkres.jar file.

If the required SeMessages_*_*.properties file does not exist in the jsde81_sdkres.jar file, the file has to be created. Follow the instructions in the ArcSDE 8.1 Localization Kit documentation to create the new SeMessages_*_*.properties file.