You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Dain Sundstrom <da...@iq80.com> on 2007/10/03 01:28:43 UTC

Release testing

Yesterday I discovered that our code runs fine on Java 6, so I went  
back and verified the 3.0-beta-1 release using the Sun Java 6 VM on  
Windows and OSX which we passed.  In the process, I wrote this simple  
ant script:

   http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/ 
build.xml

To use it, simply download the build.xml file and run "ant test" or  
"ant test-all" with ant 1.7.  The script downloads OpenEJB, the  
iTests, and one (ant test) or four (ant test-all) versions of  
Tomcat.  I chose ant because I want rope more people into testing  
OpenEJB on their box and everyone's got ant :)

I updated the download page to reflect the passes on Windows and Mac  
1.6, and if you get it to pass on another platform, please update the  
page (if not report it here).

   http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0+beta+1

I'm especially looking for runs using the Sun 1.6 VM on Linux and the  
IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...


-dain



Re: Release testing

Posted by Dain Sundstrom <da...@iq80.com>.
On Oct 2, 2007, at 9:50 PM, Dario Laverde wrote:

> Sorry for not mentioning this earlier, I had gotten your examples  
> running on Linux
> and Windows (both w/Sun VM) and Mac OSX when I had asked about Java  
> 6 and OpenJPA.

Cool.  Can you run the ant script "test-all" target on linux 1.6?

> What specific api methods should we test in order to clarify the  
> scenarios one might
> have trouble with when using JRE 6?

Generally everything seems to be working, and we are just verifying  
that there aren't platform/JVM issues.

> Will building with JDK 6 be fixed for beta 2?

It is already checked in.

-dain



Re: Release testing

Posted by Dario Laverde <da...@nycjava.net>.
Sorry for not mentioning this earlier, I had gotten your examples running on Linux
and Windows (both w/Sun VM) and Mac OSX when I had asked about Java 6 and OpenJPA.
What specific api methods should we test in order to clarify the scenarios one might
have trouble with when using JRE 6? Will building with JDK 6 be fixed for beta 2?

What misled me (and possibly others?) much earlier were errors you get when you
don't clear temp and working files when switching between 5 and 6 (and of course
assuming that since one couldn't compile with 6 yet that one couldn't run on 6).

thanks,
Dario

> Yesterday I discovered that our code runs fine on Java 6, so I went
> back and verified the 3.0-beta-1 release using the Sun Java 6 VM on
> Windows and OSX which we passed.  In the process, I wrote this simple
> ant script:
>
>    http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/
> build.xml
>
> To use it, simply download the build.xml file and run "ant test" or
> "ant test-all" with ant 1.7.  The script downloads OpenEJB, the
> iTests, and one (ant test) or four (ant test-all) versions of
> Tomcat.  I chose ant because I want rope more people into testing
> OpenEJB on their box and everyone's got ant :)
>
> I updated the download page to reflect the passes on Windows and Mac
> 1.6, and if you get it to pass on another platform, please update the
> page (if not report it here).
>
>    http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0+beta+1
>
> I'm especially looking for runs using the Sun 1.6 VM on Linux and the
> IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...
>
>
> -dain
>
>
>



Re: Release testing

Posted by Karan Malhi <ka...@gmail.com>.
Thanks David. Just used aptitude on Ubuntu to install ANT and it ended
up installing 1.6.5. Didnt realize it until I started looking at the
failure

