Maybe I am not fully understanding it, so bear with me.
But I thought "asadmin deploy --contextroot a --name asa myapp.war " and "asadmin deploy --contextroot b --name asb myapp.war" could solve your problem.
- Kedar
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=238086