Solved

config NetBeans IDE to debug Tomcat VM on Windows

Posted on 2004-08-31
5
375 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Timer (static) 9 36
Java DateChooser? 3 29
reverse digits of a number using for loop 5 36
Windows 10 IE Certificate Issue 10 41
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
The viewer will learn how to implement Singleton Design Pattern in Java.
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now