facebook

[Closed] Remote debugging Sun App Server 8.1

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

    Hello Myeclipse People,
    I am using eclipse 3.2, Myeclipse 5.0, Java 5.0 and sun one application server 8.1.
    I want to remote debug sun one application server from myeclipse.
    I had followed remote debugging documentation . My sun one server is running under 8080 port. so I had done the modifications in domain.xml as follows

    debug-enabled=”true” debug-options=”-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8080″

    When i change this address to 8080, I am unable to start up the server. Can you guys tell me am i missing any thing ??
    Why I am unable to start up the server?? If i change the port no to 8000 I am able to start up the server.

    regards,
    Ram

    #260701 Reply

    Riyad Kalla
    Member

    Ram,
    A few things. If the server is installed on your local machine, you can simply configure the MyEclipse application connector (Window > Prefs > MyEclipse > Application Servers > Sun Application Server 8.1) to startup your app server in Debug mode and it will take care of all of this for you.

    If the server is running on a remote machine, then the reason it’s not working with the parameters you are giving it is because the server opens port 8080 for incomming HTTP requests, you need to set the JVM debug port to something else, like 8000 so the debugger can connect to it. So you need 2 ports.

    I hope that helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] Remote debugging Sun App Server 8.1

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