The recommended way to upgrade a RAR file is to uninstall
the existing RAR along with its configuration and to install the new RAR
and rebuild the configuration.
It may be possible to replace the RAR file, but problems can occur if
there are changes in the custom properties for the Connector or if native
code comes with the RAR.
To replace the RAR file:
- Create a new directory and unzip the rar into this directory.
- Edit the archivePath property under Resources->Resource
Adapters->[RA Name] to the created directory.
- Restart the application server.
If problems occur, then there are changes in the configuration that
require a full reinstall.
In the case that the RAR contains native libraries, if the libraries are
at the top level of the resource adapter .rar file, then they were handled
by the install process (copied to
%WAS_HOME%\installedConnectors\ConnectorName):
- Save the old version
- Copy the new version into the same directory
If they are in sub-directories (separated by platform), then the RAR file
must contain a readme file that describes how to handle the native
libraries. |