KB Article #191720

Unable to apply Hotfix

Problem

Unable to apply hotfix on B2Bi.

Installer shows the message "B2Bi is still running" or "B2Bi server is running. Please stop B2Bi and retry!" while applying the hotfix.

Resolution

There may be either of these situations:

1- The wrong paths exist in /home/<user_install>/.java/.userPrefs/com/install4j/installations/prefs.xml which cause the hotfix installer to add the "/home/axway/B2BiServerHotfix" as a first option. To resolve this, remove the invalid path, and correct the other path with real path (B2Bi installation path)

2- In some cases the whole path in the prefs.xml is missing, the file could be missing, or the file could be improper to install4j standards. In these cases, copy the file with exact same directory path from other working B2BI environment and paste it on destination server and change the path to be the actual Installation path.

For example:

<!-- Here is an invalid prefs.xml -->
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<map MAP_XML_VERSION="1.0">
<entry key="allinstdirs8407-0559-1059-7204" value="/opt/axway/b2bi/B2BiServer"/>
<entry key="instdir8407-0559-1059-7204" value="/opt/axway/b2bi/B2BiServer"/>
</map>


<!-- Here is a valid prefs.xml -->
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<map MAP_XML_VERSION="1.0">
<entry key="allinstdirs8407-0559-1059-7204" value="/opt/axway/b2bi"/>
<entry key="instdir8407-0559-1059-7204" value="/opt/axway/b2bi"/>
</map>

Where /opt/axway/b2bi contains the folder B2Bi, Interchange, Integrator, jre, version, etc.