Tuesday, September 3, 2013

WebCenter Content issues regarding NTFS 8.3 short names

In Oracle® Fusion Middleware Oracle WebLogic Server Release Notes you can find workaround regarding issue described as "Configuration Tools Can Fail If WebLogic Installation Path Contains Spaces". You can read there:

" ... On some Microsoft Windows platforms, the WebLogic configuration tool commands (including wlst, config, pack, and unpack) can fail if the WebLogic installation path contains a space. In this case, the command may fail with a java.lang.ClassNotFoundException, where the class is derived from the portion of the installation path after the space. The commands fail when short file name generation has been disabled in the Windows registry."

My own experience is that there is much better solution of this problem.What's more, if you use the WebCenter Content, short name can make you a lot of unexpected problems.

My solution is:
  1. Don't use path names with spaces. And if you must to use the resources installed in the "Program Files" directory, simply create a symbolic link, by example:
    mklink /D  c:\Oracle\JDK "c:\Program Files\Java\JDK"
  2. Turn off short names in your Windows machne.
To disable short name generation:

    Run regedit.

    Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem folder.

    Double-click NtfsDisable8dot3NameCreation and set its value to 1.

    Reboot for the change to take effect.

No comments:

Post a Comment