java - Deploy EAR has origin WAR and copied WAR on wildfly 9 -


i have deploy 1 ear contain 2 war, 1 war copy of war.

  • build.ear
  • a.war (context path : /a)
  • b.war (context path : /b)

i had test on local machine using eclipse debug mode, understandable situation found.

step 1. request localhost:8080/a/someurl

step 2. caught break point of controller in a.war

step 3. caught break point of service in b.war

why debugger caught break point in not a.war b.war despite had requested context path /a? had spring container ignore duplicate scanned class?

afik wars 1 ear loaded using same class loader. if both a.war , b.war contains same classes ... not want happen , need re-organize wars.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -