You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Thomas Bennett (JIRA)" <ji...@apache.org> on 2010/11/24 14:08:13 UTC

[jira] Issue Comment Edited: (OODT-64) java sql BatchUpdateExeception when trying to run TestCatalogServiceLocal

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

Thomas Bennett edited comment on OODT-64 at 11/24/10 8:07 AM:
--------------------------------------------------------------

Hi Chris,

  I was going to ask if there was some issue in downloading that dependency

No. Believe it or not, I was looking for the dependency in the wrong place -
it was there all along.  I was also misinterpreting the error message as a
missing dependency.

So... I've built all the components and I'm wanting to get a cataloger up
and running.

And now for my favourite all time dumb-ass question:  How do I do that?

I need some basics:

   - Can I launch stuff through maven?
   - Where are the actual executables built by maven?
   - How do I generate a class path. I've seen some maven targets
   like: dependency:build-classpath. Which generated a class path for me, but
   this was not particularly useful.

Hmmm, I may just find the answers before you read this email - and have a
good laugh at myself ;-) however, thought I would send this email just in
case I don't. It is a bit of a show stopper at the moment.


      was (Author: lmzxq.tom):
    Hi Chris,

  I was going to ask if there was some issue in downloading that dependency

No. Believe it or not, I was looking for the dependency in the wrong place -
it was there all along.  I was also misinterpreting the error message as a
missing dependency.

So... I've built all the components and I'm wanting to get a cataloger up
and running.

And now for my favourite all time dumb-ass question:  How do I do that?

I need some basics:

   - Can I launch stuff through maven?
   - Where are the actual executables built by maven?
   - How do I generate a class path. I've seen some maven targets
   like: dependency:build-classpath. Which generated a class path for me, but
   this was not particularly useful.

Hmmm, I may just find the answers before you read this email - and have a
good laugh at myself ;-) however, thought I would send this email just in
case I don't. It is a bit of a show stopper at the moment.

Cheers,
Tom

-- 
Thomas Bennett

SKA South Africa

Office :  +2721 506 7341
Mobile : +2779 523 7105
Email  :  tbennett@ska.ac.za

  
> 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.