You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <de...@db.apache.org> on 2006/07/12 06:29:30 UTC

[jira] Updated: (DERBY-1499) test run exits for _foundation run because unloadEmbeddedDriver uses driverManager, which isn't available.

     [ 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: 10.2.0.0
>  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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira