|
I tried the scenario with the following details:
-
Used Weld Numberguess JSF example (2.3.1.Final)
-
All dependencies were set as provided scope
-
All dependency jars were placed to $CATALINA_HOME/lib (including weld-servlet.jar)
-
Tried with Tomcat 8.0.30 and Tomcat 7.0.65
-
App was deployed twice
-
Two separate WARs with different names
-
I did not use the WELD_CONTEXT_ID param
Everything worked as expected, Weld created separate container for each deployment and none of the deployments was affecting the other in any way. Also according to Tomcat docs there is a separate class loader per app deployed which supports my findings.
For the above reasons I resolve this issue as 'Rejected'.
|