Solved

Hot Deploy in Eclipse debug

Posted on 2009-03-30
4
785 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

863 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

22 Experts available now in Live!

Get 1:1 Help Now