1 Reply Latest reply on May 12, 2009 10:34 AM by swd847

    Seam war app on tomcat, and jars question...

    sherkan777

      Hi guys,
      My app is developed on tomcat 6 and seam 2.0.1 in war file.
      I use Faceles, Seam security, RichFaces, JSF 1.2.


      So, can I move all (or which?) jars to tomcat/libs directory instead of war/WEB-INF/lib, to share all jars for both apps?


      Couple months ago, I've seen post about jboss. Some guy had 2 apps in ear and jboss loaded jars twice for both apps, so I want to prevent that.

        • 1. Re: Seam war app on tomcat, and jars question...
          swd847

          The official line is that the seam jars must be placed in the application. Due to the use of statics in the seam code if some classes are not loaded once per app you will run into problems where components from one app invade the other app, as well as other problems.