tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Kimmel <kumm0...@gmail.com>
Subject ServletContainerInitializer in EAR
Date Tue, 01 May 2018 13:49:33 GMT
Hi!

I am experiencing ServletContainerInitializer with @HandlesTypes always get
null classSet inside a WAR module of an EAR.
When I deploy as a single WAR, it works as expected.

My test can be found here:
https://github.com/kumm/flow-cdi-addon/blob/ear-test/flow-cdi-itest/src/test/java/com/wcs/vaadin/flow/cdi/itest/EarPlainTest.java

SerletContextListener is in a library of the WAR, it's code can be found
here:
https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/server/startup/RouteRegistryInitializer.java

If it is worth creating a more trimmed down testcase, I shall do it.

Kimmel Tamás

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message