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, /use/bea/user_projects/domains/mydomain
|
- Start the application server.
- 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.
- 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 doclinks directory and select it.
- Click Target Module at the bottom
of the window.
- 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.
- Click Continue.
- Click Deploy.
The
Web application that you created appears in the Web Application tree
in the left pane.
- Verify that the doclinks Web module was installed correctly:
- 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
- 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.