I'm having problems using Log4j JDBC Appender for my MDB. When I deploy my MDB to JBoss I get an error saying that the database connection could not be created due to too many connections. I have set my minimum database connections to 150 in mysql-ds.xml and I have 50 instances of MDBs but still I have this error. This occurs only once during start up. I'll be investigating this but if there's anyone who has encountered a similar scenario, I'd be happy to hear your comments.