[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-861) JDBC tests failing on the packaged distribution

Hany Mesha (JIRA) jira-events at jboss.com
Wed Dec 6 10:12:55 EST 2006


    [ http://jira.jboss.com/jira/browse/JBCACHE-861?page=comments#action_12348268 ] 
            
Hany Mesha commented on JBCACHE-861:
------------------------------------

JDBC CacheLoader based test cases fail because the build.xml included with JBossCache-all-2.0.0.ALPHA1 has ant build target *compile-50 * which has a copy task that suppose to include copy /etc/cache-jdbc.properties to /output/etc/ but it doesn't. However, looking at JBC head build.xml, the include statement for the file in the copy task does exist and runs fine copying the file to the proper place in the output directory. 

The ant target in head is named *compile-cache* not *compile-50* so I beleive whatever script is created to tag the release in ALPHA1 didn't do the right thing.

Manik,

Where's the script that generated the build.xml file in ALPHA1?

> JDBC tests failing on the packaged distribution
> -----------------------------------------------
>
>                 Key: JBCACHE-861
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-861
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.ALPHA1
>            Reporter: Rajesh Rajasekaran
>         Assigned To: Hany Mesha
>             Fix For: 2.0.0.ALPHA2
>
>
> The following tests which involve Derby database are failing on the packaged distribution.
> Build JBossCache-all-2.0.0.ALPHA1.zip
> Unzip and run the following tests.
> 1.) 
> org.jboss.cache.loader.JDBCCacheLoaderDerbyDSTest
> java:/DerbyDS not bound
> junit.framework.AssertionFailedError: java:/DerbyDS not bound at org.jboss.cache.loader.JDBCCacheLoaderDerbyDSTest.configureCache(JDBCCacheLoaderDerbyDSTest.java:49) at org.jboss.cache.loader.CacheLoaderTestsBase.setUp(CacheLoaderTestsBase.java:72)
> 2.)
> org.jboss.cache.loader.JDBCCacheLoaderTest
> org.jboss.cache.passivation.PassivationToJDBCCacheLoaderTest
> org.jboss.cache.statetransfer.StateTransfer200Test
> 	Failed to load driver null: null
> java.lang.IllegalStateException: Failed to load driver null: null at org.jboss.cache.loader.JDBCCacheLoader.loadDriver(JDBCCacheLoader.java:945) at org.jboss.cache.loader.JDBCCacheLoader.start(JDBCCacheLoader.java:479) at org.jboss.cache.loader.CacheLoaderManager.startCacheLoader(CacheLoaderManager.java:328) at org.jboss.cache.TreeCache.start(TreeCache.java:750) at org.jboss.cache.loader.CacheLoaderTestsBase.setUp(CacheLoaderTestsBase.java:73)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list