2 Replies Latest reply on Aug 29, 2012 11:12 AM by markorocko

    How to make libs.jar accessible to both EJBs and WebApp?

    markorocko Newbie

      Anyone know how to resolve this?  FYI- Running AS7

      I have

      EAR----------

           app.war

           libs.jar

           ejb1.jar

           ejb2.jar

      EAR----------

       

       

      Now inside my app.war

      WAR---------

           WEB-INF

                classes

                lib

      WAR---------

       

      Problem- classes inside the app.war cannot see my libs.jar.

      Poor workaround - An easy way to fix this is to just redundantly add libs.jar to the lib directory but then it's redundantly in two places(EAR and WAR).

       

      Is there a more elegant way to permit the class files inside the war to see the libs.jar?