]
Tomaz Cerar moved JBCL-187 to WFLY-5382:
----------------------------------------
Project: WildFly (was: JBoss ClassLoader)
Key: WFLY-5382 (was: JBCL-187)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: CDI / Weld
Class Loading
(was: ClassLoader)
XML descriptors don't work in static deployment.
------------------------------------------------
Key: WFLY-5382
URL:
https://issues.jboss.org/browse/WFLY-5382
Project: WildFly
Issue Type: Bug
Components: CDI / Weld, Class Loading
Reporter: Danila Sofinskii
Assignee: Ales Justin
I have one module with stateless EJB bean and two configuration files - persistence.xml
and ejb-jar.xml in META-INF.
I try to deploy it in static context with jar index, created by Jandex, inside. For
depends dynamically deployed modules I wrote 'Dependencies: core.module.name
annotations' to manifest file, like in this issue:
https://issues.jboss.org/browse/WFLY-4386
My bean found by WELD, but it can't take xml files - Persistence Context, which I
configure in persistence.xml, not found, and Module Name from ejb-jar.xml are wrong, too.
How I can configure module for work with this xml files?