Hitachi

JP1 Version 12 JP1/Navigation Platform Setup and Operations Guide


6.6.4 Procedure for deleting the files received from the development environment

This subsection explains the procedure for deleting the files that have been received from the development environment and that have been applied.

Prerequisites:

In the editing environment or the execution environment to which the files are to be applied, the following conditions must be satisfied:

  • Navigation Platform is running.

  • No user logs into Navigation Platform until this procedure is completed.

  • An I/O Plugin to be deleted is not associated with any Operational Content.

    You can check the Operational Contents that are associated with plugins by displaying mapping list files in the Operational Content Editing Window. For details about how to output mapping list files, see the manual JP1/Navigation Platform Content Editing Guide.

To delete the files received from the development environment:

  1. Execute the following command to check the status of the User Plugins to be updated:

    Navigation-Platform-installation-directory\PP\uCPSB\CC\admin\bin\cjlistapp uCNP_J2EE

    The status of a User Plugin is displayed to the left of the J2EE application name (User Plugin name):

    • running: The User Plugin is running.

    • stopped: The User Plugin is stopped.

  2. If a User Plugin that is to be deleted is running, execute the following command to stop the plugin:

    Navigation-Platform-installation-directory\PP\uCPSB\CC\admin\bin\cjstopapp uCNP_J2EE -name user-plugin-name
  3. Execute the following command to delete a User Plugin:

    Navigation-Platform-installation-directory\PP\uCPSB\CC\admin\bin\cjdeleteapp uCNP_J2EE -name user-plugin-name
  4. If the J2EE server settings have been changed, apply to the execution environment the contents of the user property file (usrconf.properties) for the J2EE server and the option definition file (usrconf.cfg) for the J2EE server that have been received from the development environment.

  5. If a deleted User Plugin had been using any library file and that library file will not be used by any other User Plugin, delete that library.

    Library files have the extension .jar and are stored in the following directory:

    Navigation-Platform-installation-directory\plugin_files\usrlib

  6. If you have deleted a library file, verify that the add.class.path key specifying the deleted library file has been deleted from the usrconf.cfg file.

    usrconf.cfg file storage location:

    Navigation-Platform-installation-directory\plugin_files\j2ee_usrconf\usrconf.cfg

  7. Delete unneeded resource adapters, if necessary.

    For details about how to delete resource adapters, see the manual JP1/Navigation Platform Development Guide.

  8. Edit the user property file (ucnp_user.properties), if necessary.

    The properties that need to be edited depend on the type of User Plugin. For details about the properties whose settings are required for each User Plugin, see the manual JP1/Navigation Platform Development Guide.

  9. Restart Navigation Platform.