db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1499) test run exits for _foundation run because unloadEmbeddedDriver uses driverManager, which isn't available.
Date Wed, 12 Jul 2006 04:29:30 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1499?page=all ]

Myrna van Lunteren updated DERBY-1499:

    Attachment: DERBY-1499_102_20060711.diff

Modifying RunList to only try to unloadEmbeddedDriver if the jvm is *not* wctme5.7_foundation
- which is currently the only j2ME supported by the test harness.

I chose this method rather than checking if the version was higher than 1.5; I thought it
would be easier to check the one exception.

> test run exits for _foundation run because unloadEmbeddedDriver uses driverManager, which
isn't available.
> ----------------------------------------------------------------------------------------------------------
>          Key: DERBY-1499
>          URL: http://issues.apache.org/jira/browse/DERBY-1499
>      Project: Derby
>         Type: Bug

>   Components: Test
>     Versions:
>  Environment: windows - with wctme5.7_foundation 
>     Reporter: Myrna van Lunteren
>     Assignee: Myrna van Lunteren
>  Attachments: DERBY-1499_102_20060711.diff
> The wctme5.7_foundation runs have been exiting out for a while. 
> We only run this environment weekly and were under the impression there was a time out.
But I ran the suite, capturing the output in a file, and the last part of the run shows the
problem is with unloadEmbeddedDriver:
> Now do RunList
> Exception in thread "main" java.lang.NoClassDefFoundError: java.sql.DriverManager
> 	at org.apache.derbyTesting.functionTests.harness.RunList.unloadEmbeddedDriver(RunList.java:1636)
> 	at org.apache.derbyTesting.functionTests.harness.RunList.runSuites(RunList.java:276)
> 	at org.apache.derbyTesting.functionTests.harness.RunList.<init>(RunList.java:167)
> 	at org.apache.derbyTesting.functionTests.harness.RunSuite.getSuitesList(RunSuite.java:208)
> 	at org.apache.derbyTesting.functionTests.harness.RunSuite.main(RunSuite.java:147)
> UnloadEmbeddedDriver was put in to allow running with useprocess=false and autoload of
the driver, so it's needed. 
> But maybe we can add an appropriate if condition so it doesn't try to do this with foundation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message