-
1. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
clerum Jun 15, 2009 5:11 PM (in response to lowecg2004)I'm guessing this is related.
Infinite loop of redeployments (JBoss 5.x) of project from seam-gen
Seam applications continuously redeploy in AS-5.1.0
It would appear that JBoss 5.1 (or 5.0) isn't suitable for production...or development for matter. But it sounds like these issues will be fixed in 5.1.x
-
2. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
lowecg2004 Jun 15, 2009 5:21 PM (in response to lowecg2004)Those are definitely related, thanks for the pointers. With so many JBoss components potentially involved it was hard to know where to look...
Until this hiccup, AS-5.1.0 had been stable for me.
-
3. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
clerum Jun 15, 2009 5:24 PM (in response to lowecg2004)I agree that 5.1 is generally stable. It just appears to be something with the deployer. To Jboss' credit they were very helpful in figuring out what it was and getting the fix into the trunk.
-
4. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
tony.herstell1 Aug 23, 2009 10:59 PM (in response to lowecg2004)I use MyEclipse and I too had this problem.
I found that if I edit one of the seam/jsf config files in the past then I would have to manually stop and re-start the server to make it take effect (note 99.9% of time I am using exploded deployment for rapid development).
Now with latest seam and JBoss 5.1, then the server reloads the seam app and this is when it all goes pear shaped (I don't know if this is Seam or Jboss 5.1).
Anyhow; I have to undeploy app and redeploy app to get rid of the problem.
So as workaround; I stop the server BEFORE saving any changes to these files as it's quicker that sitting there wondering if I will go into infinite loop (as sometimes it works and sometimes not).
I would prefer to manually re-start server when I want these files to take effect than have this problem but then I suppose I have worked that way for a couple of years so am used to knowing what file changes require a server stop/start to see the effect (normally pages.xml, faces.config, messages.properties or bascailyl any file other than a java source file).
Thanks for useful post as it saved me trying to find problem with my code.
May be useful added to JBoss 5.1 and Seam page.
-
5. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
asiandub Nov 27, 2009 10:51 AM (in response to lowecg2004)Thanks for saving my weekend!
-
6. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
cosmo Apr 20, 2010 3:29 PM (in response to lowecg2004)Thanks a lot. For a moment I thought my JBoss AS gone nuts as I didn't know that file
that seems so inoffensive could make such a damage. -
7. Re: Deployment cycle goes into an infinite loop after editing faces-config.xml
istockler Jun 8, 2010 9:07 PM (in response to lowecg2004)This post also saved me a few unproductive hours, thanks! If you are editing faces-config.xml you can do it by using the eclipse built-in Xml editor, just right click and
Open With
in eclipse. The faces-config editor that comes with WTP also seems not to generate the offending file.