-
1. Re: Seam does not instantiate components after redeploy under load
junkie Oct 8, 2010 6:06 AM (in response to junkie)Hey, not anyone? Can't be...
-
2. Re: Seam does not instantiate components after redeploy under load
lvdberg Oct 8, 2010 6:25 AM (in response to junkie)Hi,
Seam cooperates with the EJB3 container, but does not have absolute control. So when you redeploy a Seam application which contains EJB's, halt and restart to get things right.
This is not a bug but a normal restriction.
Leo
-
3. Re: Seam does not instantiate components after redeploy under load
junkie Oct 11, 2010 5:08 AM (in response to junkie)Thanks Leo,
I understand. However I ran into this issue many times in production, both after redeploys and full restarts of JBoss. It feels strange to redeploy as many times as it needs to get it working (I need to redeploy the app to fix it, not
restart
JBoss as this doesn't seem to help).This behaviour means that one cannot rely on automated start scripts. After a reboot of the prod server the application might run or it might not. This restriction has been bugging me for almost 3 years when went into production.
Tom
-
4. Re: Seam does not instantiate components after redeploy under load
lvdberg Oct 11, 2010 5:47 AM (in response to junkie)Hi,
JBoss is sometimes
too good
for applications and tries to save everything for later restarts. I have problems with wrongly zipped wars. After redeploying the server tries to use earlier deployed stuff from the temp directory (don't ask me why..)I normally
clean up
everything after redeployment with problems; meaning deleting the TMP, DATA and WORK directories. However this only works if everything was correctly persisted in the DB.Leo
-
5. Re: Seam does not instantiate components after redeploy under load
josdaniel Oct 13, 2010 1:12 AM (in response to junkie)I have seen JBoss to pickup the older version from the tmp folder even after deploying a new war. The safest way would be to remove all files under tmp folder prior before re-starting the server.