High Availability Instance Failover Not Working for IMAPMonitor (Doc ID 752432.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Application Server Integration B2B - Version: 10.1.2.3.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

On 10.1.2.3.0 when attempting to running the servers in HA mode, so at startup only one of the servers are polling the inboxes on the mail server. B2B server 1 is polling the inboxes and B2B server 2 is
passive. So far everything works fine.

However, when you shutdown B2B server 1, the other server does not start polling the inboxes. In
the B2B log you can see that B2B server 2 becomes active ('isActive ret = 1' is seen in the log file).
However, in the transport log file of B2B server 2 you can see that it fails to start polling.

2008.10.03 at 12:10:36:961: Thread-17: (DEBUG) IMAPMonitor.run(): IMAPMonitor goes to sleep for 1 secs ...
2008.10.03 at 12:10:37:949: Thread-15: (DEBUG) IMAPMonitor.run(): IMAPMonitor goes to sleep for 1 secs ...
2008.10.03 at 12:10:37:965: Thread-17: (DEBUG) IMAPMonitor.run(): IMAPMonitor goes to sleep for 1 secs ...
2008.10.03 at 12:10:38:951: Thread-15: (DEBUG) IMAPMonitor.run shutdown is false, continuing
2008.10.03 at 12:10:38:951: Thread-15: (DEBUG) IMAPMonitor: close() close()
2008.10.03 at 12:10:38:967: Thread-17: (DEBUG) IMAPMonitor.run shutdown is false, continuing
2008.10.03 at 12:10:38:968: Thread-17: (DEBUG) IMAPMonitor: close() close()
2008.10.03 at 12:10:39:022: Thread-15: (DEBUG) IMAPMonitor.run(): IMAPMonitor goes to sleep for 1 secs ...
2008.10.03 at 12:10:39:022: Thread-15: (DEBUG) IMAPMonitor.run: wake up. shutdown_ = true
2008.10.03 at 12:10:39:022: Thread-15: (DEBUG) IMAPMonitor.run shutdown is true, breaking out
2008.10.03 at 12:10:39:023: Thread-15: (DEBUG) IMAPMonitor.run exiting run
2008.10.03 at 12:10:39:027: Thread-17: (DEBUG) IMAPMonitor.run(): IMAPMonitor goes to sleep for 1 secs ...
2008.10.03 at 12:10:39:027: Thread-17: (DEBUG) IMAPMonitor.run: wake up. shutdown_ = true
2008.10.03 at 12:10:39:027: Thread-17: (DEBUG) IMAPMonitor.run shutdown is true, breaking out
2008.10.03 at 12:10:39:027: Thread-17: (DEBUG) IMAPMonitor.run exiting run

The failover works as long as the inactive node is still logged into the mail account. However, when the inactive node gets logged off then the inactive instance fails to login again when it should become active.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms