If you deploy IBM® Content
Navigator from
a cluster member rather than from the Oracle WebLogic Server administrative server,
the Deploy the Web Application Server task fails.
To successfully deploy IBM Content
Navigator from
a server other than the administrative server you must modify the deployapplication.py script
that is generated by the IBM Content
Navigator Configuration
and Deployment Tool.
Before you begin
You must run the
Deploy the Web Application Server task
in the
IBM Content
Navigator Configuration
and Deployment Tool to generate the
deployapplication.py script.
Procedure
To deploy IBM Content
Navigator from
a cluster member in Oracle WebLogic Server:
- Open the deployapplication.py script
in a text editor. The deployapplication.py file
is in the configure/tmp subdirectory of the IBM Content
Navigator installation directory.
Important: The file is only in the configure/tmp directory
if you run the Deploy the Web Application Server task.
- Add the upload='true' flag to the end
of the deploy stanza. For example,
deploy(appName, destinationEAR, targets=deployTarget, timeout=600000,
securityModel='Advanced', upload='true')
- Save the changes to the deployapplication.py file.
- From the command-prompt, change to the Oracle WebLogic Server server/bin directory. For example, on Windows, change to the C:\Oracle\Middleware\Oracle_Home\server\bin
- Run the following command: setWLSEnd.cmd.
- Run the following command to start the Oracle WebLogic Server scripting tool: java
weblogic.WLST.
- Run the following command to run the deployapplication.py script: execfile('fully_qualified_name_of_the_deployapplication.py_file'). For example, on Windows, enter execfile('C:\\Program
Files\\IBM\\ECMClient\\configure\\tmp\\deployapplication.py').
Important: On Windows, you must escape each backslash
character with an additional backslash character.
- Confirm that IBM Content
Navigator was
successfully deployed. When the deployapplication.py script
runs successfully, the output from the execfile() command
includes the following information:
Deployment State: completed
Deployment message: no message
Done deploying application
- Exit the Oracle WebLogic Server scripting
tool command-line and close the command-prompt window.