Thanks for the prompt reply. I did not set -g option when I compile the application source codes. I checked javac options, by default, line numbers are generated. My buggy code is from a Servlet class and from .java file not .jsp. I use Ant script to build and deploy the application to Tomcat. I will check it again.
Cheers On Sun, 2007-10-07 at 19:37 -0500, Caldarale, Charles R wrote: > > From: Oliver Yang [mailto:[EMAIL PROTECTED] > > Subject: Error track can't track the exact line and display > > the bug line number > > > > The server give the "Unknown source" for the exact class name. > > That's the JVM, not Tomcat, displaying "Unknown source". That happens > for code compiled with the javac -g:none option, which disables storing > any debugging information in the generated .class files. If your code > was in a .java file, then you (or your IDE) disabled debugging; if your > code originated in a .jsp, then you have set the classdebuginfo > parameter for the JspServlet to false. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]