Re: increase event pool size

Thorsten Möller <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <027901c39ffd$1d8b8150$33d71e8d@Thoro>
Christian Cryder <[email protected]> wrote:

> 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).
I've found it ... puhh, very very tricky ... :-/
I had a nother entry in object-repository.xml:

<object class="org.enhydra.barracuda.core.event.ApplicationGateway">
      <prop name="RESPOND_WITH_404">true</prop>
</object>

The entry was before:

<object class="org.enhydra.barracuda.core.event.DefaultEventPool">
      <prop name="DEFAULT_POOL_SIZE">100</prop>
</object>

Changed the order and now it works. Please document that the order in
object-repository is important or make the code unaffected by the order.

But many thanks for the advice.

Regards,
Thorsten
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.