1 Reply Latest reply on Apr 6, 2009 4:46 PM by pmuir

    question about webbeans-ri.jar and its classloader contract

    bluewolf

      Are there any documents or e-mail archives that explain(or discuss) ...
      "you must insert the webbeans-ri.jar into the applications isolated classloader."?


      My Link

        • 1. Re: question about webbeans-ri.jar and its classloader contract
          pmuir

          Not really, it's quite straightforward really. Most servers implement (either by default or optional) a hierarchical classloading structure, Current Web Beans requires that the webbeans-core.jar is placed into the applications classloader, not a classloader that is shared between multiple applications. For example, in Tomcat, you can do this by placing the JAR in WEB-INF/lib.


          We are working on removing this restriction at the moment (I'm not sure whether the contribution will make it into the next release, but certainly by the 1.0.0 release).