OODT
  1. OODT
  2. OODT-64

java sql BatchUpdateExeception when trying to run TestCatalogServiceLocal

    Details

    • Type: Question Question
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating, 0.2
    • Fix Version/s: 0.1-incubating, 0.2
    • Component/s: catalog
    • Labels:
      None
    • Environment:

      Mac OSX 10.6 and Ubuntu Lucid Lynx

      Description

      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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Bennett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development