tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Turau <tu...@informatik.fh-wiesbaden.de>
Subject Race between jspInit and service
Date Mon, 15 May 2000 15:03:53 GMT

Hi,

in the method jspInit I open a db connection which I later use. Now
sometimes an error oocurs. My only explanation is that upon the first
start, both methods are executed in different threads, hence the _service
method might be called before jspInit has finished. Is that true?

Any ideas or suggestions ?


volker turau
FH Wiesbaden Fachbereich Informatik 
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau



Mime
View raw message