facebook

[Closed] cannot connect to externally started WLS9.1

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

    ppine1
    Member

    Hi, I’m starting WLs9.1 in a debug mode by providing the following JVM parameters:
    -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
    The server starts up fine.
    When I’m trying to connect to the port 5005 from MyEclipse to start remote debugging I’m getting the following error:
    “Failed to connect to remote VM. Connection refused”

    Any idea what is wrong here?
    Thanks,
    Marina

    #249867 Reply

    Riyad Kalla
    Member

    Are you starting weblogic from MyEclipse using the toolbar dropdown menu? If you are, there is no need to a) use the command line arguments or b) connect to it. Launching WebLogic from inside MyEclipse automatically connects the debugger so you can just start setting break points.

    #249892 Reply

    ppine1
    Member

    Thanks, yes, it works just fine – I made a typo in my lunch configuration before. Sorry about that!

    #249896 Reply

    Riyad Kalla
    Member

    No worries, glad it’s working.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] cannot connect to externally started WLS9.1

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