Thursday, 19 December 2013

Remote Debug glasfish with Idea Intellij 12.x


Steps to debug glassfish with IDEA:
> Go to domain.xml of glasfish
     C:\new_server\glassfish4\glassfish\domains\mozart_app\config
> Search for :

   <java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" debug-enabled="true" system-classpath="" classpath-suffix="">

server=y,suspend=n,   This properties should be like this only and  debug-enabled should be true.

>Go to run >> Edit Confoguration >> click "+" >> Remote . On right side frame write name (any in my case written as TEst)



and set port to 9009 <IT should be similar with domain.xml >


> Now Start glassfish from command line with one added option  :  --debug=true 
for eg: >  asadmin start-domain --debug=true domain1

and start newly created Test debug.


thats it falk :)


Remote Debugging with Eclipse :
http://www.eclipsezone.com/eclipse/forums/t53459.html
http://java.dzone.com/articles/how-debug-remote-java-applicat
http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/

Remote Debugging with IntelliJ IDEA :
http://www.javaranch.com/journal/200408/DebuggingServer-sideCode.html

Remote Debugging Web Services, Apache Axis 2 :
http://wso2.org/library/225
http://wso2.org/library/3851
http://amilamanoj.blogspot.com/2011/09/running-debugging-apache-axis2-inside.html
http://shameerarathnayaka.blogspot.com/2011/09/remote-debugging-apache-axis2-with.html






























No comments:

Post a Comment