KB Article #72435

Secure relay problem after upgrade - Service mode installation

Problem

-- After using the upgrade pack to migrate from version 2.1.3, the new Secure Relay RA 2.3.0 does not start.
-- This problem arrives because Synchrony 4.3 uses Java 5 and the new Synchrony 4.4 uses Java 6. Because the service is not updated when the upgrade pack is applied, it will still point to the old Java 5.


Resolution

-- The solution is to modify the Windows registry to reflect the new path to the new Java 6.
-- In the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Secure_relay_service_name> you have the path to the executable that launches the SecureRelay RA service: "C:\Axway\Synchrony\Tools\Wrapper\wrapper32.exe" "\"C:\Axway\Synchrony\Java\win-x86\j2re1.5.0\bin\java\" -Xmx512m -Dxsr.home=C:\Axway\Synchrony\SecureRelayRA\ -cp \"C:\Axway\Synchrony\SecureRelayRA\lib\loader.jar\"
com.axway.xsr.loader.RouterAgentLoader -cf C:\Axway\Synchrony\SecureRelayRA\conf\configuration.xml" "KILL_STARTED_PROCESS" "C:\Axway\Synchrony\SecureRelayRA" "C:\Axway\Synchrony\SecureRelayRA\log\output.log" "SRRA"
-- Modify so that it will point to Java 6 version just installed in the Synchrony directory:
"C:\Axway\Synchrony\Tools\Wrapper\wrapper32.exe" "\"C:\Axway\Synchrony\Java\win-x86\jre6\bin\java\" -Xmx512m -Dxsr.home=C:\Axway\Synchrony\SecureRelayRA\ -cp \"C:\Axway\Synchrony\SecureRelayRA\lib\loader.jar\"
com.axway.xsr.loader.RouterAgentLoader -cf C:\Axway\Synchrony\SecureRelayRA\conf\configuration.xml" "KILL_STARTED_PROCESS" "C:\Axway\Synchrony\SecureRelayRA" "C:\Axway\Synchrony\SecureRelayRA\log\output.log" "SRRA"