users@glassfish.java.net

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

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 17 Jan 2007 11:11:45 -0800

 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
>
>