Wildfly 26 - Bootable Jar - elytron-tool missing

74 views
Skip to first unread message

ralfbat...@gmail.com

unread,
Aug 2, 2023, 8:14:56 AM8/2/23
to WildFly
Dear Wildfly Team

We face an issue by using the bootable jar feature in wildfly 26.1.3. 
We need to be able to use the elytron command line tools but we get this: 

>./tmp/bin/elytron-tool.bat
org.jboss.modules.ModuleNotFoundException: org.wildfly.security.elytron-tool
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:301)
        at org.jboss.modules.Main.main(Main.java:358)

I looked as well into the modules directory. Its missing. Is there something I missed. The <layer>core-tools</layer> we have defined.

Regards,
Ralf

ralfbat...@gmail.com

unread,
Aug 2, 2023, 8:56:37 AM8/2/23
to WildFly
As a workaround, I added the missing modules with 'extra-content' feature:
  • org/wildfly/security/elytron-tool
  • org/apache/commons/cli
  • org/apache/commons/lang3
Preceding with modules/system/layers/base

With these modules, the elytron-tool.bat / elytron-tool.sh is executable.

Darran Lofthouse

unread,
Aug 3, 2023, 6:02:23 AM8/3/23
to WildFly
Is it a true bootable jar that you are using or are you using the plugins to provision a server installation.

For bootable jar the Elytron tooling doesn't make as much sense as it is not until the server is run that it is unzipped.

I do however think a Jira issue describing what you have been doing would be good, I do think we currently provision scripts without mandating their dependencies I think some clean up is due in this space to control which scripts we provision and where we do provision them ensure they are functional if provisioned.

ralfbat...@gmail.com

unread,
Aug 7, 2023, 11:20:22 AM8/7/23
to WildFly
Dear Darran, thank you for your reply. As suggested, I have created this JIRA: https://issues.redhat.com/browse/WFLY-18321

Regards,
Ralf

Brian Stansberry

unread,
Aug 8, 2023, 6:11:10 PM8/8/23
to WildFly

Thanks, Ralf, for the report. This should be fixed in WildFly 27 via https://issues.redhat.com/browse/WFLY-16589.
Reply all
Reply to author
Forward
0 new messages