?
Solved

config NetBeans IDE to debug Tomcat VM on Windows

Posted on 2004-08-31
5
Medium Priority
?
419 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
4 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

807 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