Email Server Java

Dear all,

 There are email_server_a is primary, email_server_b is backup and a webapi server. Has anyone know why in connection tab of webapi must to connect to both of email_server a and b? I have tested a case,If in connection tab of webapi its connect only email_server_a when email_server_a is fail and email_server_b is changed to be primary then I couldn't send email via web form?

Thanks you inadvance.
cheers,
Lekie

Hmm, did you use ADDP on this connection ?

WBR

no addp
error in webapi log showed as below

14:09:42.531 Std 20103 LB: exception during inguiry inqSrvcByType: service not found in thread SvcDispatcher
14:14:32.551 Trc 20200 LB: method initializeDispatcher invoked, thread SvcDispatcher
14:14:32.551 Trc 20200 LB: initializeDispatcher: SVC dispatcher has been initialized already, thread SvcDispatcher
14:14:32.551 Trc 20501 LB: received service inquiry by type ‘CFGEmailServer’, tenant=‘Resources’ in thread SvcDispatcher
14:14:32.973 Trc 20200 LB: ServiceDescr.getSrvcByType: Tenant=Resources(DBID=101)

cheers,
Lekie

5 Likes

Hi Lekie,

I haven’t tried such configuration but I think it’s a conflict between supported HA modes. WebAPI server does support HA by using load-balancing mechanism. That means that it can load-balance between multiple applications of the same type that are connected to it (listed on Connection tab). Email Server Java itself support warm-standby HA. If you combine these two modes then it won’t work as WebAPI doesn’t care about ESJ warm-standby - it simply load-balances traffic between connected applications only. So when primary ESJ goes down WebAPI doesn’t care about backup ESJ as WebAPI is not connected to this application.

R.

You have to specify both in WebAPI Server connections, but it will use only “current” primary based on information from SCS and switch to another if switchover happened.

YP

Thank you for all comment