2 Replies Latest reply on May 14, 2009 10:52 AM by pippodev

    packaging problem

    pippodev

      I have tre component: wab application, EJBmodule and a class library ( this last packaged as jar). Web application and Ejb modules use the jar classes, and web application calls EJB methods.
      I tried to deploy all the separate component with JBoss 4.2.2 (putting all in the deploy directory), but the EJB module doesnt load the classes of the jar (nut web application do it!).
      A complication: I want reload the EJB module (so the calls to EJB will not work during the reloading) without restart the server so the web application classes that use the jar but not the EJB will continue to work.
      How can I do?

        • 1. Re: packaging problem
          peterj

          I don't think that the classes is the class library JAR will get loaded because JBoss AS will not deploy such a JAR. Try moving the class library JAR to the server/xxx/lib directory.

          Are your EJBs packaged in a JAR file? If so, simply replacing the JAR file will reload the EJBs.

          • 2. Re: packaging problem
            pippodev

            I put the JAR library in lib directory and all works godd!
            Thank you, bye