archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching" <och...@apache.org>
Subject Re: [VOTE] Release Archiva 1.2-M1
Date Mon, 10 Nov 2008 19:53:30 GMT
Looks like a problem with the upgrade :( There's a new repository statistics
table in 1.2-M1.
I'll take a look at this problem and see if I can reproduce it..

Thanks for reporting this Dan :)

-Deng

On Tue, Nov 11, 2008 at 3:37 AM, Dan Tran <dantran@gmail.com> wrote:

> sorry for the late notice,
>
> but when I try to to run 1.2-M1 on top my 1.1.3,  my archiva does not come
> up
>
> here is the log
>
> 2008-11-10 11:31:21,480 [WrapperSimpleAppMain] ERROR JPOX.RDBMS  -
> Error thrown executing ALTER TABLE ARCHIVA_REPOSITORY_STATS ADD
> TOTAL_PROJECT_COUNT BIGINT NOT NULL : In an ALTER TABLE statement, the
> column 'TOTAL_PROJECT_COUNT' has been specified as NOT NULL and either
> the DEFAULT clause was not specified or was specified as DEFAULT NULL.
> ERROR 42601: In an ALTER TABLE statement, the column
> 'TOTAL_PROJECT_COUNT' has been specified as NOT NULL and either the
> DEFAULT clause was not specified or was specified as DEFAULT NULL.
>        at
> org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
>        at
> org.apache.derby.impl.sql.compile.ColumnDefinitionNode.bindAndValidateDefault(Unknown
> Source)
>        at
> org.apache.derby.impl.sql.compile.TableElementList.validate(Unknown
> Source)
>        at org.apache.derby.impl.sql.compile.AlterTableNode.bind(Unknown
> Source)
>        at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown
> Source)
>        at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown
> Source)
>        at
> org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown
> Source)
>        at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
>        at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
>        at
> org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:261)
>        at
> org.jpox.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:614)
>        at
> org.jpox.store.rdbms.table.AbstractTable.executeDdlStatementList(AbstractTable.java:570)
>        at
> org.jpox.store.rdbms.table.TableImpl.validateColumns(TableImpl.java:256)
>        at
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.performTablesValidation(RDBMSManager.java:3076)
>        at
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3326)
>        at
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2567)
>        at
> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2419)
>        at
> org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:824)
>        at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:838)
>        at
> org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:1218)
>        at
> org.jpox.store.rdbms.RDBMSManager.getExtent(RDBMSManager.java:1357)
>        at
> org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2328)
>        at
> org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114)
>        at
> org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881)
>        at
> org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497)
>        at org.jpox.store.query.Query.executeWithMap(Query.java:959)
>        at org.jpox.store.query.Query.executeWithArray(Query.java:932)
>        at org.jpox.store.query.Query.execute(Query.java:868)
>        at
> org.apache.maven.archiva.database.jdo.JdoAccess.processParameterizedQuery(JdoAccess.java:393)
>        at
> org.apache.maven.archiva.database.jdo.JdoAccess.processConstraint(JdoAccess.java:310)
>        at
> org.apache.maven.archiva.database.jdo.JdoAccess.queryObjects(JdoAccess.java:261)
>        at
> org.apache.maven.archiva.database.jdo.JdoArchivaDAO.query(JdoArchivaDAO.java:71)
>        at
> org.apache.maven.archiva.scheduled.DefaultArchivaTaskScheduler.isPreviouslyScanned(DefaultArchivaTaskScheduler.java:158)
>        at
> org.apache.maven.archiva.scheduled.DefaultArchivaTaskScheduler.start(DefaultArchivaTaskScheduler.java:141)
>        at
> org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:234)
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1428)
>        at
> org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:139)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
> org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
>        at
> org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1285)
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275)
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>        at
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
>        at
> org.apache.maven.archiva.web.startup.ArchivaStartup.contextInitialized(ArchivaStartup.java:46)
>        at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:539)
>        at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
>        at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1216)
>        at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509)
>        at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447)
>
>
> On Mon, Nov 10, 2008 at 7:39 AM, Maria Odea Ching <oching@apache.org>
> wrote:
> > On Mon, Nov 10, 2008 at 8:09 AM, James William Dumay <
> james@atlassian.com>wrote:
> >
> >> On Fri, 2008-11-07 at 21:58 -0600, Brett Porter wrote:
> >> > BTW, I ran it during the last session of ApacheCon and hooked up a
> >> > groovy script [1] to the webservices, they worked fine (though due
> >> > to
> >> > lack of basic auth, it required the guest be a system admin :). The
> >> > server ran normally.
> >>
> >> Woot - I'm glad it worked :) (and awesome work Deng!)
> >>
> >> https://maven.atlassian.com/index.action
> >>
> >> I updated our public instance with the staged milestone - seems to be
> >> running perfectly.
> >
> >
> > yay! \o/
> >
> >
> >>
> >> James
> >>
> >>
> > -Deng
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message