Sunday, July 29, 2012

How to resolve 8dot3 semantics issue when adding content from Desktop Integration Suite (DIS) or UCM console into Content Server


 On Content server browser window, you will get following alert:-

"The weblayout directory is on a filesystem with 8dot3 semantics. Legacy 16-bit 8dot3 filenames conflict with revision labels and will cause file loss. Disable 8dot3 semantics by running Installer DisableNtfs8dot3 and then restarting Windows."


When you try to add contents to DIS window or trying adding contents from UCM taskflows of WebCenter Spaces , you will get following error in case of DIS:-

And you will get following error in case of UCM taskflows (like document explorer, folder viewer etc) from WebCenter Spaces:-

You cannot upload document. Permission denied.

Quick Solution

 And you will not able to add contents. To resolve this issue, go to following registry location:-
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/FileSystem
 
 

Then, change the value  of the NtfsDisable8dot3NameCreation key to 1. You must restart Windows for the new setting to take effect.

Please note that the solution has been tested on Windows7 only.

Sunday, July 8, 2012

How to increase maximum uploading size for UCM taskflows from WebCenter Spaces?



When try to upload file more than 2MB from UCM taskflows into WebCenter Spaces, you will get following error:-

The file could not be uploaded because it is too large. Enter the file name and location. Files must be less than 2 GB

According to PS3/PS4 documentation, its limit is 2MB not 2GB as error message misleading you.

How to increase the upload limit

1.     Export webcenter-config.xml file using following command:-

wls:/wc_domain/serverConfig> exportMetadata(application='webcenter', server='WC_
Spaces', toLocation='/tmp/', docs='/oracle/webcenter/webcenterapp/metadata/webce
nter-config.xml')

Executing operation: exportMetadata.

Operation "exportMetadata" completed. Summary of "exportMetadata" operation is:
List of documents successfully transferred:

/oracle/webcenter/webcenterapp/metadata/mdssys/cust/site/webcenter/webcenter-con
fig.xml.xml
/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml

2 documents successfully transferred.

2. Open the webcenter-config.xml file in text editor in order to modify file upload size:-.
<webcenter:uploadedFileMaxDiskSpace>2097152</webcenter:uploadedFileMaxDiskSpace>

Please note that the size is in bytes.


3. Once updated, run the following import command:-

wls:/wc_domain/serverConfig> importMetadata(application='webcenter', server='WC_
Spaces', fromLocation='/tmp/', docs='/oracle/webcenter/webcenterapp/metadata/web
center-config.xml')

Executing operation: importMetadata.

Operation "importMetadata" completed. Summary of "importMetadata" operation is:
List of documents successfully transferred:

/oracle/webcenter/webcenterapp/metadata/mdssys/cust/site/webcenter/webcenter-con
fig.xml.xml
/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml

2 documents successfully transferred.

It works without restarting any Managed Server.