facebook

Code Hot Swap not working – Resin 3.08/3.09 MyEclipse 3beta2

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

    Hot-Swap code replacement working with Resin 3.08.

    Configuration:
    MyEclipse 3 Beta 2
    Eclipse 3.0
    J2SDK 1.4.2_05
    Windows XP Pro

    Plugins:
    Eclipse Visual Editor (EMF/VE) (recently added)

    Hot swap used to work but now when ever I change a servlet, Resin restarts. Any suggestions? I do know that the Resin distribution changed recently as I had to add different libs to MyEclipse so it would launch from the IDE. I recently downloaded the Resin 3.09 snapshot (basically a pre-release of 3.09) and that did not resolve the issue. Any info/help you might have would be appreciated.

    #211140 Reply

    Riyad Kalla
    Member

    Can you better explain what you mean by;

    Hot swap used to work but now when ever I change a servlet, Resin restarts.

    Like Tomcat, Resin is probably reloading the web context for that app since the servlet changed… what behavior were you expecting?

    #211221 Reply

    It is reloading the web context. That is expected. However, I was expecting the session information to be saved so that I could continue debugging the application. As it is now, I have to log back into the application and get back to the point of failure.

    #211227 Reply

    Riyad Kalla
    Member

    Tomcat has a setting to serialize its sessions during a restart and reload… I’m assuming Resin has a similar setting? I know nothing about Resin or else I’d be much more helpful right now 😉

    #211278 Reply

    Resin has this as well – it may be that I failed to implement Serializable with an object I added to the session. I’m checking into that now.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Code Hot Swap not working – Resin 3.08/3.09 MyEclipse 3beta2

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