1 Reply Latest reply on May 25, 2006 4:24 PM by bdecoste

    how to redeploy common ejb3 jar for many applications withou

    grzegorz.knapczyk

      I have the following scenario:

      Common ejb3.0 beans are deployed using the seperate JAR library, let's call it ejb-tvman.jar. There are a few applications deployed as EAR, WAR which depend on ejb-tvman.jar.

      When I upgrade/redeploy the common ejb-tvman.jar, all the related applications have a problem with the Proxy class:

      java.lang.ClassCastException: $Proxy147


      How to force jboss to redeploy automatically all the related applications?


        • 1. Re: how to redeploy common ejb3 jar for many applications wi
          bdecoste

          There is no way to automatically redeploy all the dependent modules. When you redeploy dependent modules, you need to redeploy them all. The suggestion is to deploy all of your dependent modules in a single ear. If your ejb interfaces are stable, you could deploy the interface classes (e.g. in lib) and just redeploy the bean implementations.