Solved

config NetBeans IDE to debug Tomcat VM on Windows

Posted on 2004-08-31
5
381 Views
Last Modified: 2013-11-24
I add the following to "catalina.bat" file:
CATALINA_OPTS=-Xdebug -Xrunjdwp:transport=dt_shmem,server=y,address=app,suspend=n

then started the "startup.bat", in NetBeans I attached Netbeans using address name as "app" but Netbeans complains "cannot attach, check parameter and try again".

I have done the debug facility with Linux easily using dt_socket, do not understanad why takes me
so much trouble to figure it out on Windows.

Thanks
0
Comment
Question by:victorli
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Giant2
ID: 11940346
the address and port you use for debug is the same you specify when you run the tomcat in debug mode?
0
 
LVL 1

Author Comment

by:victorli
ID: 11946261
please give the detailed information. How to start Tomcat using the parameter and give the examples.
0
 
LVL 1

Author Comment

by:victorli
ID: 11946434
Thanks, I have got the answer in http://cocoon.apache.org/2.1/faq/faq-debugging.html
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12388693
PAQed, with points refunded (250)

Computer101
E-E Admin
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question