hazelcast cluster: password alias replication

24 views
Skip to first unread message

Brady Vidovic

unread,
Aug 13, 2017, 3:28:19 PM8/13/17
to Payara Forum
I have a hazelcast cluster set up with two nodes, both referencing the same configuration. Session replication is working.

I'd like to use password aliases in the System Properties values, e.g.
DB_PASSWORD=${ALIAS=db_password}


However, this doesn't seem to work.
  1. Are password aliases expected to work when using hazelcast cluster with independent nodes?
  2. If so, what am I doing wrong?

This is the error I receive when creating the alias on the DAS:

Ulrich Mayring

unread,
Aug 21, 2017, 6:53:31 PM8/21/17
to Payara Forum
Not sure what your exact asadmin command is, but the password alias is hell to get right with respect to quoting and escaping. Here's what works for me:

password='\$\{ALIAS\=db-password\}'

Ulrich

Brady Vidovic

unread,
Aug 22, 2017, 11:31:01 AM8/22/17
to Payara Forum
I'm doing it thru the web UI on the das, so not command line escaping is required.

Mike Croft

unread,
Aug 23, 2017, 4:43:12 AM8/23/17
to Payara Forum
Hi Brady,

I've reproduced this myself. It seems it happens with any remote instance. I created an internal issue PAYARA-1987 to get this resolved.
Reply all
Reply to author
Forward
0 new messages