On 10/2/07, David Blevins <da...@visi.com> wrote:
> You need Ant 1.7 to get the osfamily support.
>
> -David
>
> On Oct 2, 2007, at 4:36 PM, Karan Malhi wrote:
>
> > Dain,
> >
> > Did a quick test on linux with Sun 1.5 , but the build failed. Below
> > is the output:
> >
> > karan@poweredge:~/temp$ ant test
> > Buildfile: build.xml
> >
> > test:
> >
> > openejb.test.setup:
> >
> > download.uptodate:
> >
> > download.file:
> >     [mkdir] Created dir: /home/karan/temp/repo/openejb/
> > distributions/3.0-beta-1
> >       [get] Getting:
> > http://www.apache.org/dist/openejb/3.0-beta-1/openejb-3.0-beta-1.zip
> >       [get] To:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
> >
> > download.uptodate:
> >
> > download.file:
> >       [get] Getting:
> > http://people.apache.org/~dblevins/openejb-itests-app-3.0-beta-1.jar
> >       [get] To:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb-
> > itests-app.jar
> >
> > download.uptodate:
> >
> > download.file:
> >       [get] Getting:
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/
> > apache/openejb/openejb-itests-standalone-client/3.0-beta-1/openejb-
> > itests-standalone-client-3.0-beta-1.jar
> >       [get] To:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb-
> > itests-standalone-client.jar
> >
> > openejb.test:
> >
> > openejb.unpack:
> >     [mkdir] Created dir: /home/karan/temp/target
> >     [unjar] Expanding:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
> > into /home/karan/temp/target
> >      [copy] Copying 1 file to /home/karan/temp/target/openejb-3.0-
> > beta-1/apps
> >
> > openejb.start:
> >      [echo] Starting OpenEJB 3.0-beta-1...
> >
> > BUILD FAILED
> > /home/karan/temp/build.xml:38: The following error occurred while
> > executing this line:
> > /home/karan/temp/build.xml:79: The following error occurred while
> > executing this line:
> > /home/karan/temp/build.xml:102: The <exec> type doesn't support the
> > "osfamily" attribute.
> >
> > Total time: 39 seconds
> >
> >
> > ***************And here is the java version I have used
> > ********************
> > karan@poweredge:~/temp$ java -version
> > java version "1.5.0_12"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> > Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
> >
> >
> > On 10/2/07, Dain Sundstrom <da...@iq80.com> wrote:
> >> Yesterday I discovered that our code runs fine on Java 6, so I went
> >> back and verified the 3.0-beta-1 release using the Sun Java 6 VM on
> >> Windows and OSX which we passed.  In the process, I wrote this simple
> >> ant script:
> >>
> >>    http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/
> >> build.xml
> >>
> >> To use it, simply download the build.xml file and run "ant test" or
> >> "ant test-all" with ant 1.7.  The script downloads OpenEJB, the
> >> iTests, and one (ant test) or four (ant test-all) versions of
> >> Tomcat.  I chose ant because I want rope more people into testing
> >> OpenEJB on their box and everyone's got ant :)
> >>
> >> I updated the download page to reflect the passes on Windows and Mac
> >> 1.6, and if you get it to pass on another platform, please update the
> >> page (if not report it here).
> >>
> >>    http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0
> >> +beta+1
> >>
> >> I'm especially looking for runs using the Sun 1.6 VM on Linux and the
> >> IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...
> >>
> >>
> >> -dain
> >>
> >>
> >>
> >
> >
> > --
> > Karan Singh Malhi
> >
>
>


-- 
Karan Singh Malhi

Re: Release testing

Posted by David Blevins <da...@visi.com>.
You need Ant 1.7 to get the osfamily support.

-David

On Oct 2, 2007, at 4:36 PM, Karan Malhi wrote:

> Dain,
>
> Did a quick test on linux with Sun 1.5 , but the build failed. Below
> is the output:
>
> karan@poweredge:~/temp$ ant test
> Buildfile: build.xml
>
> test:
>
> openejb.test.setup:
>
> download.uptodate:
>
> download.file:
>     [mkdir] Created dir: /home/karan/temp/repo/openejb/ 
> distributions/3.0-beta-1
>       [get] Getting:
> http://www.apache.org/dist/openejb/3.0-beta-1/openejb-3.0-beta-1.zip
>       [get] To:
> /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
>
> download.uptodate:
>
> download.file:
>       [get] Getting:
> http://people.apache.org/~dblevins/openejb-itests-app-3.0-beta-1.jar
>       [get] To:
> /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb- 
> itests-app.jar
>
> download.uptodate:
>
> download.file:
>       [get] Getting:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/ 
> apache/openejb/openejb-itests-standalone-client/3.0-beta-1/openejb- 
> itests-standalone-client-3.0-beta-1.jar
>       [get] To:
> /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb- 
> itests-standalone-client.jar
>
> openejb.test:
>
> openejb.unpack:
>     [mkdir] Created dir: /home/karan/temp/target
>     [unjar] Expanding:
> /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
> into /home/karan/temp/target
>      [copy] Copying 1 file to /home/karan/temp/target/openejb-3.0- 
> beta-1/apps
>
> openejb.start:
>      [echo] Starting OpenEJB 3.0-beta-1...
>
> BUILD FAILED
> /home/karan/temp/build.xml:38: The following error occurred while
> executing this line:
> /home/karan/temp/build.xml:79: The following error occurred while
> executing this line:
> /home/karan/temp/build.xml:102: The <exec> type doesn't support the
> "osfamily" attribute.
>
> Total time: 39 seconds
>
>
> ***************And here is the java version I have used  
> ********************
> karan@poweredge:~/temp$ java -version
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
>
>
> On 10/2/07, Dain Sundstrom <da...@iq80.com> wrote:
>> Yesterday I discovered that our code runs fine on Java 6, so I went
>> back and verified the 3.0-beta-1 release using the Sun Java 6 VM on
>> Windows and OSX which we passed.  In the process, I wrote this simple
>> ant script:
>>
>>    http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/
>> build.xml
>>
>> To use it, simply download the build.xml file and run "ant test" or
>> "ant test-all" with ant 1.7.  The script downloads OpenEJB, the
>> iTests, and one (ant test) or four (ant test-all) versions of
>> Tomcat.  I chose ant because I want rope more people into testing
>> OpenEJB on their box and everyone's got ant :)
>>
>> I updated the download page to reflect the passes on Windows and Mac
>> 1.6, and if you get it to pass on another platform, please update the
>> page (if not report it here).
>>
>>    http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0 
>> +beta+1
>>
>> I'm especially looking for runs using the Sun 1.6 VM on Linux and the
>> IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...
>>
>>
>> -dain
>>
>>
>>
>
>
> -- 
> Karan Singh Malhi
>


