I use to work with JBoss 4.0.0 (not RC1). I deploy two ear with different names but that correspond to a similar application. Each of these ear contain two war files that target the same virtual host but a different context root.
First deployment runs perfectly. Everything works fine. I can access my pages without any troubles.
Then, I deploy the two ear while the JBoss server is still running. Hot deploy occurs and the two "new" ear are redeployed without crashing.
When I try to access, via the browser, a page located in a ear, it works. But when I try to access a page located in the other ear, I've got an exception...
java.security.PrivilegedActionException: org.apache.jasper.JasperException: Unable to compile class for JSP java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:500)