DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7125>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7125 Datasource lookup returns null under heavy load Summary: Datasource lookup returns null under heavy load Product: Tomcat 4 Version: 4.0.1 Final Platform: Other OS/Version: AIX Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We're developing a web application on AIX 4.3.3.0 with ibm jre 1.3.1 and tomcat 4.0.1 final and Oracle thin jdbc driver for Oracle 8.1.7.2. We developed a programm in order to performance test our web application. The performance program forks up a great number of parallel threads. One of our classes retrieves a datasource like this: Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); dataSource = (DataSource) envCtx.lookup(resourceName); The program works ok, as long the concurrent threads reach the number of around 160. At this stage the lookup method will return the null object. Any idea how to overcome this problem. Thanks. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>