dims        01/07/23 08:27:04

  Modified:    xdocs    Tag: cocoon_20_branch faq.xml
  Log:
  Added FAQ's for
  - Debugging using JPDA
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.2.11 +21 -1     xml-cocoon2/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/faq.xml,v
  retrieving revision 1.1.1.1.2.10
  retrieving revision 1.1.1.1.2.11
  diff -u -r1.1.1.1.2.10 -r1.1.1.1.2.11
  --- faq.xml   2001/07/23 14:58:29     1.1.1.1.2.10
  +++ faq.xml   2001/07/23 15:27:03     1.1.1.1.2.11
  @@ -558,7 +558,6 @@
       </note>
     </answer>
   </faq>
  -
   <faq>
     <question>
       How can I run @docname@ without X11. Why is a Display needed? 
  @@ -578,6 +577,27 @@
   $> $TOMCAT_HOME/bin/startup.sh -f server.xml
   ]]>
       </source>
  +  </answer>
  +</faq>
  +<faq>
  +  <question>
  +  How do i debug @docname@ using JDK1.3+?
  +  </question>
  +  <answer>
  +    <p>
  +    With JDK1.3, you can set the TOMCAT_OPTS (for Tomcat 3.X) or CATALINA_OPTS 
  +    (for Tomcat 4.X) as shown below (on Win2K) and then attach the debugger to
  +    localhost:8000 using "<code>jdb -attach myhost:8000</code>" More information 
can be found at 
  +    <link href="http://java.sun.com/j2se/1.3.0/docs/guide/jpda/conninv.html";>JPDA - 
Connection and Invocation Details</link>.
  +    </p>
  +    <source>
  +<![CDATA[
  +set TOMCAT_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 
  +]]>
  +    </source>
  +    <note>
  +    This method is supposed to work under JBuilder4.0 as well.
  +    </note>
     </answer>
   </faq>
   </faqs>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to