Wildfly 26.1.2.Final: ModuleNotFoundException

305 views
Skip to first unread message

Iason Filippou

unread,
Oct 23, 2023, 7:00:10 PM10/23/23
to WildFly
Hello,

We want to use the elytron-tool utility for managing a keystore. We dynamically provision Wildfly 26.1.2.Final with the following commands in our gradle.properties:

galleonVersion = 5.0.5.Final
wildflyVersion = 26.1.2.Final
wildflyLayers = cdi,jaxrs,microprofile-config,logging,datasources,mail,h2-datasource,core-management,web-console,core-toolstwild

(I have also tried adding elytron and elytron-tool to the wildFlyLayers variable above.)

Unfortunately, when running either elytron-tool.sh or elytron-tool.bat, we get a ModuleNotFoundException for elytron-tool:

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)

From the issue tracker: https://issues.redhat.com/browse/WFLY-18321 I denote a comment that says that this issue has been fixed in Wildfly 27. We were wondering if this issue is in any way solvable in Wildfly 26, since we would prefer to not upgrade our WildFly version at this time.


Regards,
Jason

Prarthona Paul

unread,
Nov 1, 2023, 10:53:37 AM11/1/23
to WildFly
Hi Jason, 
It seems like you have solved this issue: https://stackoverflow.com/questions/77350071/wildfly-26-1-2-final-modulenotfoundexception
If you have any follow-up questions, please feel free to let us know. 
-- Prarthona

Reply all
Reply to author
Forward
0 new messages