3 Replies Latest reply on Mar 9, 2004 9:45 AM by Adrian Brock

    where to see max/min MDB instance

    Lei Shen Newbie

      Attached is my jboss.xml for a MDB. I am trying to play with
      various configuation to see how it works, among the things
      you can configure, there are
      15
      5
      and I believe that are used to config the instance numbers on the pool.

      When I looked at the jmx-console for java:j2ee
      jndiName=local/MyFirstMessageDrivenBean,plugin=pool,service=EJB

      I saw the maxsize is 100, and no where to see minsize.
      Am I looking at the correct place?

      Thanks
      Lei


      --------------------------
      jboss 3.23 is used
      jboss.xml attached, you may need to view source to see the full xml
      ---------------------------------


      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE jboss PUBLIC
      "-//JBoss//DTD JBOSS 3.2//EN"
      "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">

      <invoker-proxy-bindings>
      <invoker-proxy-binding>
      my-message-driven-bean
      <invoker-mbean>default</invoker-mbean>
      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
      <proxy-factory-config>
      DefaultJMSProvider
      StdJMSPool
      15
      5
      1

      10

      queue/DLQ
      10
      0


      </proxy-factory-config>
      </invoker-proxy-binding>
      </invoker-proxy-bindings>

      <enterprise-beans>
      <message-driven>
      <ejb-name>MyFirstMessageDrivenBean</ejb-name>
      <configuration-name>Standard Message Driven Bean</configuration-name>
      <destination-jndi-name>queue/MyFirstTestQueue</destination-jndi-name>
      <invoker-bindings>

      <invoker-proxy-binding-name>my-message-driven-bean</invoker-proxy-binding-name>

      </invoker-bindings>
      </message-driven>
      </enterprise-beans>

        • 1. Re: where to see max/min MDB instance
          Adrian Brock Master

          Your configuration is for the session pool.
          You are looking at the ejb pool.

          The session pool configuration will be exposed on the container invoker
          from 3.2.4RC1. To make changes take affect, you must restart delivery.

          Regards,
          Adrian

          • 2. Re: where to see max/min MDB instance
            Lei Shen Newbie

            Adrian:

            Thanks for the message. Couple follow on questions and want to make sure I understood the whole thing correctly:

            1)
            If I want to know how many concurrent messages that MDB can handle, which pool should I look, session pool or EJB pool?

            2)
            It is kind easy to guess what is EJB pool. What is exactly the definition of session pool? what is
            the definition of the session here?
            I am guess that it doesnot make sense to have
            more instance in EJB pool than instances in session pool. Is that right?

            Thanks
            Lei

            • 3. Re: where to see max/min MDB instance
              Adrian Brock Master

              1) The session pool. You showed it before. They are ServerSessions that wrap
              XASessions.

              2) The EJB pool is largely irrevelent unless your MDBs are expensive to construct.

              Regards,
              Adrian