Hi,

I had posted this on jboss-user list. Since I got no answer I am posting
it here again.

I see when I used Jboss 3, it created 101 bean instances
(standardjboss.xml has 100) when the first client request was made. So
how do I control the minimum and maximum number of instances. Strange
thing is if my first client calls some method 3 times, container creates
103 (100+3) instances. Can someone take a look at this.

Thanks,
Jayesh


I have a stateless session bean deployed with the following
configuration. I see that when I connect my first client, server creates
1 session bean instance. When I try to connect the second client, the
server waits till the first client disconnects. I guess, the right
behavior for the server would be to create 3 bean instances either when
the server starts up, or when the first home.create() is invoked.

Correct me if I am wrong.

BTW, I am using JBoss-2.4.3_Tomcat-3.2.3 on windows XP.

Thanks,
Jayesh

  <container-configurations>
   <container-configuration
configuration-class="org.jboss.ejb.deployment.StatelessSessionContainerC
onfiguration">
         <container-name>Default Stateless SessionBean</container-name>
        
<container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvo
ker</container-invoker>
        
<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</insta
nce-pool>
         <instance-cache></instance-cache>
         <persistence-manager></persistence-manager>
        
<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
         <container-invoker-conf>
           <Optimized>True</Optimized>
         </container-invoker-conf>
         <container-pool-conf>
           <MaximumSize>10</MaximumSize>
           <MinimumSize>3</MinimumSize>
         </container-pool-conf>
    </container-configuration>
  </container-configurations>

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to