Hi,

A co-worker of mine spotted this friday (talk about coincidence). 

We use our SimpleConnectionManager in assembly.xml but, the piece of offending 
code in AbstractJamesService is:

if (connectionManager instanceof SimpleConnectionManager)

This is never true, as connectionManager is an instanceof Proxy!

--S�ren

On Saturday 07 February 2004 16:47, Noel J. Bergman wrote:
> > The "connectionLimit" parameter for the SMTP/POP3/NNTP block
> > is not working for me.
>
> What version of James?  I don't spot anything wrong at a quick glance in
> the code, but would have to look further.
>
> AbstractJamesService.configure() and AbstractJamesService.initialize() are
> the key routines.  The connectionLimit and max-connections use the same
> logic.  Looks to me that if the connection manager is not our
> SimpleConnectionManager, we won't use the service-specific setting.  If
> there is a log entry saying that the service "will allow a maximum of #
> connections" then we are using our connection manager.
>
>       --- Noel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
S�ren Hilmer, M.Sc.
R&D manager             Phone:  +45 70 27 64 00
TietoEnator IT+ A/S     Fax:    +45 70 27 64 40
Ved Lunden 12           Direct: +45 87 46 64 57
DK-8230 �byh�j          Email:  soren.hilmer <at> tietoenator.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to