Editing default file paths in System Properties in a single-computer environment

After you modify the location of the doclinks directory, edit the specified file paths in the system. These steps are valid for both WebSphere® Application Server and WebLogic Server.

Before you begin

You must have authorization to edit file paths in Attached Documents.

Procedure

  1. Log in to the system and go to System Configuration. Select Platform Configuration and then System Properties.
  2. Configure the Attached Documents properties as shown in the following table:
    Property Description Global value
    mxe.doclink.doctypes.defpath The default file directory to use for folders in the library that do not have a default path specified in the database. The files for such folders are uploaded to the location.
    • In Windows, WebLogic Server and WebSphere Application Server:

      C:\doclinks

    • In UNIX, WebLogic Serverr and WebSphere Application Server:

      /home/doclinks

    mxe.doclink.maxfilesize The maximum size (MB) for a file that you can upload to the Attached Documents Library folder.

    Use the default value of 10 MB (10 = 10 MB) or replace it with a lesser value.

    Do not set the maximum file size to a value that exceeds the computer system capacity. If you do, a system error, OutOfMemory, occurs and the application server shuts down. To correct this error, change the value to less than 10 MB and restart the application server.

    If the value is set to 0, all file sizes are uploaded. However, there is the risk of OutOfMemory errors if a user uploads a large file size that exceeds system capacity. To correct this error, change the value to less than 10 MB and restart the application server.

    mxe.doclink.path01
    • The HTTP server path to link documents that are attached to records. Used to convert specified file paths of folders to URLs.
    • Use the following statement:

      <Value specified in the default path of a folder> = <URL from where the files are stored>

      The system reads the string, <Value specified in the default path of a folder>, and replaces it with the string, <URL from where the files are stored>

      For example, in Windows, the default file path for stored documents is C:\doclinks\diagrams.

      A user adds a document, diagram123.dwg, to the diagrams folder. The document is copied from the source to: C:\doclinks\diagrams.

      The mxe.doclink.path01 property converts the file path to http://localhost/doclinks/ diagrams. The link to view this file is http://localhost/doclinks/ diagrams/diagram123.dwg.

    • Windows WebLogic Server:

      C<PATH>\doclinks=http://<servername or IP>:<port number>/doclinks

      For example

      C<PATH>\doclinks=http://localhost:7001/doclinks

    • UNIX WebLogic Server:

      /home/doclinks=http://servername or IP>:<port number>/doclinks

      For example:

      /home/doclinks=http://localhost:7001/doclinks

    • Windows WebSphere Application Server:

      C<PATH>\doclinks=http://<servername or IP>

      For example:

      C<PATH>\doclinks=http://locahost

    • UNIX WebSphere Application Server:

      /home/doclinks = http://<servername or IP>

      For example:

      /home/doclinks = http:// localhost/

    mxe.doclink.multilang.

    aix.websphere

    Indicates whether the application runs on AIX® WebSphere Application Server platform. The default value is false.
    • Change the value to true if it is running on AIX WebSphere Application Server platform.
    • Set the value to false if the application is running on other platforms, such as a system other than a WebSphere Application Server on AIX.

    In the mxe.doclink.path01 property, the server name in the path must be a fully qualified server name.

  3. Restart the application server.


Feedback