Please enter search query.
Search <product_name> all support & community content...
Cannot select folders that contains non-English characters using "Backup, Archive and Restore" Java console
Article: 100020876
Last Published: 2020-03-19
Ratings: 2 0
Product(s): NetBackup & Alta Data Protection
Problem
Cannot select folders that contains non-English characters using "Backup, Archive and Restore" Java console. Selecting a directory with non-English characters returns the error below.
Error Message
"There are no files matching the specified criteria
"
Cause
Using "Backup, Archive and Restore" Java console in Windows machines, when you try to select folders that contains non-English characters the above error will appear.
Solution
All NetBackup Java console versions 7.x and higher allow the use of UTF-8:
- If needed, upgrade NetBackup and then on the Windows machine where the NetBackup Java console is run, update the console. Remember that the Java console should be the same version of the master server.
- Modify install_path\Veritas\Java\nbjava.bat to use UTF-8 encoding adding the following entry: Dfile.encoding="UTF-8"
call setconf.bat
if "[%logFile%]"=="[]" goto skip
"%NBJDIR%\jre\bin\java.exe" -showversion -Xms%INITIAL_MEMORY% -Xmx%MAX_MEMORY% -Djava.library.path="%JAVALIBPATH%" - Dfile.encoding="UTF-8" -Dvrts.NBJAVA_CONF="%NBJDIR%"\\nbjconf -Dvrts.common.utilities.DEBUG_PROPERTIES=Debug.properties -Dvrts.nbe.INST_REL=%INSTALLED_RELEASE% -Dvrts.nbe.BUILDNO=%BUILDNUMBER% -Djava.util.prefs.PreferencesFactory=vrts.common.launch.PropertiesPreferencesFactory -classpath "%NBUCLASSPATH%;%THIRDPARTYCLASSPATH1%;%THIRDPARTYCLASSPATH2%;%CORBACLASSPATH%" vrts.nbe.AdminConsole 1> "%logFile%" 2>&1
goto quit
:skip
"%NBJDIR%\jre\bin\java.exe" -showversion -Xms%INITIAL_MEMORY% -Xmx%MAX_MEMORY% -Djava.library.path="%JAVALIBPATH%" -Dfile.encoding="UTF-8" -Dvrts.NBJAVA_CONF="%NBJDIR%"\\nbjconf -Dvrts.common.utilities.DEBUG_PROPERTIES=Debug.properties -Dvrts.nbe.INST_REL=%INSTALLED_RELEASE% -Dvrts.nbe.BUILDNO=%BUILDNUMBER% -Djava.util.prefs.PreferencesFactory=vrts.common.launch.PropertiesPreferencesFactory -classpath "%NBUCLASSPATH%;%THIRDPARTYCLASSPATH1%;%THIRDPARTYCLASSPATH2%;%CORBACLASSPATH%" vrts.nbe.AdminConsole
:quit
del nbjconf
exit
- If this issue occurs in a Unix / Linux master server, set the server's locales to UTF-8 to solve this issue.
On a Unix Server, this can be setup up in the profile:
- If you use bash as your shell, you can put these lines in your ~/.bashrc and ~/.profile files:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
- To make these changes active in the current shell, source the .bashrc:
$ source ~/.bashrc
All newly started interactive bash processes will respect these settings.
You must restart long-running programs for these changes to take effect.
Workaround: The Backup, Archive and Restore console for Windows can also be used as a workaround for this issue.
Related Knowledge Base Articles
References
Etrack : 1417504