- This topic has 3 replies, 4 voices, and was last updated 11 years, 4 months ago by sathyanak.
-
AuthorPosts
-
i4073ParticipantWe 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?
Tony HerstellParticipant@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.
Brian FernandesModeratorTony,
Thanks for chiming in. i4073, please see this thread for details on how to get 10.0.1
https://www.genuitec.com/forums/topic/myeclipse-10-0-1-milestone-is-now-available/
sathyanakMemberI know I am posting this late, and I too had the same issue and bumped into this thread.
I resolved it with some of the settings in jboss 7”s standalone.xml and now it works fine for me. It does not redeploy or restart the application server, but at that same time the code changes are reflected immediately.
Here are the changes that you need in your standalone.xml
<deployment-scanner auto-deploy-exploded=”true” auto-deploy-zipped=”false” path=”deployments” relative-to=”jboss.server.base.dir” scan-interval=”0″/>
In the web subsystem:
<configuration>
<jsp-configuration development=”true”/>
</configuration> -
AuthorPosts