admin@glassfish.java.net

Heads-Up: Felix QL Issues on Windows

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Mon, 31 Mar 2008 13:34:53 -0700

There are several issues you should know about with current QL tests on
Windows so you don't waste time trying to figure it out:

(1)
The QL tests start DAS -- but they spawn off the start-domain command
and don't wait for DAS to finish starting.
This isn't usually a problem on Windows with HK2 because DAS starts
pretty quickly. While QL is building the war files to deploy, DAS
finishes coming up.
Felix is much much slower -- so when QL does the first deployment -- DAS
has not finished starting and the tests fail.
WORK-AROUND: start DAS *before* QL. On Windows you can run multiple
instances of the same DAS

(2)
stop-domain --> DAS will not stop with Felix -- it's fine with HK2
WORK-AROUND manually kill all of the instances of DAS

(3)
You can only do one QL test per fresh installation. All subsequent
runs of QL will fail. This is only with Felix.
 WORK-AROUND: reinstall glassfish before every QL run

Overall Work-around -- change "Felix" to "HK2" in build.xml

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.