NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Because of the application name changed in v.1.3, in the JBOSS home directory, locate the war file containing the previous release of caIntegrator2 and delete it. For example, find this file: JBOSS_HOME/server/default/deploy/caintegrator2.war and delete the file named caintegrator2.war.
    NOTE: In this same directory, there is may be a different file named caintegrator.war (without the number 2 in the name) which you should not delete.|
  2. From the directory where you downloaded the upgrade zip file, extract the files, using one of these two methods:
  3. Open a command prompt and use it to extract this file to a temporary location. For example, you may enter a command such as unzip -q caIntegrator_upgrade_1_3.zip. (You must have a ZIP tool installed).
    Info
    titleNote
    :

    It is recommended that you use a new directory for the unzipped files, rather than the one you used to unzip the installer for the previous version(s) of caIntegrator. This location will be referred to as the <upgrade_installer_directory> henceforth.

  4. Use WinZip or a similar utility to unzip the files to a temporary location. This location will be referred to as the <upgrade_installer directory> henceforth
    Example: <upgrade_installer directory> = C:\caintegrator2_1_2_upgrade_installer
  5. Edit the default properties in the <upgrade_installer_directory>/upgrade.properties file. Before doing so, review the #Working with Properties Files.
    To do so, open both properties files, the one you configured originally when you installed the previous version of caIntegrator. (<install. properties file>)and the <upgrade_installer_directory>/upgrade.properties file.
    For the latest details about configuring the properties for your updated environment, refer to this wiki page: https://wiki.nci.nih.gov/x/MBKy
    Note: The upgrade.properties file does not have as many attributes, so you will not need to transfer all values you set in the previous installation file.
  6. Record these property values.
    Note: You shouldn't need to modify the other default values as we have chosen unique ports to reduce the risk of other applications using the same values. However, be sure to check the *.properties file to verify that the ports in thethis file are not being used by other applications.
  7. From the command line, navigate to <upgrade_installer_directory>/ (Example:cd C:\caIntegrator_upgrade_installer), and type ant. This initiates the upgrade process. The anticipated duration is anywhere 1-15 minutes depending on your system's speed, power and memory.
    The installer upgrades your existing caIntegrator database on your MySQL server, and starts your existing JBoss server.
    Notes regarding upgrade:
    When the installer detects that a database exists, it warns you to back it up, which you were instructed to do earlier in this process. Press Y to proceed.
  8. To verify caIntegrator installation, open your web browser to http://<jboss.server.hostname>:<jboss.server.port>/caintegrator /workspace.action (example: +http://hostname:47210/caintegrator/workspace.action)+Image Removed and enter ncimanager as the user and changeme as the password. Refer to the original install.properties for the correct jboss.server.hostname and jboss.server.port values.

...

Note
titleFor Optimal Performance

For optimal performance, you must modify your JBoss 4.0.5 configuration to increase the amount of available memory for the caIntegrator application. Directions for doing this in Windows are in the following step 1.

info


To configure JBoss in Windows, follow these steps.

  1. Modify the following entry to the JBoss run.bat file which is located at <application_root_directory>/jboss-4.0.5.GA/bin/run.bat. Find the line that begins with "set JAVA_OPTS= -Dbda=bda -Dprogram.name=%PROGNAME% -server", modify the "-Xms256m -Xmx512m" to read "-Xms4096m -Xmx4096m".
    {info:title=Note If 4096m is higher than the physical memory on the machine, then performance could be severely impacted with performance degradation and errors. 4096m of physical memory is recommended.
    Info
    Warning
    titleWarning

    Be careful when copying and pasting from this document, whether PDF or MS Word. No spaces must come before and after the columns. A safe way to ensure that the text has no unwanted space and unwanted characters is to copy the text into a blank text editor such as NotePad first. Then you can correct the spacing and copy-paste back into the run.bat file.

    1. Restart your JBoss 4.0.5 server for the changes to take effect. The method of doing this may depend on the start/stop/restart scripts you created after the installation. Most commonly, you can execute shutdown.bat and then run.bat under $JBOSS_HOME/bin. Refer to the publicly available JBoss user's guide at http://www.jboss.org for more information.

      Configuring JBoss Servers and MySQL Server to Run as Services


      NOTE
      Image Modified

      MySQL and the JBoss server that make up caIntegrator, and the JBoss server optionally installed for UPT, must run continually as services. The instructions in this section cover all of these scenarios. For a caIntegrator deployment, there are at least three servers, and if UPT is installed, four servers:

    • JBoss 4.0.4 for UPT (optional)
    • JBoss 4.0.5 (for caIntegratorapplication)
    • MySQL 5.0.45|

      Running JBoss as a Service


      BEFORE RUNNING JBOSS
      Before starting the caIntegrator JBOSS server, change the default location for user data. User data consists of various files that are saved by caIntegrator during the deployment and querying of studies. The default location for user data should be changed via the Djava.io.tmpdir jvm parameter in the jboss run.conf file.

      Example jvm parameter: -Djava.io.tmpdir=/local/content/caintegrator/jvmtmp
      |
      Note
      titleBEFORE YOU BEGIN

      The default caIntegrator installation runs JBoss as a command line process using the user currently logged on. Therefore, when you log out as this user, JBoss will no longer be available for caIntegrator. For that reason, it is recommended that you configure your JBoss servers to run as a Linux or Windows service. The instructions are contained in this section.


      To run JBoss as a service, follow these steps:
      Linux
      See http://wiki.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux.
      Windows
      To run an existing JBoss command line installation as a service, follow the directions for creating a user-defined service at http://support.microsoft.com/kb/137890/EN-US/
      Info
      titleNote

      You need to have access to the Windows Resource Kit.

    Running MySQL as a Service

    Info
    titleNote

    It is assumed that your MySQL server was installed as a service. If it was not, follow these recommendations for installing this server as a service.

To run MySQL as a service, follow these steps:

...