Creating Web applications for two computers and a local Hypertext Transfer Protocol server

If you are running WebLogic Server, creating a web application is the necessary process to configure the application server for attached documents.

Procedure

  1. Stop the WebLogic Server.
  2. Back up the config.xml file in the domain in which you want to configure the Web application.
    Operating system Path
    Windows

    <BEA WebLogic root>\user_projects\domains\<domain_name>

    For example, \usr\bea\user_projects\domains\mydomain

    UNIX

    <BEA WebLogic root>/user_projects/domains/<domain_name>

    For example, /usr/bea/user_projects/domains/mydomain

  3. Start the WebLogic Server.
  4. To log in to the administration console, type the following URL:

    http://<hostname>:<port>/console

    where <hostname> is the name of the computer and <port> is the port number of the application server.

  5. In the left pane, under the Deployments node, click Web Application Modules.
  6. Delete the existing Web application named doclinks, if one exists on your system.
  7. In the right pane, click Deploy a new Web Application Module.
  8. Go to the location of the doclinks directory on the mapped drive.
    Operating system Doclinks directory location
    Windows

    For example:

    1. Click the computer name to display the drive letters.
    2. Click the mapped drive, H, to display the directories on H (which is the drive D on the computer that stores the document files).

      The doclinks directory that you created on D appears in the list following the path statement.

    UNIX

    For example:

    1. Click the host name to display the root file system.
    2. Click /d01 to display the directories that /d01 references on the computer that stores the document files.

      The doclinks directory that you created is displayed in the list following the path statement.

  9. Select the doclinks directory.
  10. Click Target Module at the bottom of the screen.
  11. If you have more than one server, select the server on which you want to deploy your new Web application module, then click Continue.
  12. Review your choices.

    The name must be the root directory name where the documents are stored. Since you selected the doclinks directory in Step 9, doclinks is the default. The name is case-sensitive.

  13. Click Deploy.

    The Web application that you created appears in the Web Application tree in the left pane.

  14. Complete the following steps to verify that the doclinks web module was installed correctly:
    1. Depending on whether you use Windows or UNIX, complete one of the following steps:
      • For Windows, create a test file, named test.txt, at this location:

        D:\doclinks\test.txt

      • For UNIX, create a test file, named test.txt, at this location:

        /home/doclinks/test.txt

    2. Open a browser session and type the following address:

      http://<server_name or ip address>:<port number>/doclinks/test.txt

      For example:

      http://localhost:7001/doclinks/test.txt

    You can see your test.txt document. If you cannot open the file, you did not correctly configure WebLogic Server for doclinks. To create the doclink web application. To reconfigure the doclink web application, redo this task.


Feedback