Creating a Web application in a single-computer environment

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, /use/bea/user_projects/domains/mydomain

  3. Start the application server.
  4. Access the administration console:

    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 doclinks directory and select it.
  9. Click Target Module at the bottom of the window.
  10. If you have more than one server, select the server on which you want to deploy your new Web application module.

    The name of the directory must be the root directory in which the documents are stored. Since you selected it in Step 7, doclinks is the default.

  11. Click Continue.
  12. Click Deploy.

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

  13. Verify that the doclinks Web module was installed correctly:
    1. Complete one of the following steps:
      • For Windows, create a test file, named test.txt, in the doclinks folder:

        C:\doclinks\test.txt.

      • For UNIX, create a test file, 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 in this window. If you cannot open the file, you did not correctly create the doclink web application. To reconfigure the doclink web application, restart these steps from the beginning.

What to do next

After you modify the location of the doclinks directory, edit the specified file paths in the system.


Feedback