db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: [Test] Could test suite can be run with JDK1.5 on Window?
Date Fri, 13 Apr 2007 12:56:00 GMT
Hello Tracy,

You should be able to run the tests on Windows with JDK 1.5.
The test reports sent to this list by a community member that is running
tests on a number of platforms include Windows 2003 and Vista.
I am not aware of any problems with running the tests on Windows XP, and
I believe a number of community members are developing on that platform.

To me it looks like an environment problem, as the Derby driver is not
found.
Can you confirm that the classes are actually built, and that you are
able to use for instance ij to create a database with JDK 1.5?


Let us know if it still won't work, and someone might give you the
required help.



regards,
-- 
Kristian


Tracy wrote:
> When I ran derbyall test suite on window, most of tests failed.
> My environment:
> Windows XP, Sun JDK 1.5, derby 10.2.2.0
> 
> here is the report:
> Generating report for RunSuite derbyall  null null null true
> ------------------ Java Information ------------------
> Java Version:    1.5.0_08
> Java Vendor:     Sun Microsystems Inc.
> Java home:       D:\Java\jdk1.5.0_08\jre
> Java classpath:  
> E:\Derby\db-derby-10.2.2.0-src\classes;E:\Derby\db-derby-10.2.2.0-src\tools\java\junit.jar;E:\Derby\db-derby-10.2.2.0-src\tools\java\jakarta-oro-2.0.8.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  Hyper
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   E:\Derby\db-derby-10.2.2.0-src\test\result
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [E:\Derby\db-derby-10.2.2.0-src\classes] 10.2.2.0 - (1)
> ------------------------------------------------------
> ----------------- Locale Information -----------------
> Current Locale :  [English/United States [en_US]]
> Found support for locale: [cs]
>      version: 10.2.2.0 - (1)
> Found support for locale: [de_DE]
>      version: 10.2.2.0 - (1)
> Found support for locale: [es]
>      version: 10.2.2.0 - (1)
> Found support for locale: [fr]
>      version: 10.2.2.0 - (1)
> Found support for locale: [hu]
>      version: 10.2.2.0 - (1)
> Found support for locale: [it]
>      version: 10.2.2.0 - (1)
> Found support for locale: [ja_JP]
>      version: 10.2.2.0 - (1)
> Found support for locale: [ko_KR]
>      version: 10.2.2.0 - (1)
> Found support for locale: [pl]
>      version: 10.2.2.0 - (1)
> Found support for locale: [pt_BR]
>      version: 10.2.2.0 - (1)
> Found support for locale: [ru]
>      version: 10.2.2.0 - (1)
> Found support for locale: [zh_CN]
>      version: 10.2.2.0 - (1)
> Found support for locale: [zh_TW]
>      version: 10.2.2.0 - (1)
> ------------------------------------------------------
> Test environment information:
> COMMAND LINE STYLE: jdk13
> TEST CANONS: master
> ------------------------------------------------------
> ------------------------------------------------------
> Summary results:
> 
> Test Run Started: 2007-04-13 13:09:31.0
> Test Run Duration: 00:32:02
> 
> 501 Tests Run
> 10% Pass (53 tests passed)
> 90% Fail (448 tests failed)
> 6 Suites skipped
> 
> 
> And when I just ran:
> java org.apache.derbyTesting.functionTests.harness.RunTest 
> lang/supersimple.sql
> 
> It failed with following output:
> E:\Derby\db-derby-10.2.2.0-src>java 
> org.apache.derbyTesting.functionTests.harness.RunTest lang/supersimple.sql
> -- listing properties --
> derby.locks.deadlockTimeout=3
> derby.locks.waitTimeout=3
> *** Start: supersimple jdk1.5.0_08 2007-04-13 16:29:43 ***
> 0a1
>  > java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
> 18a20
>  > IJ ERROR: Unable to establish connection
> 20 del
> < 0 rows inserted/updated/deleted
> 20a22
> ......
> 
> But, EmbeddedDriver.class was just in classpath.
> I also put derby.jar,derbytools.jar,and other *.jar to classpath, and it 
> changed nothing.
> 
> PS:when I ran with jdk1.4, almost all tests passed.
> 
> Could anyone help me?
> Thanks!
> 
> ------------------------------------------------------------------------
> 抢注雅虎免费邮箱-3.5G容量,20M附件! <http://cn.mail.yahoo.com>


Mime
View raw message