Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "FAQ/Troubleshooting_and_Diagnostics" page has been changed by 
KonstantinKolinko:
https://wiki.apache.org/tomcat/FAQ/Troubleshooting_and_Diagnostics?action=diff&rev1=12&rev2=13

Comment:
Add some common troubleshooting scenario

  
  From Java 6 a process needn't have the management agent enabled when it 
starts, as the Attach API permits the management agent to be activated on 
demand.
  
+ == Common Troubleshooting Scenario ==
+ 
+ If you ''have already looked into Tomcat logs'', there are no error messages, 
and you just want to find out what is going on, you may try the following
+ 
+  1. Look into [[HowTo#How_do_I_log_requests_.3F|Tomcat access log]] (the log 
file generated by AccessLogValve).
+ 
+   *  If your request is not listed there, then it has not been processed by 
Tomcat. You need to look elsewhere (e.g. at your firewall).
+ 
+  2. [[HowTo#How_do_I_obtain_a_heap_dump.3F|Take a thread dump]]. This way you 
will find out what Tomcat is actually doing.
+ 
+   *  If you are troubleshooting some process that takes noticeable time, take 
several (three) thread dumps with some interval between them. This way you will 
see if there are any changes, any progress.
+ 
+  3. Try [[FAQ/Developing#Debugging|debugging]].
+ 
+   *  A good place for a breakpoint is 
`org.apache.catalina.connector.CoyoteAdapter.service()` method. That is the 
entry point from Tomcat connectors and into the Servlet engine. At that place 
your request have already been received and its processing starts.
+ 
  ----
  [[CategoryFAQ]]
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to