db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar
Date Fri, 07 Sep 2012 14:30:07 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450658#comment-13450658

Knut Anders Hatlen commented on DERBY-5917:

There are still two tests failing when running without client and server jars. Didn't notice
them in the first attempt, since the failure in the suite() method prevented the jdbcapi from
running. XATransactionTest fails because it uses the ClientXid class directly, also when running
embedded tests. CacheSessionDataTest fails because it checks if the connection is a client.am.Connection
instance in order to find out if it's running with the client.
> NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar
> ---------------------------------------------------------------------------------
>                 Key: DERBY-5917
>                 URL: https://issues.apache.org/jira/browse/DERBY-5917
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: d5917-1a.diff
> The following errors are seen when running tests without derbynet.jar and derbyclient.jar
in the classpath:
> - The suite() method in jdbcapi.ClientConnectionPoolDataSourceTest fails with a NoClassDefFoundError
(for org/apache/derby/jdbc/ClientConnectionPoolDataSource)
> - The test_jdbc4_1() test cases in jdbc4.CallableStatementTest, jdbc4.DataSourceTest,
jdbc4.ConnectionMethodsTest and jdbc4.AbortTest fail with NoClassDefFoundErrors (for org/apache/derby/client/net/NetResultSet40,
org/apache/derby/jdbc/ClientDataSource40 and org/apache/derby/client/net/NetConnection40)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message