I want to integrate features used by JBoss Portal in the the tomcat integration in order to improve the integration between the two. That will consist in :
1/ move JBoss Portal code that enables instrumentation of a war file at runtime. This code mainly add a new objects to a tomcat context (a servlet and a servlet filter).
2/ Test 1/
3/ Provide an integration layer that the portal can safely reuse
The target release is the branch 4.x.x and head.
This show how JBoss Portal modifies a tomcat context
http://anoncvs.forge.jboss.com/viewrep/~raw,r=1.11/JBoss/jboss-portal/server/src/main/org/jboss/portal/server/deployment/PortalWebTomcat5App.java
This shows how JBoss Portal is aware that a tomcat context is deployed :
http://anoncvs.forge.jboss.com/viewrep/~raw,r=1.5/JBoss/jboss-portal/server/src/main/org/jboss/portal/server/deployment/WebAppIntercepter.java