Patches item #655700, was opened at 2002-12-18 12:45 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=655700&group_id=22866
Category: JBossServer Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Jens Deponte (dirkgently) Assigned to: Nobody/Anonymous (nobody) Summary: NamingContext.lookup() loops too often Initial Comment: In class org.jnp.interfaces.NamingContext: 1) When NamingContext.lookup() is called the lookup is done in a loop that is *always* executed MAX_REPEAT (==10) times. The result of naming.lookup(n) is not checked in the loops condition clause. The problem leads to no error, but decreases performance. 2) When the lookup fails MAX-REPEAT times, there is no proper exception handling. IMHO the catched ConnectException should be thrown. The bugs were found in JBoss 3.0.4. The second one is fixed in 3.1beta2, but the first still exists. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=655700&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development