How do I achieve a nice level of debugging?

2002-07-16 Thread Christian J. Dechery

I would like my tomcat (local, on my machine, for development) to have a nice level of 
debug. Just like the one that comes with JBuilder... it gives me information like this:
 
2002-07-16 10:51:13 - JspEngine -- /seta_sessao.jsp
2002-07-16 10:51:13 -   ServletPath: /seta_sessao.jsp
2002-07-16 10:51:13 -  PathInfo: null
2002-07-16 10:51:13 -  RealPath: C:\Contratacao\contratacao\seta_sessao.jsp
2002-07-16 10:51:13 -RequestURI: /contratacao/seta_sessao.jsp
2002-07-16 10:51:13 -   QueryString: null
2002-07-16 10:51:13 -Request Params: 
 
and prints exceptions... I couldn't get my tomcat to print exceptions generated by 
servlets... I have to see the log...
 
 
 
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332




RE: How do I achieve a nice level of debugging?

2002-07-16 Thread BenT . Vandgrift

use the RequestDumperValve.  it provides a nice level of
debuggings, at least concerning incoming requests.  if you
have a busy server, watch the log file size, though.

benjamin vandgrift
ekos project team
ph#: 502.564.9375x242
mob: 859.333.7320

 

 -Original Message-
 From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 16, 2002 10:59 AM
 To: [EMAIL PROTECTED]
 Subject: How do I achieve a nice level of debugging?
 
 
 I would like my tomcat (local, on my machine, for 
 development) to have a nice level of debug. Just like the one 
 that comes with JBuilder... it gives me information like this:
  
 2002-07-16 10:51:13 - JspEngine -- /seta_sessao.jsp
 2002-07-16 10:51:13 -   ServletPath: /seta_sessao.jsp
 2002-07-16 10:51:13 -  PathInfo: null
 2002-07-16 10:51:13 -  RealPath: 
 C:\Contratacao\contratacao\seta_sessao.jsp
 2002-07-16 10:51:13 -RequestURI: /contratacao/seta_sessao.jsp
 2002-07-16 10:51:13 -   QueryString: null
 2002-07-16 10:51:13 -Request Params: 
  
 and prints exceptions... I couldn't get my tomcat to print 
 exceptions generated by servlets... I have to see the log...
  
  
  
 .:| Christian J. Dechery
 .:| FINEP - Depto. de Sistemas
 .:| [EMAIL PROTECTED]
 .:| (21) 2555-0332
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How do I achieve a nice level of debugging?

2002-07-16 Thread Christian J. Dechery

but I don't want it to to the logfile... I want it in the tomcat output... and can u 
give me examples of the settings on server.xml??
 
thanks
 
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332

 [EMAIL PROTECTED] 16/07/02 12:28  
use the RequestDumperValve. it provides a nice level of 
debuggings, at least concerning incoming requests. if you 
have a busy server, watch the log file size, though. 

benjamin vandgrift 
ekos project team 
ph#: 502.564.9375x242 
mob: 859.333.7320 



 -Original Message- 
 From: Christian J. Dechery [ mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, July 16, 2002 10:59 AM 
 To: [EMAIL PROTECTED] 
 Subject: How do I achieve a nice level of debugging? 
 
 
 I would like my tomcat (local, on my machine, for 
 development) to have a nice level of debug. Just like the one 
 that comes with JBuilder... it gives me information like this: 
 
 2002-07-16 10:51:13 - JspEngine -- /seta_sessao.jsp 
 2002-07-16 10:51:13 - ServletPath: /seta_sessao.jsp 
 2002-07-16 10:51:13 - PathInfo: null 
 2002-07-16 10:51:13 - RealPath: 
 C:\Contratacao\contratacao\seta_sessao.jsp 
 2002-07-16 10:51:13 - RequestURI: /contratacao/seta_sessao.jsp 
 2002-07-16 10:51:13 - QueryString: null 
 2002-07-16 10:51:13 - Request Params: 
 
 and prints exceptions... I couldn't get my tomcat to print 
 exceptions generated by servlets... I have to see the log... 
 
 
 
 .:| Christian J. Dechery 
 .:| FINEP - Depto. de Sistemas 
 .:| [EMAIL PROTECTED] 
 .:| (21) 2555-0332 
 
 

-- 
To unsubscribe, e-mail:  mailto:[EMAIL PROTECTED]  
For additional commands, e-mail:  mailto:[EMAIL PROTECTED]  






Re: How do I achieve a nice level of debugging?

2002-07-16 Thread Irina Lishchenko

On Tuesday 16 July 2002 18:38, you wrote:
 but I don't want it to to the logfile... I want it in the tomcat output...
 and can u give me examples of the settings on server.xml??

 thanks


you can see the same debugging in the browser window of course if you don't 
have the dirrective to send user to the error page in the case of error

ilis

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]