users@glassfish.java.net

Re: Urgent - EJB SSB Timeouts!

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 23 Jun 2009 16:00:26 -0700

Adam Jenkins wrote:
> Yeah, you're correct....it's only one timer, calling one SSB method every 20 minutes.
>
> I'm using the default number of connections, 1024. My thread pool has 50 minimum, initial ejb pool size of 5 (max 500, resize 20). So there should be ample threads/ejbs
>
> No idea why it didn't show up in testing...we recently went from v2ur2 up to v2.1...and to be honest, the test system never really ran for over an hour at a time :)
>
> We use EJB Timer service for all our other timing needs and that works fine, but this process specifically generates files into the web directory that then are referenced from other jsps using c:import...so this is the only timer task that has to run on the web tier.

But you are using an EJB for it anyway, right? If yes, why can't the EJB Timer
service do the same job?

If it can't, which JDK api are you using? EJB Timer Service reschedules the JDK
timer task for each call (vs. scheduling the task with multiple expirations).

Regards,
-marina
>
> --- On Tue, 23/6/09, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
>
>
>>From: glassfish_at_javadesktop.org <glassfish_at_javadesktop.org>
>>Subject: Re: Urgent - EJB SSB Timeouts!
>>To: users_at_glassfish.dev.java.net
>>Received: Tuesday, 23 June, 2009, 7:23 AM
>>Hi,
>>
>>OK, so you say you call the EJB every 20 minutes, that
>>means 3 times in an hour. Do you call only one EJB every 20
>>minutes or several EJBs every 20 minutes?
>>I am actually just guessing but I think that the problem is
>>not that the name of your EJB is not found but maybe rather
>>that some limit on the naming context lookup object was
>>reached or that maybe there were not any pooled EJBs free to
>>service your request.
>>Looking at a default domain.xml config of a Glassfish I can
>>see that the max-connections to the ORB are 1024. Sounds
>>high. ;)
>>Maybe you can give more information how many EJBs are
>>called how often. Can you imagine why this behaviour did not
>>show on the test system?
>>
>>Cheers
>>Chris.
>>[Message sent by forum member 'chrjohn' (chrjohn)]
>>
>>http://forums.java.net/jive/thread.jspa?messageID=352409
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
>
> Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
> Show me how: http://au.mobile.yahoo.com/mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>