-
1. Re: Hot Deploy and JBoss 5
cpopetz May 14, 2009 3:15 PM (in response to gzoller.greg.zoller.aviall.com)Yeah, this bit me in 2.1 as well. The default behavior of the seam hot deployment scanner changed from 2.0.X to 2.1. In this comment I describe a mechanism to get the old behavior back, but it's a little work.
-
2. Re: Hot Deploy and JBoss 5
gzoller.greg.zoller.aviall.com May 19, 2009 2:26 AM (in response to gzoller.greg.zoller.aviall.com)Appreciate the tip but it's a bit over my head.
I've created a new project to play with using Seam 2.1.2.CR1 and am getting a different flavor of the problem.
Now instead of JBoss restarting on every/any change nothing happens when I edit an xhtml file.
This is an ejb project (not war). If I edit a project xhtml file in eclipse and save it then refresh the page on the browser (clear cache/don't clear--doesn't matter) there is no change. I get the pre-edited version displayed.
But... if I go check the code deployed to the server it's the edited version. So what in the stack is serving up the old version and how do I turn it off?
This is really brought my development to a stop.
Thanks for any ideas.
Greg -
3. Re: Hot Deploy and JBoss 5
superfis May 19, 2009 7:13 AM (in response to gzoller.greg.zoller.aviall.com)I'm facing the same problem with Seam 2.1.2.CR1. How to be closer to old Seam 2.0 + Jboss 4.2 behavior?
-
4. Re: Hot Deploy and JBoss 5
mwinter1 May 19, 2009 4:15 PM (in response to gzoller.greg.zoller.aviall.com)For me setting up a seam project is very frustrating, i had to try several combinations of the following:
Create Project with JBoss Tools(Eclipse)
Create Project with seam-genJBoss AS 4.x
JBoss AS 5.xSeam 2.0
Seam 2.1The only combination working fully for me is Seam 2.0, JBoss AS 4.x with a JBoss Tools created project. The others dont work completely due to missing libs or incompatibilities or don't hot deploy as expected. After spending hours reading posts and doing server restarts I did a fruitless search for different JBoss Javadocs and right now Iam directly in configuring maven-hell.
If I could revert the management decision to use seam for the frontend I would do it right now, because in my opinion Seam is completely buggy and doesnt integrate with other tools like Maven, Eclipse WTP etc.