Details
-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.6 Final
-
None
-
None
Description
SourceForge Submitter: lhoriman .
When a SAR contains an EAR, the deployment order
for the EAR is broken. Specifically, the WAR gets
deployed before any EJB JARs.
I have attached a simple testcase which is a SAR which
contains an EAR which contains a WAR and an EJB
JAR.
The WAR contains a servlet which makes a call on the
EJB in the init() method. The EJB method is a trivial do-
nothing method.
If this SAR is deployed on JBoss during startup, the
WAR is started before the EJBs and produces a lot of
NoClassDefFoundErrors. If the SAR is hot-redeployed
into the running server, everything works fine.