DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25929>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25929 enhancement to FAQ on debugging Cocoon Summary: enhancement to FAQ on debugging Cocoon Product: Cocoon 2 Version: 2.1 Platform: All URL: http://cocoon.apache.org/2.1/faq/faq-debugging.html OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The current documentation (http://cocoon.apache.org/2.1/faq/faq-debugging.html) drops some hints on debugging Cocoon using JDK 1.3+, but I had to do a fair bit more searching to figure out how to do it in my case. The following text brings together more of the information needed, into a place it will be looked for. 1. How do I debug Cocoon using JDK1.3+? With JDK1.3, first set the TOMCAT_OPTS (for Tomcat 3.X) or CATALINA_OPTS (for Tomcat 4.X) as shown below (on Win2K or XP). This is done in the file %TOMCAT_HOME%/bin/catalina.bat (or tomcat.bat for 3.X?). set TOMCAT_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 (Formerly, the first option was suggested as "-classic" instead of "-server". "-server" worked for me, but YMMV.) Then attach the debugger to localhost:8000 using "jdb -attach myhost:8000". If you get an error "Error accessing shared memory, rc = -1", then try instead "jdb -connect com.sun.jdi.SocketAttach:port=8000". More information can be found at <a href="http://jakarta.apache.org/site/idedev-rdtomcat.html">Setting up Tomcat for Remote Debugging"</a>
