Solved

Hot Deploy in Eclipse debug

Posted on 2009-03-30
4
779 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now