• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Remote Debugging with Eclipse

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Platform :Win2000 Jdk 1.5 Eclipse 3.02 Tomcat 4.1

When I try to debug the application with eclipse on Tomcat server started with jpda start ,I get 'Failed to connect to remote VM .Connection refused'
Have checked these options
1.Changed Catalina.bat for dt_socket and 8000 (JPDA_TRANSPORT and JPDA_ADDRESS)
2.Changed the JVM option in eclipse for -server -Xdebug and starting tomcat within eclipse via the tomcat plugin

Regards
SV
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the NETSTAT command to make sure that the app is open for debugging on port 8000.

Also, you should generally set the flag that causes the app to pause on startup. If your app comes up, runs and terminates before you can connect the debugger you'll have this problem.
 
SV Subrahmanyam
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Tomcat when started with the JPDA start option is not listening on port 8000 .the same canges made will work on a linux system Is there aything special that needs to be set to work with windows
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic