Jump to content

Java/j2Ee Discussions


lolliman

Recommended Posts

  • 1 month later...

sorry discussions lo active ga lenu

 

wifey call to have cake 

 

Let me post.. just saw .... Did that in my previous Contract using Tomcat for remote debugging on local server using Eclipse Galileo and Kepler

 

 

Link to comment
Share on other sites

There is protocol called JDWP (Java Debug wire protocol) .... all application/.web servers support this protocol ..... 

 

 

so what is it? this is protocol for remote debugging your java applications ..... it has few parameters you have to configure to your application server JVM with a unique port like below 

 

 

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,,address=<PORT_ADDRESS_LIKE_8787> .... this will start your server using JDWP (remote debugging protocol) on port 8787 .... now open your eclipse and go to your project properties and select remote application .... under this option give your application servers IP address with PORT as 8787 .....

 

now you can conect your remotely running code to local eclipse code base (remote debugging)  

  • Upvote 1
Link to comment
Share on other sites

There is protocol called JDWP (Java Debug wire protocol) .... all application/.web servers support this protocol ..... 

 

 

so what is it? this is protocol for remote debugging your java applications ..... it has few parameters you have to configure to your application server JVM with a unique port like below 

 

 

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,,address=<PORT_ADDRESS_LIKE_8787> .... this will start your server using JDWP (remote debugging protocol) on port 8787 .... now open your eclipse and go to your project properties and select remote application .... under this option give your application servers IP address with PORT as 8787 .....

 

now you can conect your remotely running code to local eclipse code base (remote debugging)  

Good, Appreciate your time and attention.....

Link to comment
Share on other sites

dumps gurinchi li8 vestara konchem

 

like heap dumps, java cores, threa dumps..

 

I know when they get generated and how to generate them manually and basic analyzing techniques... trying to know some more ...

especially thread dumps, heap dumps expertise ..

 

Any useful links ..  bye1 wll be appreciated. :police:

 

IBM oracle sites lo iyyakandi vay already readed ... deaded..

 

Link to comment
Share on other sites

 

 

There is protocol called JDWP (Java Debug wire protocol) .... all application/.web servers support this protocol ..... 

 

 

so what is it? this is protocol for remote debugging your java applications ..... it has few parameters you have to configure to your application server JVM with a unique port like below 

 

 

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,,address=<PORT_ADDRESS_LIKE_8787> .... this will start your server using JDWP (remote debugging protocol) on port 8787 .... now open your eclipse and go to your project properties and select remote application .... under this option give your application servers IP address with PORT as 8787 .....

 

now you can conect your remotely running code to local eclipse code base (remote debugging)  

 

 

thanks bhaayy... GP 

 

How can we publish the code everytime?

Link to comment
Share on other sites

×
×
  • Create New...