Re: Release testing

Posted by Karan Malhi <ka...@gmail.com>.
Dain,

Did a quick test on linux with Sun 1.5 , but the build failed. Below
is the output:

karan@poweredge:~/temp$ ant test
Buildfile: build.xml

test:

openejb.test.setup:

download.uptodate:

download.file:
    [mkdir] Created dir: /home/karan/temp/repo/openejb/distributions/3.0-beta-1
      [get] Getting:
http://www.apache.org/dist/openejb/3.0-beta-1/openejb-3.0-beta-1.zip
      [get] To:
/home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip

download.uptodate:

download.file:
      [get] Getting:
http://people.apache.org/~dblevins/openejb-itests-app-3.0-beta-1.jar
      [get] To:
/home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb-itests-app.jar

download.uptodate:

download.file:
      [get] Getting:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/openejb/openejb-itests-standalone-client/3.0-beta-1/openejb-itests-standalone-client-3.0-beta-1.jar
      [get] To:
/home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb-itests-standalone-client.jar

openejb.test:

openejb.unpack:
    [mkdir] Created dir: /home/karan/temp/target
    [unjar] Expanding:
/home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
into /home/karan/temp/target
     [copy] Copying 1 file to /home/karan/temp/target/openejb-3.0-beta-1/apps

openejb.start:
     [echo] Starting OpenEJB 3.0-beta-1...

BUILD FAILED
/home/karan/temp/build.xml:38: The following error occurred while
executing this line:
/home/karan/temp/build.xml:79: The following error occurred while
executing this line:
/home/karan/temp/build.xml:102: The <exec> type doesn't support the
"osfamily" attribute.

Total time: 39 seconds


***************And here is the java version I have used ********************
karan@poweredge:~/temp$ java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)


On 10/2/07, Dain Sundstrom <da...@iq80.com> wrote:
> Yesterday I discovered that our code runs fine on Java 6, so I went
> back and verified the 3.0-beta-1 release using the Sun Java 6 VM on
> Windows and OSX which we passed.  In the process, I wrote this simple
> ant script:
>
>    http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/
> build.xml
>
> To use it, simply download the build.xml file and run "ant test" or
> "ant test-all" with ant 1.7.  The script downloads OpenEJB, the
> iTests, and one (ant test) or four (ant test-all) versions of
> Tomcat.  I chose ant because I want rope more people into testing
> OpenEJB on their box and everyone's got ant :)
>
> I updated the download page to reflect the passes on Windows and Mac
> 1.6, and if you get it to pass on another platform, please update the
> page (if not report it here).
>
>    http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0+beta+1
>
> I'm especially looking for runs using the Sun 1.6 VM on Linux and the
> IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...
>
>
> -dain
>
>
>


-- 
Karan Singh Malhi

Re: Release testing

Posted by Karan Malhi <ka...@gmail.com>.
I am using ant 1.6.5 . Could that be causing the issue?

On 10/2/07, Dain Sundstrom <da...@iq80.com> wrote:
> Yesterday I discovered that our code runs fine on Java 6, so I went
> back and verified the 3.0-beta-1 release using the Sun Java 6 VM on
> Windows and OSX which we passed.  In the process, I wrote this simple
> ant script:
>
>    http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/
> build.xml
>
> To use it, simply download the build.xml file and run "ant test" or
> "ant test-all" with ant 1.7.  The script downloads OpenEJB, the
> iTests, and one (ant test) or four (ant test-all) versions of
> Tomcat.  I chose ant because I want rope more people into testing
> OpenEJB on their box and everyone's got ant :)
>
> I updated the download page to reflect the passes on Windows and Mac
> 1.6, and if you get it to pass on another platform, please update the
> page (if not report it here).
>
>    http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0+beta+1
>
> I'm especially looking for runs using the Sun 1.6 VM on Linux and the
> IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...
>
>
> -dain
>
>
>


-- 
Karan Singh Malhi