users@glassfish.java.net

Re: How to enable debug mode in GlassFish v3?

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Wed, 15 Sep 2010 17:37:00 +0200

Hi,

you need to restart your GF in debug mode like:
asadmin start-domain --debug domain1
After that, you can attach your debugger to the (by default) 9009 port.

Regards,
Peter

2010-09-15 17:49 keltezéssel, glassfish_at_javadesktop.org írta:
> At present we use SuneOne Application server 7. Under App server instances we have 'instance' - General tab page. We can start / restart application in Debug mode. Under JVM setting tab there is a debug options that give post number. This port number we use to debug the application using Eclipse - debug mode.
>
> Similar thing I want to try using GlassFish v3. Trying a sample application in GlassFish and want to debug by catcing control in Eclipse. How do I do that?
>
> GF v3 - Enterprise Server have General tab that says that debug is not enabled. This could be fairly simple thing but since I am a new user, not sure how to enable debug.
> Thanks.
> [Message sent by forum member 'hm9m']
>
> http://forums.java.net/jive/thread.jspa?messageID=482849