3 Replies Latest reply on Feb 29, 2008 4:54 AM by jaikiran

    Not finding org.jboss.ejb3.StrictMaxPool  class in the JBOSS

    ajayks

      I am using JBOSS4.2.2.GA for the application writen in EJB3.0.
      I want to control size of instance pool of a stateless/MDB bean using org.jboss.ejb3.StrictMaxPool class.
      But the jar file shipped with JBOSS4.2.2.GA doesnot contains any org.jboss.ejb3.StrictMaxPool class.
      I request to help me how I would able to get org.jboss.ejb3.StrictMaxPool class.
      Which jar file I have to use it/ot which verssion og JBOSS I have to use.

      with regards,
      Ajay Kumar

        • 1. Re: Not finding org.jboss.ejb3.StrictMaxPool  class in the J
          alrubinger

          In $JBOSS_HOME/server/[serverName]/deploy/ejb3.deployer/jboss-ejb3.jar you'll find org.jboss.ejb3.StrictMaxPool.

          S,
          ALR

          • 2. Re: Not finding org.jboss.ejb3.StrictMaxPool  class in the J
            ajayks

            Thanks a lot ALR.
            I have now got the required class.
            I want one more clarification from your side,
            there is jboss-ejb3x.jar available in the $JBOSS_HOME/server/[serverName]/lib directory. What is diffrence between this jar and the
            the jboss-ejb3.jar jar available in the $JBOSS_HOME/server/[serverName]/deploy/ejb3.deployer parh.

            best regards.
            Ajay Kumar,
            Technical Leader,
            ST Microlelectronics,
            Greater Noida,
            India.

            • 3. Re: Not finding org.jboss.ejb3.StrictMaxPool  class in the J
              jaikiran

               

              "ajayks" wrote:
              Thanks a lot ALR.
              there is jboss-ejb3x.jar available in the $JBOSS_HOME/server/[serverName]/lib directory. What is diffrence between this jar and the
              the jboss-ejb3.jar jar available in the $JBOSS_HOME/server/[serverName]/deploy/ejb3.deployer parh.



              jboss-ejb3.jar has JBoss specific classes (org.jboss.*) whereas jboss-ejb3x.jar has classes belonging to javax.* package.