Re: Re: Increase JOnAS-EJB / EasyBeans Pool Timeout ? (avoid org.ow2.util.pool.impl.enhanced.api.TimeoutPoolException)
"Hans J. Prueller" <[email protected]> Wed, 07 Sep 2011 20:34:52 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1315420492.13515.3.camel@kodos> |
--=-3k7BjDI+y3hfcUawXTt9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Thanks Florent !
I will give it a try and keep you updated.
Can you tell me the default value for the timeout ? (so I can set a
useful larger value for my tests)
regards,
Hans
Am Mittwoch, den 07.09.2011, 17:55 +0200 schrieb Florent BENOIT:
> Hi,
>
> You may use -Deasybeans.useSimplePool=true in JAVA_OPTS/JONAS_OPTS so
> that you'll get previous pool which is using lazy mode and do not
> populate the pool with an init size.
>
> Also, with @PoolConfiguration or <pool> element in
> META-INF/easybeans.xml, you can tune the size of the pool with the
> timeout value that you're expecting
>
> Regards,
>
> Florent
>
> On 09/07/2011 05:10 PM, Hans J. Prueller wrote:
>
> > Hi all,
> >
> > it seems that sometimes when I am working and testing our JOnAS 5.2
> > based EAR on a slow machine or the machine is under heavy load,
> > several org.ow2.util.pool.impl.enhanced.api.TimeoutPoolException are
> > occuring during startup / initialisation of the application.
> >
> > (the app is initialized by doing some EJB calls in a servlet init()
> > method after deployment)
> >
> > Is there a way to increase this timeout to a larger value on our dev
> > machines to avoid above error ?
> >
> >
> > regards,
> > Hans
> >
>
>
--=-3k7BjDI+y3hfcUawXTt9
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Thanks Florent !<BR>
<BR>
I will give it a try and keep you updated.<BR>
<BR>
Can you tell me the default value for the timeout ? (so I can set a useful larger value for my tests)<BR>
<BR>
regards,<BR>
Hans<BR>
<BR>
Am Mittwoch, den 07.09.2011, 17:55 +0200 schrieb Florent BENOIT:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi,<BR>
<BR>
You may use -Deasybeans.useSimplePool=true in JAVA_OPTS/JONAS_OPTS so that you'll get previous pool which is using lazy mode and do not populate the pool with an init size.<BR>
<BR>
Also, with @PoolConfiguration or <pool> element in META-INF/easybeans.xml, you can tune the size of the pool with the timeout value that you're expecting<BR>
<BR>
Regards,<BR>
<BR>
Florent<BR>
<BR>
On 09/07/2011 05:10 PM, Hans J. Prueller wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
Hi all,<BR>
<BR>
it seems that sometimes when I am working and testing our JOnAS 5.2 based EAR on a slow machine or the machine is under heavy load,<BR>
several org.ow2.util.pool.impl.enhanced.api.TimeoutPoolException are occuring during startup / initialisation of the application.<BR>
<BR>
(the app is initialized by doing some EJB calls in a servlet init() method after deployment)<BR>
<BR>
Is there a way to increase this timeout to a larger value on our dev machines to avoid above error ?<BR>
<BR>
<BR>
regards,<BR>
Hans<BR>
<BR>
</BLOCKQUOTE>
<BR>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>
--=-3k7BjDI+y3hfcUawXTt9--