Solved

Hot Deploy in Eclipse debug

Posted on 2009-03-30
4
796 Views
Last Modified: 2015-01-05
Hi All I got oftenly  'Hot code deploy failed' when I make changes while my app is running in debug mode thru Eclipse.  What is the correct way to hot deploy while debugging.  Appreciate your help.
0
Comment
Question by:fix2009
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
defi0 earned 400 total points
ID: 24028151
Apart from using the latest JDK, which improves hot code deployment, there isn't much you can do (assuming that when you say "often", it means that you get the error message only with certain types of code changes, not every time you make a change).
0
 

Author Comment

by:fix2009
ID: 24069363
I am using JDK pretty much latest 1.6_04.  Often I meant each time...  but I have seen it working a while ago. So there must be something I must make sure to hot deploy.. thats what I am missing.  Or is it that each time I update a class and save while debug is running...  will it deploy change?
0
 
LVL 5

Expert Comment

by:defi0
ID: 24070952
There are changes that cannot be hot-deployed, such as changing the structure of a class (adding/removing member variables).
Try making a simple change (code inside a method for instance) and see if that works. Also, try making changes while stopped at a breakpoint.
If none of this works, this means you have not setup your debugging target properly (let me know).
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Let’s list some of the technologies that enable smooth teleworking. 
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
Viewers will learn how to use the Hootsuite Dashboard.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question