You can use the command-line interface to rebuild and redeploy
the IBM Content Navigator web application.
Before you begin
It is strongly recommended that you use the Installation and configuration worksheets to
record the values that you use in your existing profiles. The worksheets
make it easier for you to ensure that your profiles contain the correct
information after you update them.
About this task
Remember: If you have more than one IBM Content Navigator deployment in your environment,
you must complete this task for each deployed instance of IBM Content Navigator.
When
you run the commands in this task:
Procedure
To rebuild and redeploy the web application after you
upgrade IBM Content Navigator:
-
Update your existing profile by running the generateConfig command
with the following syntax:
configmgr_cl generateConfig -appserver app_server_type -configure_FileNetP8
yes_or_no -configure_CMIS_FileNetP8 yes_or_no -configure_CM yes_or_no
-configure_CMIS_CM yes_or_no -configure_CMOD yes_or_no -db db_type
-deploy deploy_type -ldap_Repository repository_type -ldap ldap_provider
-profile fully_qualified_path_of_the_existing_ profile_directory
When you run the generateConfig command
against your existing profile directory, any new XML files that were
introduced in the new release are added to the existing profile. In
addition, any XML files that were updated in the release are also
modified to include the updates.
-
Edit the configurejdbcecm.xml file
for your environment.
In previous releases of IBM Content Navigator, the data source and
the database were configured in separate tasks. Starting with IBM Content Navigator, Version 2.0.3, the
tasks are combined into the configurejdbcecm task.
-
Run the configurejdbcecm task by running
the following command:
configmgr_cl execute -task configurejdbcecm -profile
fully_qualified_path_of_the_existing_ profile_directory
- Optional:
If you want to use the task manager
component, edit the configuretmtask.xml file
for your environment.
-
Run the configuretmtask task by running
the following command:
configmgr_cl execute -task configuretmtask -profile
fully_qualified_path_of_the_existing_ profile_directory
-
Edit the configureicntask.xml file
for your environment.
-
Run the configureicntask task by running
the following command:
configmgr_cl execute -task configureicntask -profile
fully_qualified_path_of_the_existing_ profile_directory
-
If you upgraded your Content Engine or Content Platform Engine installation, run the downloadcejarstask task.
This task ensures that
IBM Content Navigator is
running the same version of the client files as your
Content Engine or
Content Platform Engine server.
Run the following
command:
configmgr_cl execute -task downloadcdjarstask -profile
fully_qualified_path_of_the_existing_ profile_directory
-
Rebuild the IBM Content Navigator application
EAR file by running the following command:
configmgr_cl execute -task rebuildear -profile
fully_qualified_path_of_the_existing_ profile_directory
-
Deploy the IBM Content Navigator application
EAR file by running the following command:
configmgr_cl execute -task deployapplication -profile
fully_qualified_path_of_the_existing_ profile_directory
What to do next
After you redeploy IBM Content Navigator, you must complete the
following tasks: