users@glassfish.java.net

Re: Connection Pool problem... more information

From: Binod <Binod.Pg_at_Sun.COM>
Date: Tue, 02 May 2006 20:33:18 +0530

GlassFish reuse the same pool implementation for all resources. So, yes,
JMS will show symptoms similar to JDBC
w.r.t pooling.

Glad that you crossed the issue :-)

- Binod.

> Okay, I figured out something of what had happened. It *was* a
> connection pool problem, and in retrospect, it makes perfect sense:
> boneheaded move on my part, partially exposed by someone who rather
> generously pointed out some information based on my review of
> Glassfish (which needs to be revised, since one of my complaints was
> based on my own error.)
>
> I made the mistake of thinking the connection pool was a JDBC
> connection pool. Bzzt. It was the CONNECTION FACTORY for JMS, being
> fired off by a filter which could generate a HUGE number of
> connections. That's definitely something in my code, both as something
> to be fixed in deployment *and* as something to change about how
> messages are fired off. (I need to check the filter to make sure it's
> not creating a connection per item, which would be an absurd concept,
> but hey... new codebase, entirely untuned.)
>
> Thank you for all who're paying attention. :)
>
> -----------------------------------------------------------------------
> Joseph B. Ottinger http://enigmastation.com
> Editor, http://www.TheServerSide.com joeo@enigmastation.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>