grouper-users - could you help me init db?
Subject: Grouper Users - Open Discussion List
List archive
- From: 艾飞 <>
- To: <>
- Subject: could you help me init db?
- Date: Mon, 11 Sep 2006 21:40:06 +0800
hi!
I'm new to grouper1.0.I install grouper by
the step the README.txt of the grouper-api-1.0. the database is oracle.
the following is my build steps:
% ant build
% ant schemaexport
the above steps are ok.
but when excute this command
% ant db-init
the error message is:
db-init:
[java] Exception in thread "main" edu.internet2.middleware.grouper.GrouperR untimeException: unable to install schema: hibernate error: save: unable to save : Could not execute JDBC batch update [java] at edu.internet2.middleware.grouper.RegistryInstall._installFiel dsAndTypes(Unknown Source) [java] at edu.internet2.middleware.grouper.RegistryInstall.main(Unknown Source) [java] Caused by: net.sf.hibernate.HibernateException: hibernate error: sav e: unable to save : Could not ex ecute JDBC batch update [java] at edu.internet2.middleware.grouper.HibernateHelper.save(Unknown Source) [java] ... 2 more [java] Caused by: net.sf.hibernate.HibernateException: save: unable to save : Could not execute JDBC batch update [java] ... 3 more [java] Caused by: net.sf.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update [java] at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCo deConverter.java:73) [java] at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCEx ceptionHelper.java:29) [java] at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:32 8) [java] at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.ja va:135) [java] at net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImp l.java:61) [java] at net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImp l.java:58) [java] at net.sf.hibernate.impl.BatcherImpl.prepareBatchStatement(Batch erImpl.java:111) [java] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersi ster.java:454) [java] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersi ster.java:436) [java] at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledIns ertion.java:37) [java] at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:24 49) [java] at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java :2435) [java] at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:23 92) [java] at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261 ) [java] at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTrans action.java:61) [java] ... 3 more [java] Caused by: java.sql.BatchUpdateException: ORA-00001: unique constrai nt (ISM.SYS_C002888) violated [java] at
oracle.jdbc.dbaccess.DBError.throwBatchUpdateException(DBErro
r.java:459) [java] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(Oracl ePreparedStatement.java:3907) [java] at org.apache.commons.dbcp.DelegatingStatement.executeBatch(Dele gatingStatement.java:294) [java] at org.apache.commons.dbcp.DelegatingStatement.executeBatch(Dele gatingStatement.java:294) [java] at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(Batching Batcher.java:54) [java] at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.ja va:128) [java] ... 14 more [java] Java Result: 1 could anybody help me?
regards!
aifei
|
- could you help me init db?, 艾飞, 09/11/2006
- Re: [grouper-users] could you help me init db?, blair christensen., 09/12/2006
- Re: [grouper-users] could you help me init db?, 艾飞, 09/12/2006
- the problem of merge grouper xml, 艾飞, 09/21/2006
- Re: [grouper-users] the problem of merge grouper xml, GW Brown, Information Systems and Computing, 09/22/2006
- Re: [grouper-users] the problem of merge grouper xml, 艾飞, 09/23/2006
- Re: [grouper-users] the problem of merge grouper xml, GW Brown, Information Systems and Computing, 09/24/2006
- the problem of integer cas auth with group-ui, 艾飞, 09/27/2006
- Re: the problem of integer cas auth with group-ui, GW Brown, Information Systems and Computing, 09/27/2006
- Re: [grouper-users] Re: the problem of integer cas auth with group-ui, 艾飞, 09/28/2006
- Re: [grouper-users] Re: the problem of integer cas auth with group-ui, GW Brown, Information Systems and Computing, 09/28/2006
- Re: [grouper-users] the problem of merge grouper xml, GW Brown, Information Systems and Computing, 09/24/2006
- Re: [grouper-users] the problem of merge grouper xml, 艾飞, 09/23/2006
- Re: [grouper-users] the problem of merge grouper xml, GW Brown, Information Systems and Computing, 09/22/2006
- the problem of merge grouper xml, 艾飞, 09/21/2006
- Re: [grouper-users] could you help me init db?, 艾飞, 09/12/2006
- Re: [grouper-users] could you help me init db?, blair christensen., 09/12/2006
Archive powered by MHonArc 2.6.16.