Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7606535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:26:00+00:00 2026-05-31T00:26:00+00:00

When ever i tried to launch my eclipse debug(for server side code) i’m getting

  • 0

When ever i tried to launch my eclipse debug(for server side code) i’m getting the following error Failed to connect to remote VM. Connection refused.

What’s the problem may be? I already tried with most of the solutions out in the web but none of that solved my issue. Could any one can assist me to fix this? Advance thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:26:02+00:00Added an answer on May 31, 2026 at 12:26 am

    Which server are you using?

    Like already said:

    1. In your debug configuration you’ll have to define the right port of your server (GF:9009 / Tomcat:8000)
    2. You’ll have to set the JVM property of the server to debug

    For Glassfish:

        Log in to admin-console > Configurations > server-config > JVM-Settings > check DEBUG checkbox > restart server
    

    For Tomcat:

    create file debug.bat/.sh (depending on your OS) in %TOMCAT_HOME%/bin directory and write

        set JPDA_ADDRESS=8000
        set JPDA_TRANSPORT=dt_socket
        catalina.bat jpda start
    

    in it.

    After you’ve created this file start server by executing debug.bat/.sh.

    Now you should be able to debug remotely in Eclipse after you set the necessary properties in your debug configuration.

    Hope this helped! Have Fun!

    EDIT

    If you’re running tomcat in a Win environment as a service you don’t have a catalina.bat file in the bin-directory of your tomcat installation.
    To set your server into debug-mode please try the following:

    1. Run the Configuration option in Windows Menu or run %catalina_home%/bin/tomcat6w.exe
    2. In Java tab, add this line to Java:

    options:-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
Has anyone ever tried sending emails using 1&1 smtp host? I tried the following?
Anybody ever tried to change joomla 1.5 template in code? Don't know how to
Have you ever tried this before? static void Main(string[] args) { int x =
has anyone ever tried to get the list of all the movieclips (even the
Have you ever tried learning a language while on a project? I have, and
Have anybody ever tried to create thumbnails/previews of MS Office files? I do not
Has anybody ever tried to change the color of jstree particular node using types
I'm debugging a jnlp application, and I used to be able to remote debug
If you ever tried to use MFC and OpenCV together, you would know this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.