facebook

Remote Debugging

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #248577 Reply

    Hi ,

    I did every thing right about configuring the MyEclipse with Weblogic 8.1 for Remote debugging. But I am getting Failed to Connect to Remote VM. Connection Refused Error.

    Do I need to do ant thing other that mentioned in the MyEclipse document

    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/remotedebugging/index.html

    prompt reply will be very help ful ..

    Thank you.

    #248578 Reply

    sri_bitla
    Member

    Hi Senthil,

    Did you see the following message in the weblogic console? If not, then weblogic is not configured in debug mode.

    Listening for transport dt_socket at address: xxxxx

    Also try reconnecting afte restarting Eclipse.

    Thanks,
    Srinivas.

    #248581 Reply

    No I am not seeing that in the weblogic console.

    I ran this command C:\bea\weblogic81\server\bin>set JAVA_OPTIONS = -Xdebug -Xrunjdwp:transport=dt_s
    ocket,address=8000,server=y,suspend=n
    And then started the Weblogic Server.

    Then started the MyEclipse Debug.

    Is there anything I am nissing. ?

    Thanks for the help.

    #248586 Reply

    sri_bitla
    Member

    Hi Senthil,

    I am not sure if running that set command on the command prompt is useful.

    Follow this…

    Edit setDomainEnv.cmd on Windows or setDomainEnv.sh on unix and set those options to JAVA_OPTIONS variable. Restart the weblogic and Eclipse and see if you still have the problem.

    Thanks,
    Srinivas.

    #248619 Reply

    Hi Srinivas,

    Thanks for the reply. Still I am not seeing the message you mentioned after starting the server.

    here is what I did. Edit the setDomainEnv.cmd file under the C:\bea\weblogic81\samples\domains\workshop for JAVA_OPTION varial.

    Here is the entry I put at the end of the file.

    set JAVA_OPTIONS = %JAVA_OPTIONS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n.

    But still I am getting the “Failed to connect to Remote VM” error.

    Thanks for the help.

    #248662 Reply

    Is There any one can help on this issue.?

    #248684 Reply

    sri_bitla
    Member

    I am here Senthil…

    Is your weblogic running properly and servicing all the requests?

    Make sure that port 8000 is free else use another port.

    Thanks,
    Srinivas.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Remote Debugging

You must be logged in to post in the forum log in