Hiya,

We had some connection problems with MySql not dropping old
connections quickly enough, the configuration from the mysql site was
quite good (i.e. it solved our problem):

http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-j2ee.html#connector-j-usagenotes-tomcat

just replace the tomcat conf format for spring's. i think we ended up
using all of the options that they listed.

cheers,
j.

On Jan 7, 2008 9:37 PM, David Lloyd <[EMAIL PROTECTED]> wrote:
>
> Replying to myself again:
>
> > I keep getting this:
> >
> > 2008-01-08 13:16:02,466 [main] FATAL ActiveMQTest ActiveMQTest.java (98)
> > - Data source rejected establishment of connection,  message from
> > server: "Too many connections"
> >
> >
> > It happens to both JMS and Stomp clients where the persistent header is
> > set.
> >
> > Notes before long listings:
> >
> > * It only happens to MySQL
> > * It appears to work with Postgresql
> > * It also works with the default storage system [whatever that is]
>
> I remembered I still had an installation of ActiveMQ 4.1 and decided to
> see if I could reproduce the problem with that build: result, problem is
> reproducible.
>
> DSL
>

Reply via email to