It did not bomb, it's just waiting for a connection to become available :)

We have found that it is good practice to put your DB access code in a
try-finally block and do the connection close in the finally  clause to
ensure a release of the connection.

Having said that, many other application servers automatically return the
connection to the pool at the end of a transaction. I would like to see this
implemented by JBoss, since it kinda of makes sense.

Jonathan

-----Original Message-----
From: Bob Cober [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 22 May 2001 11:24 a.m.
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss


FYI - The error was caused by the bean.  It was using Minerva JDBC 
connection pooling with a pool limit of 10 connections.  The bean did not 
release the connection, so it bombed as soon as 10 rapid requests came 
in.....

Long live Open-Source!!!!

From: "Bob Cober" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon, 21 May 2001 09:27:05 -0700
Subject: [JBoss-user] Multiple Remote EJB Requests Bombs JBoss
Reply-To: [EMAIL PROTECTED]

We are using Tomcat 3.1.1 on one machine and JBoss 2.2.1 on another.  When
calling EJBs from a remote JSP page, everything works fine...until we
quickly submit 10 or so refresh requests from the browser.  At this point
JBoss hangs and we cannot browse that JSP page.  Other pages are still
accessible from Tomcat.

Are there any documented issues regarding locking up JBoss with multiple
request from the same machine?  It seems that there are quite a few
connections open to JBoss from the Tomcat machine - is this the problem?

Thanks in advance for any help you can provide

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to