Hi all, In Tomcat 6.x (trunk) we have added in names to all the classloaders in Tomcat Names are common shared server For the top level loaders. And for the webapp classloaders, the name is Engine.name#Host.name#Context.name For example Catalina#localhost#/probe And for the ROOT context, it would be Catalina#localhost# Since the name of that context is "" This should bring us one step closer, I haven't forgotten that it would be nice to have a tighter integration between Terracotta and Tomcat, and not having to rewrite the session manager in order to do it, as that introduces the risk of bugs and could change tomcat's behavior. With the named classloaders, we can easily reference what classloader needs to load the class on another node.
What would be the next steps, I remember that the current tomcat manager likes to iterate through the entire HashMap for sessions, causing the node to load all the sessions, this should be fairly straight forward doing, by creating a lazy map, ie, when keySet or entrySet only returns the objects in actual memory thoughts on how to move forward? I'm sort of behind on Terracotta a little bit, but I think I heard through the grapevine that there is an API now? Filip _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
