Can't add a datasource referencing password vault after Java update

Posted on

I was running Java EAP 7 build 08 with JDK 8 update 144. I had stored a few passwords using the vault.bat command, and successfully created some datasources in the management interface, with the password field referencing the stored passwords with a string like ${VAULT::myDS::password::1}. Then I updated Java 8 to update 152. I was able to store another password with vault.bat, but I am unsuccessful when I try to add a datasource with that newly stored password. The message in the server log is:

WFLYCTL0211: Cannot resolve expression '${VAULT::mynewDS::password::1}'

Has anyone else run into this?

I do see in the JDK 8u151 Update Release Notes (http://www.oracle.com/technetwork/java/javase/8u151-relnotes-3850493.html) that there have been changes to the Java keytool that vault.bat depends on.