facebook

Hot code replace failed

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #227764 Reply

    imm102
    Member

    Hi,

    recently ive been getting errors with the hot code replace and jboss 4. When i save a file i get the message saying

    org.jboss.Main at localhost:3059 (may be out of sync)was unable to replace the running code with the code in the workspace

    Reason:
    Hot code replaced failed -scheme change not implemented

    its really annoying and means i have to redeploy each time. Anyone know why this is happening?

    Cheers
    Ian

    ME Version: 3.8.3
    WinXp Sp2
    Jboss 4RC2

    #227794 Reply

    Riyad Kalla
    Member

    Ian,
    When hotsync fails, that is the app server telling MyEclipse that it cannot reload the changed class. This will likely fail if you rae changing the “shape” of your class (new methods, member vars, etc.).

    However, I have had luck by just turning off warnings, and watching my app server console after I deploy a new file, and wait for it to see messages telling me that it is reloading the class. I only restart the server when class reloading fails (usually after a few hours and a few hundred changes).

    So try and watch the JBoss console when you save changes to a file, see if you can see it reloading the new file anyway.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hot code replace failed

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