Page 1 of 1

More than 5 serves on SAC

Posted: Wed Oct 10, 2007 6:11 am
by bguerreiro
Hi all.
I'm setting up a multi-server environment, all to be managed via a single management server.
Everything was going smoothly with 5 servers. After adding a sixth, this message started to appear in the tomcat caa logs:
"ERROR [CAAConnectionPoolManager.getFreeConnectionFromPool:225] Connection pool for scalix.res is full"
Although the server appears in the console, I can't manage it.
Removing one of the pre-existing servers, and reinstalling the sixt (now fifth) server, i can now manage it.
This "Connection pool" limit is it configurable, or is it hardcoded somwhere?

Any help would be much appreciated.

BRGDS.
Bruno

Posted: Wed Oct 10, 2007 8:04 am
by ls-al
Hi Bruno,
in Scalix 11
/var/opt/scalix/??/caa/config/scalix.res-config.xml

Code: Select all

....
            <configurator>
                <class>
                    com.scalix.caa.framework.CAAConnectionPoolManager
                </class>
                <params>
                    <minConnections>2</minConnections>
                    <maxConnections>10</maxConnections>
                    <maxLifeTime>86400000</maxLifeTime>
                    <maxIdleTime>300000</maxIdleTime>
                </params>
            </configurator>

Please increase maxConnections.

On Scalix 10 we have to locate the file in /etc/opt/scalix/caa/config/

cheers,
Dirk