I've been trying to find a way to modify my ant task that hot-deploys an app to a standalone Tomcat server so that it will also hot-deploy to an embedded Tomcat instance running under JBoss. The standard catalina ant tasks to do this don't work under JBoss, as the /admin app isn't available.
I've been trying to use the twiddle script to reload a context, but I'm getting error when I try to do it. Is there some accepted way to hot-swap a context under Tomcat with JBoss?