Solved

config NetBeans IDE to debug Tomcat VM on Windows

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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 functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

747 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

12 Experts available now in Live!

Get 1:1 Help Now