0 Replies Latest reply on Nov 29, 2004 2:55 PM by Titom

    Security, Jasper, hot-deploy, virtual hosting and multi-ear.

    Titom Newbie


      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)

      This error does not occur when I disable the security...
      Is anybody know why? Is there any issue? Anybody noticed a similar behavior?