Session session = ExtLibUtil.getCurrentSessionAsSigner();
String server = session.getServerName();
String nabCandidates = session.getEnvironmentString("names",true); // There is a possibility that the variable is names=names.nsf,somotherdb.nsf
String nab = StringUtil.isNotEmpty(nabCandidates) ? StringUtil.splitString(nabCandidates,',')[0] : "names.nsf";
String formula = "@DbLookup(\"Notes\":\"Cache\";\""+server+"\":\""+nab+"\";\"($Servers)\";\""+server+"\";\"HTTP_SSLPort\";[FAILSILENT])";
Vector<?> result = session.evaluate(formula);
if(result.size()==1) {
Object port = result.get(0);
if(port instanceof Number) {
httpsPort = ((Number)port).intValue();
} else if(port instanceof Number) {