Liferay + Glassfish = Debug from Eclipse

This isn’t something new, but it was bother me for quite sometime to figure out how to debug from eclipse.

In my development environment, i mixed used of maven and ant.  Maven for library management and ant for deploy to glassfish.

Settings

1)  Start you glassfish and login into console,  http://localhost:4848

2) Default username=admin, password=adminadmin

3) Go to the Application server and select the JVM Setting

4) Checked the enabled for debug

5) Restart glassfish

Debugs

Whenever you want to start debug, you must repeat this step. From your eclipse

1) Go to run -> Debug Configuration -> Remote Java Application

2) Give whatever name you like

3) Select the project from browse button

4) Host = localhost, if you running in same machines

5) Change to port 9009 if it’s different

6) Click the debug button to start debug !!

You can leave a response, or trackback from your own site.

Leave a Reply

Security Code: