well, i'll take a look on the log files later. i can't see the 673 line of the source code. it's one of the tomcat classes, and i don't have the source code. i found out that this exception is thrown if i recompile a servlet and try to run it again without restarting tomcat. so, at least i know how to deal with it now
Joined: Sep 20, 2001
i found out that this exception is thrown if i recompile a servlet and try to run it again without restarting tomcat
I suspect that your servlet uses other objects and does not handle objects creation properly. When a servlet is refreshed, other servlet/classes may also get destroyed. Do you store objects in session?
Joined: Jul 28, 2001
yeh, it uses sessions and db connectivity, but as you see the exception is not thrown by a code itself, but by tomcat... in any case, in production noone will recompile the servlet , and for sure not when it's running.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Well then - download the source code - its free and even fairly well annotated. Bill