If you are running WebLogic
Server,
creating a web application is the necessary process to configure the
application server for attached documents.
Procedure
- Stop the WebLogic
Server.
- 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
|
- Start the WebLogic
Server.
- 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.
- In the left pane, under the Deployments node, click Web
Application Modules.
- Delete the existing Web application named doclinks, if
one exists on your system.
- In the right pane, click Deploy a new Web Application
Module.
- Go to the location of the doclinks directory
on the mapped drive.
Operating system |
Doclinks directory location |
Windows |
For example:
- Click the computer name to display the drive letters.
- 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:
- Click the host name to display the root file system.
- 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.
|
- Select the doclinks directory.
- Click Target Module at the bottom
of the screen.
- If you have more than one server, select the server on
which you want to deploy your new Web application module, then click Continue.
- 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.
- Click Deploy.
The
Web application that you created appears in the Web Application tree
in the left pane.
- Complete the following steps to verify that the doclinks
web module was installed correctly:
- 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
- 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.