facebook

tomcat hot code replacement

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #256437 Reply

    murathazer
    Member

    Hi,

    i am trying to use myeclipse with tomcat but when i change one of my class (JSF backing beans) i get Hot code replace failed – Scheme change not implemented error, so i need to restart tomcat each time….

    what could i do to enable hot code replacement?

    regards…

    #256529 Reply

    Scott Anderson
    Participant

    murathazer,

    Hot code replacement is limited in its current implementation in the Sun Java VM’s in that you’re not allowed to change the “shape” of a class. So, you can change code inside existing methods, but you can’t add/remove methods, instance or class variables, or change method signatures. Those are called “scheme changes” and Sun simply doesn’t support them in the JDKs.

    #256677 Reply

    There is actually a RFE (request for enhancement) on the java bug parade for this issue:

    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812

    feel free to vote for it 🙂 Maybe SUN will consider this when more people vote for this RFE. I think it would be a great step forward in terms of productiviy.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: tomcat hot code replacement

You must be logged in to post in the forum log in