db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scott hutinger <s-hutin...@wiu.edu>
Subject Re: J9 Foundation & RunSuite
Date Thu, 26 May 2005 18:49:57 GMT
It looks like  JavaVersionHolder 'hack for special case' like in the 
instance of looking for HP would work looking for 'J2ME'. 
Although you more than likely already have had it working for a while, 
and I'm sure a better method exists. :-)

scott


Daniel John Debrunner wrote:

>Myrna, your changes to RunTest for WCTME 5.7 (J9) enabled me to get it
>running with J9/JSR169 but RunSuite fails with errors parsing a version
>number. The version being parsed and causing the exception in
>JavaVersionHolder is
>
>J2ME Foundation Specification v1.0
>
>What should the field values be in JavaVersionHolder to match the
>changes you made in RunTest? (ie. minor, major version)
>
>And does this mean that RunTest and RunSuite have separate mechanisms to
>determine the identity of a VM?
>
>Thanks for any help,
>Dan.
>
>
>+ c:/_work/p4/djdt1/wctme5.7/ive/bin/j9 -jcl:foun10
>-Xbootclasspath/p:c:/_work/p4/djdt1/wctme5.7/ive/lib/jdbc.jar
>org.apache.derby.tools.sysinfo
>------------------ Java Information ------------------
>Java Version:    J2ME Foundation Specification v1.0
>Java Vendor:     IBM Corporation
>Java home:       c:\_work\p4\djdt1\wctme5.7\ive
>Java classpath:
>c:/_work/svn/trunk/classes;c:/_work/svn/trunk/tools/java/jakarta-oro-2.0.8.jar
>OS name:         Windows XP
>OS architecture: x86
>OS version:      5.1 build 2600 Service Pack 1
>Java user name:  djd
>Java user home:  C:\Documents and Settings\Administrator
>Java user dir:   C:\_work\svn\trunk\systest\out
>java.specification.name: J2ME Foundation Specification
>java.specification.version: 1.0
>--------- Derby Information --------
>JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
>[C:\_work\svn\trunk\classes] 10.1.0.0 alpha - (1)
>------------------------------------------------------
>----------------- Locale Information -----------------
>Current Locale :  [English/United States [en_US]]
>Found support for locale: [de_DE]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [es]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [fr]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [it]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [ja_JP]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [ko_KR]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [pt_BR]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [zh_CN]
>	 version: 10.1.0.0 alpha - (1)
>Found support for locale: [zh_TW]
>	 version: 10.1.0.0 alpha - (1)
>------------------------------------------------------
>+ c:/_work/p4/djdt1/wctme5.7/ive/bin/j9 -jcl:foun10 -Dverbose=true
>-Xbootclasspath/p:c:/_work/p4/djdt1/wctme5.7/ive/lib/jdbc.jar
>-Dij.dataSource=org.apache.derby.jdbc.EmbeddedSimpleDataSource
>-Dij.dataSource.databaseName=wombat
>-Dij.dataSource.createDatabase=create
>-Djvmflags=-Dij.dataSource=org.apache.derby.jdbc.EmbeddedSimpleDataSource
>-Dij.dataSource.databaseName=wombat
>-Dij.dataSource.createDatabase=create
>-Dbootcp=c:/_work/p4/djdt1/wctme5.7/ive/lib/jdbc.jar
>org.apache.derbyTesting.functionTests.harness.RunSuite derbyall
>Top suite: derbyall
>NumberFormatException thrown trying to parse the version.
>The test harness only handles the HP special case.
>Now do RunList
>Now run the suite's tests
>Run the tests...
>Exception in thread "main" java.lang.ClassNotFoundException:
>org.apache.derbyTesting.functionTests.harness.jdk22
>	at java.lang.Class.forName(Class.java:116)
>	at org.apache.derbyTesting.functionTests.harness.jvm.getJvm(Unknown Source)
>	at
>org.apache.derbyTesting.functionTests.harness.RunList.runTests(Unknown
>Source)
>	at
>org.apache.derbyTesting.functionTests.harness.RunList.runSuites(Unknown
>Source)
>	at org.apache.derbyTesting.functionTests.harness.RunList.<init>(Unknown
>Source)
>	at
>org.apache.derbyTesting.functionTests.harness.RunSuite.getSuitesList(Unknown
>Source)
>	at org.apache.derbyTesting.functionTests.harness.RunSuite.main(Unknown
>Source)
>
>
>  
>


Mime
View raw message