RE: increase event pool size

"Christian Cryder" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi Thorsten,

Check your web.xml file, and make sure that both the object-repository
section and the application gateway section specify a startup order:

        <load-on-startup>2</load-on-startup>

The value for the obj repos assembler needs to be _lower_ than the value for
the application gateway (and based on your description, it sound sounds like
the app gateway is starting up first).

Let us know if that helps...

Christian
----------------------------------------------
Christian Cryder
Internet Architect, ATMReports.com
Project Chair, BarracudaMVC - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Thorsten Möller
> Sent: Friday, October 31, 2003 4:17 PM
> To: [email protected]
> Subject: [Barracuda] increase event pool size
>
>
> One new question ;-)
>
> I tried to increase the event pool size from default 50 to 100 by
> setting an
> tag in object-repository.xml:
>
> <object class="org.enhydra.barracuda.core.event.DefaultEventPool">
>       <prop name="DEFAULT_POOL_SIZE">100</prop>
> </object>
>
> But in the log I see this:
> [ObjectRepositoryAssembler] Instantiating
> org.enhydra.barracuda.core.event.ApplicationGateway
> [ObjectRepositoryAssembler] ...Setting
> org.enhydra.barracuda.core.event.ApplicationGateway.RESPOND_WITH_404 =
> "true" (java.lang.Boolean)
> [DefaultEventPool] Instantiating
> EventPool:org.enhydra.barracuda.core.event.DefaultEventPool@147bc1 Pool
> size:50 Timeout:60000 Retry Interval:50 Max Retries:3 Cleanup
> Interval:600000
> [ObjectRepositoryAssembler] Instantiating
> org.enhydra.barracuda.core.event.DefaultEventPool
> [ObjectRepositoryAssembler] ...Setting
> org.enhydra.barracuda.core.event.DefaultEventPool.DEFAULT_POOL_SIZ
> E = "100"
> (java.lang.Integer)
> [ObjectRepositoryAssembler] Assembly complete!
>
> Now I have two event pools one of 50 and one of size 100 and I suppose the
> latter is an orphan. How and where can I manipulate the pool size?
>
> Thanks,
> Thorsten
>
> _______________________________________________
> Barracuda mailing list
> [email protected]
> http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.