JBAS-6104; slow Seam deployments
alesj Oct 17, 2008 3:08 AMMoving the https://jira.jboss.org/jira/browse/JBAS-6104 discussion here.
Instructions to re-produce error:
"Jozef Hartinger" wrote:
I have encountered strange behaviour of AS when testing Seam 2.0.3.CR1 recently. To reproduce follow these steps:
a) deploy Seam booking example
b) some interaction is needed so book some hotel
c) undeploy Seam booking example
d) deploy Seam drools example
example starts to deploy but at some point it hangs and looks like nothing is happening - no messages being appended in log not even debug messages however I noticed heavy disk usage. Usualy after waiting more than 10 minutes second example is still not deployed. It happens in both Seam 2.0.3.CR1 and Seam 2.1.0.CR1. Same situation with registration and itext example. Issue may be caused by problem with undeploying the first example. in some cases second example gets deployed after several minutes.
Stan is able to re-produce it with different set of Seam examples:
"Stan Silvert" wrote:
I took a look at this. I used numberguess instead of drools, but followed the same steps above.
What I found was that numberguess does eventually get deployed and will work properly if you wait about 5 minutes after step d).
I guess something needs to time out. It's definitely weird behavior.
Shane's investigation begins. :-)
"Shane Bryzak" wrote:
Not much progress on this so far, I got to step c, undeploying the booking example which worked however threw some exceptions during undeployment. I then tried to deploy the drools example, which cause the app server to just sit there grinding the hard disk for at least 30 minutes (with no successful deploy).
I'm currently building the latest trunk of JBossAS so that I have something a little more recent to test against.
"Shane Bryzak" wrote:
Ok not looking much better on latest trunk either.. the HotDeployFilter bug is still happening (every single request is resulting in a full redeploy) and it's generally running dog slow. I'll spent some time profiling to try and nail down some more specific details.