On Apr 19, 2012, at 10:16 AM, David Blevins wrote:
>
> On Apr 19, 2012, at 8:31 AM, AndyG wrote:
>
>> -1
>>
>> Added some other fixes in trunk, but this one is repeating on a Win7 32bit
>> JDK 1.6.31 build.
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.openejb.arquillian.TomEEContainerTest
>> -------------------------------------------------------------------------------
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.918 sec
>> <<< FAILURE!
>> org.apache.openejb.arquillian.TomEEContainerTest Time elapsed: 0 sec <<<
>
> Looks like the server didn't start (-1 response). We had an issue with this
> test on windows in beta-2 and it looked like a file locking issue on the
> server. The real info will be in the server log which should be printed to
> the console.
I resurrected an old Windows Parallels setup, did a build with no tests, then
moved into arquillian-tomee/arquillian-tomee-remote/ and ran those test and all
passed. Did that twice without any failures. My system info as reported by
Maven:
C:\DOCUME~1\ADMINI~1\openejb-4.0.0\arquillian-tomee>mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
Maven home: C:\Documents and
Settings\Administrator\apache-maven-3.0.4\bin\..
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_22\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
If I run the tests from arquillian-tomee/, then things fail with this error:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.openejb.arquillian.session.SessionScopeTest
Apr 19, 2012 3:30:02 PM org.apache.openejb.arquillian.common.Zips unzip
INFO: Extracting 'C:\Documents and
Settings\Administrator\openejb-4.0.0\arquillian-tomee\arquillian-tomee-remote\target\org\apache\openejb\apache-tomee\1.0.0\apache-tomee-1.0.0-webprofile.zip'
to 'C:\Documents and
Settings\Administrator\openejb-4.0.0\arquillian-tomee\arquillian-tomee-remote\target\apache-tomee-remote'
[] START SERVER
OPENEJB_HOME = C:\Documents and
Settings\Administrator\openejb-4.0.0\arquillian-tomee\arquillian-tomee-remote\target\apache-tomee-remote\apache-tomee-webprofile-1.0.0
SYSTEM_INFO = Java 1.6.0_22; Windows XP/5.1
'C:\Program' is not recognized as an internal or external command, operable
program or batch file.
This appears to be related to the use of "cmd /c" in the RemoteServer class and
seems to oddly cause the command args to be reparsed.
I committed a "fix" for that in trunk. By fix I mean to simply not use "cmd
/c" unless told to do so via a System property.
In short, my status is "Can't Reproduce".
-David