harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6296) [classlib][sql][test] derby.jar used in java5 testing required java6 classes
Date Thu, 13 Aug 2009 03:13:14 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742686#action_12742686
] 

Regis Xu commented on HARMONY-6296:
-----------------------------------

IIRC, derby used different driver implementations for different runtimes, so it's not surprise
that derby depends on Java 6 classes. according to [1], JAVA version 1.4 or higher all should
be ok, and it doesn't mention any specific jars are needed. If we have confidence it's debery's
problem, we can file JIRA to them.

>From the error message, look like it tried to find java.sql.SQLTransientConnectionException,
does it mean there is another error (not NoClassDefFoundError) happened before?

[1] http://db.apache.org/derby/docs/10.3/getstart/

> [classlib][sql][test] derby.jar used in java5 testing required java6 classes
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-6296
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6296
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mark Hindess
>
> I see errors with the sql tests on java5 occasionally.  The test failures just shows
that the driver is unregistered but derby.log contains:
>   ERROR XBM01: Startup failed due to an exception. See next exception for details. 
>   ...
>   Caused by: java.lang.NoClassDefFoundError: java.sql.SQLTransientConnectionException
> Adding missing java6 classes causes the tests to pass reliably.  I wonder if there is
a version of derby.jar more suitable for java 5 testing?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message