Fixed in trunk, mostly with change 11812, some additional support in 11883.
To share classes between web apps, use config similar to the following:
In addition to web apps, any registered loader can be shared by naming it explicitly; for instance, the standard system loader can be shared:
To find classloader names, enable named-classloader debugging:
Tests are in tim-session-system-tests: AppGroupTest, AppGroupNSTest, AppGroupWebAndPojoTest, AppGroupWebAndPojoNSTest. The reason the tests are there is because container TIMs are needed to test the web-application support.
Note that DSO client tests that use IsolationClassLoader are able to share classes with DSO apps spawned out of process without any custom app-groups config, because IsolationClassLoader is special-cased and treated as if it was in the same app-group as the standard system loader by default.