facebook

Error when trying to add debug arguments to JVM for JRun4

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

    WanadooUK
    Member

    HI All,

    I am trying to add the following line to the JVM optional parameters for Jrun4 to allow debugging:

    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555

    I can successfully add the the line into the optional VM arguments however when I try and start the Jrun4 server from within MyEclipse I get the following error:

    Error starting Jrun 4 server
    A configuration error occurred during startup. Please verify the preference field with the prompt: Invalid listen port number: localhost:1235
    Transport dt_socket failed to initialize, rc = -1.

    The port number in the error message increments by one every time I try to start the server.

    The JVM argument is correct as I can add this to the JRun4 Server instance via its own admin control panel and sucessfully debug the server within MyEclipse. I just cannot start it and run with that setting from within MyEclipse.

    Any ideas?

    #249637 Reply

    Riyad Kalla
    Member

    This is unnecessary and it is likely failing because if you have the connector set to launch in DEbug mode, it is *already* trying to start JRun in debug mode for you so you can set break points and debug, you don’t need these command line args.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error when trying to add debug arguments to JVM for JRun4

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