{"id":2274,"date":"2011-06-21T19:02:35","date_gmt":"2011-06-21T13:32:35","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=2274"},"modified":"2011-06-21T19:02:35","modified_gmt":"2011-06-21T13:32:35","slug":"how-to-start-the-tomcat-in-debug-mode-for-debugging-in-eclipse","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/java\/how-to-start-the-tomcat-in-debug-mode-for-debugging-in-eclipse\/","title":{"rendered":"How to start the tomcat in debug mode for debugging in eclipse"},"content":{"rendered":"<p>1. Open the startup script in (your_tomcat_home) {Location is : <strong>%CATALINA_HOME%binstartup.bat <\/strong>}<br \/>\n2. Add the following lines at the first blank line in the file ( around line 8 )<br \/>\n<strong>Windows :<\/strong><\/p>\n<blockquote><p>set JPDA_ADDRESS=8000<br \/>\nset JPDA_TRANSPORT=dt_socket<\/p><\/blockquote>\n<p><strong>Linux:<\/strong><\/p>\n<blockquote><p>export JPDA_ADDRESS=8000<br \/>\nexport JPDA_TRANSPORT=dt_socket<\/p><\/blockquote>\n<p>3. Change the execute line at the end to include &#8220;jpda&#8221;\u009d<br \/>\n<strong>Window:<\/strong><\/p>\n<blockquote><p>call &#8220;%EXECUTABLE%&#8221; <strong>jpda <\/strong>start %CMD_LINE_ARGS%<\/p><\/blockquote>\n<p><strong>Linux:<\/strong><\/p>\n<blockquote><p>exec &#8220;$PRGDIR&#8221;\/&#8221;$EXECUTABLE&#8221; <strong>jpda <\/strong>start &#8220;$@&#8221;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>This is the tutorial on How to start the tomcat in debug mode for debugging in eclipse<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[86,199],"class_list":["post-2274","post","type-post","status-publish","format-standard","hentry","category-java","tag-eclipse","tag-tomcat"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4597,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/advance-apex-debugging-in-salesforce-and-best-practices-videos\/","url_meta":{"origin":2274,"position":0},"title":"Advance Apex debugging in Salesforce and best practices &#8211; Videos","author":"Jitendra","date":"June 27, 2015","format":false,"excerpt":"How to resolve apex debug log size limit issue, Difference between Eclipse and developer console, Interactive Apex Debugging, Keyboard shortcuts for Developer console and Other best practices","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Advance Apex debugging","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Advance-Apex-debugging.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Advance-Apex-debugging.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Advance-Apex-debugging.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Advance-Apex-debugging.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4165,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/generating-executable-jar-file-with-all-dependencies-and-libraries-in-single-jar-using-netbeans-and-eclipse\/","url_meta":{"origin":2274,"position":1},"title":"Generating Single Executable jar file with all dependencies and libraries using Netbeans and Eclipse","author":"Jitendra","date":"January 19, 2015","format":false,"excerpt":"Generating Single Jar file with all dependencies in Eclipse is easy. We just need to follow below steps : Either from the context menu or from the menu bar's File menu, select Export. Expand the Java node and select JAR file. Click Next. In the JAR File Specification page, select\u2026","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3070,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/simple-guide-to-setup-ssl-in-tomcat\/","url_meta":{"origin":2274,"position":2},"title":"Simple guide to setup SSL in Tomcat","author":"Jitendra","date":"September 9, 2012","format":false,"excerpt":"I have enabled SSL in tomcat many times however initially I struggled to get it in running condition. So I thought to share a simple approach I am following now days. Step 1: Run tool \"Keytool\"\u009d provided by the JRE to create a \"keystore file\"\u009d. The command to run tool\u2026","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"Tomcat SSL keytool to create keystore file","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/09\/Tomcat-SSL-keytool-to-create-keystore-file.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/09\/Tomcat-SSL-keytool-to-create-keystore-file.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/09\/Tomcat-SSL-keytool-to-create-keystore-file.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1962,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/eclipse-how-to-upgrade-from-galileo-3-5-to-helios-3-6\/","url_meta":{"origin":2274,"position":3},"title":"Eclipse &#8211; How to upgrade from Galileo (3.5) to Helios (3.6)","author":"Jitendra","date":"April 13, 2011","format":false,"excerpt":"Eclipse - How to upgrade from Galileo (3.5) to Helios (3.6)","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1959,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/servlet\/create-servlet-using-annotation\/","url_meta":{"origin":2274,"position":4},"title":"Create Servlet using Annotation &#8211; Servlet 3.0","author":"Jitendra","date":"April 13, 2011","format":false,"excerpt":"Create the Servlet without any deployment descriptor. Using Annotations","rel":"","context":"In &quot;Servlet&quot;","block_context":{"text":"Servlet","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/servlet\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1586,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/servlet\/read-file-present-inside-java-and-j2ee-project\/","url_meta":{"origin":2274,"position":5},"title":"Read File Present inside Java and J2EE Project","author":"Jitendra","date":"February 24, 2011","format":false,"excerpt":"How to Read File Present inside Java and J2EE Project","rel":"","context":"In &quot;Servlet&quot;","block_context":{"text":"Servlet","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/servlet\/"},"img":{"alt_text":"Read File Present inside Java and J2EE Project","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/Read-File-Present-inside-Java-and-J2EE-Project.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/2274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=2274"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/2274\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=2274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=2274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=2274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}