RMI Connections error after NA upgrade
After upgrading NA from 10.21 to 10.30 then 10.50 then 8.2018, I now facing the following error between my two HA cores, as some data don't reflect on both cores:
RMI Error Local Core: rydnaap01 Remote Core: rydnaap02 Error: java.rmi.AccessException: SecurityException; nested exception is: javax.security.auth.login.LoginException: Missing or invalid security context.
RMI Error Local Core: rydnaap02 Remote Core: rydnaap01 Error: java.rmi.AccessException: SecurityException; nested exception is: javax.security.auth.login.LoginException: Missing or invalid security context.
The two cores are up and running, reachable from each other, and I can telnet on port 1099, hostnames are resolvable, and core status shows as active-running in NA.
Hi @Mustafa ALi ,
can you test this command:
nc -w 10 -zv hostname_core2 1099
nc -w 10 -zv hostname_core1 1099
that will test if the port is answering
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the THUMB at the bottom left of the post and show your appreciation.
Yes Issue solved.
This is the steps I received from support:
Due to some unknown reason RMI invocation between cores is failing on some HS setups. So solve that we should exclude those calls from context check. It can be done by following the steps to bypass security context check for some calls between NA cores.
In appserver.rcx, there is a section: <array name="security/no_context_ok">
Copy the block to adjustible_options.rcx and add the following lines to that block in adjustible_options.rcx.
Do the same on both NA cores. Restart NA cores and check if issue still happens.