users@glassfish.java.net

RE: Re: Glassfish v2 b28: How do I open up another port for IntelliJ to debug?

From: Todd Patrick <Todd.Patrick_at_dtn.com>
Date: Wed, 17 Jan 2007 13:32:40 -0600

Kedar:

Thank you very much. That worked perfectly.

--Todd

-----Original Message-----
From: Kedar.Mhaswade_at_Sun.COM [mailto:Kedar.Mhaswade_at_Sun.COM]
Sent: Wednesday, January 17, 2007 1:12 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Glassfish v2 b28: How do I open up another port for
IntelliJ to debug?

 From what I understand from:
http://www.jetbrains.com/idea/docs/help/project/rundebugjsr45.html,

it should be straightforward to do this.

- login to admin GUI.
- find the JVM configuration page.
- you'll see the debug-enabled is false, set it to true.
- you'll see the default debugging options as:
  "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n"
  change them to say:
 "-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2298".

Restart the server using:

-- asadmin start-domain --debug.

You'll see the output for asadmin start-domain correctly identifying it.

HTH.

Thanks,
Kedar


Todd Patrick wrote:
> Glassfish v2 b28
> Version = Sun Java System Application Server Enterprise Edition 9.1
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
>
> How do I open another port (specifically 2298) so I can debug my JSF
> project with IntelliJ 6.04?
>
> Thanks,
>
> --Todd
>
> -----------------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized use, disclosure or distribution is prohibited. If you

> are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net