MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
i4073
Post subject: JBoss 7 Redeploy on code change  PostPosted: Feb 21, 2012 - 02:06 PM



Joined: Feb 21, 2012
Posts: 5

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?
 
 View user's profile Send private message  
Reply with quote Back to top
balanceofpower
Post subject: Re: JBoss 7 Redeploy on code change  PostPosted: Feb 21, 2012 - 07:27 PM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 250

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.
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 22, 2012 - 08:05 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

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

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits