Failed to add artifact '${org.jboss.eap:wildfly-security-vault-tool}' when adding password to Vault in EAP 7.3 Update 4
Issue
-
After upgrade to JBoss EAP 7.3 Update 4 we are seeing below error when adding a password to vault.
./vault.sh --keystore EAP_HOME/standalone/vault/vault.keystore --keystore-password vault22 --alias vault --vault-block vb --attribute password --sec-attr 0penS3sam3 --enc-dir EAP_HOME/vault --iteration 120 --salt 1234abcd ========================================================================= JBoss Vault JBOSS_HOME: EAP_HOME JAVA: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-1.fc32.x86_64/bin/java ========================================================================= Exception in thread "main" org.jboss.modules.ModuleLoadException: Error loading module from EAP_HOME/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.3.4.CP/org/jboss/as/vault-tool/main/module.xml at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:337) at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:293) at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:254) at org.jboss.modules.LocalModuleFinder.parseModuleXmlFile(LocalModuleFinder.java:250) at org.jboss.modules.LocalModuleFinder.lambda$findModule$1(LocalModuleFinder.java:195) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:195) at org.jboss.modules.ModuleLoader.findModule0(ModuleLoader.java:696) at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:689) at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:499) at org.jboss.modules.DelegatingModuleLoader.preloadModule(DelegatingModuleLoader.java:57) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:295) at org.jboss.modules.Main.main(Main.java:371) Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to add artifact '${org.jboss.eap:wildfly-security-vault-tool}' (position: END_TAG seen ... <artifact name="${org.jboss.eap:wildfly-security-vault-tool}"/>... @32:72) caused by: java.lang.IllegalArgumentException: ${org.jboss.eap:wildfly-security-vault-tool} at org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:1054) at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:937) at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:697) at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:469) at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:335) ... 12 more Caused by: java.lang.IllegalArgumentException: ${org.jboss.eap:wildfly-security-vault-tool} at org.jboss.modules.maven.ArtifactCoordinates.fromString(ArtifactCoordinates.java:83) at org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:1047) ... 16 more
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss EAP)
- 7.3 Update 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.