At document checkin, Content Engine assigns a MIME type to any content transfer element that has no MIME type. The assignment is based on the mimetypes.properties
file and the file name extension specified by the Retrieval Name property: Content Engine searches that file for the MIME type mapped to the extension. For example, the Retrieval Name for a content transfer element might be abc.txt. Content Engine finds the MIME type mapped to the .txt extension and assigns that mapped type as the default MIME type. For more information about default MIME type assignment, see About MIME types.
Content Engine attempts to find the mimetypes.properties configuration file in the following standard property file locations in the order shown:
user.dir
system property)user.home
system property)java.home
system property)If the file is not found, Content Engine uses the mimetypes.properties file inside the Content Engine EAR file.
You can edit the mimetypes.properties file to add, change, or remove file name extensions and their mapped MIME types. Follow this procedure after you finish executing all tasks in the IBM FileNet Configuration Manager. (This procedure is not executed within Configuration Manager.)
To edit the mimetypes.properties
file
mimetypes.properties
file.mimetypes.properties
file, add, change, or remove pairings of MIME types and file name extensions as needed. Each line consists of such a pairing, beginning with the MIME type and separated by tabs or spaces from the file name extension. You can pair multiple MIME types with the same file name extension. Indicate the primary pairing with an asterisk after the file name extension.To extract the mimetypes.properties
file from the engine EAR file
engine-jb.ear
engine-wl.ear
engine-ws.ear
..\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\WebSphere\ear\Engine-ws.ear.
engine.rar
file to the file system. engine.rar
file. engine.rar
file, find and extract the engine.jar
file to the file system. engine.jar
file. engine.jar
file, find and extract the mimetypes.properties
file to the file system. (In the .jar file, the file has a res path.)