MyEclipse: JBoss 7 Redeploy on code change

i4073 - Feb 21, 2012 - 02:06 PM
Post subject: JBoss 7 Redeploy on code change
We are upgrading from JBoss 4.2.3 to JBoss 7.1.0 for our web projects. When developing in MyEclipse 8 with JBoss 4.2.3, if we make a minor code change, for example adding a line in a method, the change is hot deployed and works very well. We can simply refresh the webpage to see our changes. Redeployment is usually not necessary unless we changed method signature.

But on MyEclipse 10 with JBoss 7.1.0, every code change causes JBoss to redeploy the entire war archive, thus losing session and login. This is not desirable as we have to re-login and go through pages to see changes. Is this expected behavior? Are there settings in JBoss or MyEclipse that can restore the old behavior?
balanceofpower - Feb 21, 2012 - 07:27 PM
Post subject: Re: JBoss 7 Redeploy on code change
i4073 wrote:
We are upgrading from JBoss 4.2.3 to JBoss 7.1.0 for our web projects. When developing in MyEclipse 8 with JBoss 4.2.3, if we make a minor code change, for example adding a line in a method, the change is hot deployed and works very well. We can simply refresh the webpage to see our changes. Redeployment is usually not necessary unless we changed method signature.

But on MyEclipse 10 with JBoss 7.1.0, every code change causes JBoss to redeploy the entire war archive, thus losing session and login. This is not desirable as we have to re-login and go through pages to see changes. Is this expected behavior? Are there settings in JBoss or MyEclipse that can restore the old behavior?


Did you try the development release of MyEclipse?

This fixed it for me.
Support-Brian - Feb 22, 2012 - 08:05 AM
Post subject:
Tony,

Thanks for chiming in. i4073, please see this thread for details on how to get 10.0.1
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-28470.html
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits