Bugs item #665360, was opened at 2003-01-09 14:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=665360&group_id=22866

>Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Elias Ross (genman)
>Assigned to: Scott M Stark (starksm)
Summary: MDB pool size is not bounded -- Is the max size being read?

Initial Comment:

I don't really want to create 100 MDB for my
application, so I changed the standardjboss.xml
configuration (like I did in 3.2):

--- standardjboss.xml   Fri Dec 20 18:47:58 2002
+++
/home/eross/src/javapackages/jboss/server/default/conf/standardjboss.xml
   Thu Jan  9 14:22:38 2003
@@ -774,7 +774,7 @@
         <persistence-manager></persistence-manager>
        
<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
      <container-pool-conf>
-        <MaximumSize>100</MaximumSize>
+       <MaximumSize>5</MaximumSize>
      </container-pool-conf>
       </container-configuration>

This doesn't seem to work and I end up with hundreds of
threads (and eventually run out of sockets...) 
Actually setting this number to -1 or something else
doesn't create any error...

I end up with this in the logs:

2003-01-09 22:32:54,997 ERROR [JMSContainerInvoker]
Exception in JMSCI message listener
javax.ejb.TransactionRolledbackLocalException: null;
CausedByException is:
        Cannot authenticate user; - nested throwable:
(java.net.ConnectException: Connection refused);
CausedByException is:
        null; CausedByException is:
        Cannot authenticate user; - nested throwable:
(java.net.ConnectException: Connection refused)
        at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:228)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:237)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:101)
        at
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:100)
        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
        at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:154)
        at
org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.java:311)
        at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:697)
        at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:985)
        at
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:241)
        at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:601)
        at
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:415)
        at org.jboss.mq.SpySession.run(SpySession.java:293)
        at
org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655)
        at java.lang.Thread.run(Thread.java:536)
javax.ejb.EJBException: null; CausedByException is:
        Cannot authenticate user; - nested throwable:
(java.net.ConnectException: Connection refused)


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2003-01-12 18:31

Message:
Logged In: YES 
user_id=175228

We have a rather bizare notion of MaximumSize in that it is a 
soft limit that will be exceeded if demand warrents it. I have 
restored the strictMaximumSize notion of 2.4 to 3.0.5 and 
3.2.0RC1 so that a configuration like:

<container-pool-conf> 
  <MaximumSize>5</MaximumSize>
  <strictMaximumSize>true</strictMaximumSize>
</container-pool-conf> 

means only 5 instances will be created. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=665360&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to