Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-64

java sql BatchUpdateExeception when trying to run TestCatalogServiceLocal

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1-incubating, 0.2
    • 0.1-incubating, 0.2
    • catalog
    • None
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            lmzxq.tom Thomas Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: