-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
6.4.0.GA
-
None
when creating a module for a custom valve, everything works fine if the module is package in default main slot, e.g.
my/valve/main
- module.xml
- my.jar
<subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false"> <valve name="vaadin-valve" module="my.valve" class-name="be.post.vaadin.SessionExpiredVaadinResponseValve"/> </subsystem>
Nevertheless I want to version the module, therefore package my module with a given slot:
my/valve/6.0
- module.xml
- my.jar
<subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false"> <valve name="vaadin-valve" module="my.valve:6.0" class-name="be.post.vaadin.SessionExpiredVaadinResponseValve"/> </subsystem>
But this fails with following stacktrace:
17:58:34,437 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.web.valve.vaadin-valve: org.jboss.msc.service.StartException in service jboss.web.valve.vaadin-valve: org.jboss.modules.ModuleNotFoundException: my.valve:6.0:main at org.jboss.as.web.WebValveService.start(WebValveService.java:92) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_65] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_65] Caused by: org.jboss.modules.ModuleNotFoundException: my.valve:6.0:main at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240) [jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.as.web.WebValveService.start(WebValveService.java:68) ... 5 more
- is related to
-
WFCORE-1499 logging custom-handler does not load module with slot
- Resolved