[ 
https://issues.apache.org/jira/browse/OODT-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934819#action_12934819
 ] 

Thomas Bennett commented on OODT-64:
------------------------------------

Not sure how this happened. 

Seems to be a file permission issue. Perhaps I ran it as sudo at some point...  
After deleting root owned maven tmp files and folders, the test passed. 

For Ubuntu I sudo deleted all the hsqld work files / folders in /tmp. Something 
like the following files:
/tmp/hsperfdata_*
/tmp/1
/tmp/2
/tmp/testMapperCat.log
/tmp/testMapperCat.properties

Same for Mac OS X:
I sudo deleted (actually moved just in case) all the tmp files / folders in 
/var/folders/


> java sql BatchUpdateExeception when trying to run TestCatalogServiceLocal
> -------------------------------------------------------------------------
>
>                 Key: OODT-64
>                 URL: https://issues.apache.org/jira/browse/OODT-64
>             Project: OODT
>          Issue Type: Question
>          Components: catalog
>    Affects Versions: 0.1-incubating, 0.2
>         Environment: Mac OSX 10.6 and Ubuntu Lucid Lynx
>            Reporter: Thomas Bennett
>             Fix For: 0.1-incubating, 0.2
>
>
> I'm I missing an external dependency (outside of OODT and maven repository) 
> to get this working?
> Or is this a bug? 
> Running org.apache.oodt.cas.catalog.system.impl.TestCatalogServiceLocal
> java.sql.BatchUpdateException: failed batch
> Traceback from code as far as I can see:
>       at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
>       at 
> org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
>       at 
> org.apache.oodt.commons.database.SqlScript.doExecuteBatch(SqlScript.java:221)
>       at 
> org.apache.oodt.commons.database.SqlScript.execute(SqlScript.java:132)
>       at 
> org.apache.oodt.cas.catalog.mapping.InMemoryIngestMapper.<init>(InMemoryIngestMapper.java:37)
>       at 
> org.apache.oodt.cas.catalog.mapping.InMemoryIngestMapperFactory.createMapper(InMemoryIngestMapperFactory.java:40)
>       at 
> org.apache.oodt.cas.catalog.mapping.InMemoryIngestMapperFactory.createMapper(InMemoryIngestMapperFactory.java:31)
>       at 
> org.apache.oodt.cas.catalog.system.impl.CatalogServiceLocalFactory.createCatalogService(CatalogServiceLocalFactory.java:60)
>       at 
> org.apache.oodt.cas.catalog.system.impl.TestCatalogServiceLocal.<init>(TestCatalogServiceLocal.java:76)

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

Reply via email to