continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trygve Laugstøl <tryg...@apache.org>
Subject Re: I can't add M2 Project
Date Tue, 28 Jun 2005 12:18:25 GMT
Answers inline.

When writing new mails do NOT reply to a existing thread, it's confusing
and people assume it's related to the original subject message.

On Tue, Jun 28, 2005 at 01:40:26PM +0200, Christian Schlaefcke wrote:
> Hi,
> 
> I just tried to get this running now, but the SQLException is still thrown:
> [INFO] Adding XML-RPC handler for role 
> 'org.apache.maven.continuum.xmlrpc.ContinuumXmlRpc to name 'continuum'.
> [INFO] The application server has started.
> setting target = Summary.vm
> target = Summary.vm
> 2005-06-28 13:32:30,468 [PoolThread-1] ERROR VelocityComponent - RHS of 
> #set statement is null. Context will not be modified. screens/Summary.vm 
> [line 1, column 1]
> 13:32:30.656 EVENT Started HttpContext[/]
> target = Add.vm
> 2005-06-28 13:32:39,203 [PoolThread-0] INFO 
> ContinuumProjectBuilder:maven-two-builder - Downloading 
> http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml
> 2005-06-28 13:32:39,421 [PoolThread-0] DEBUG ArtifactResolver - 
> Resolving: org.apache.maven.scm:maven-scm:pom:1.0-alpha-2-SNAPSHOT from:
> {localRepository: [local] -> 
> file://C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum/local-repository}
> {remoteRepositories: [[central] -> http://repo1.maven.org/maven2]}
> 2005-06-28 13:32:39,437 [PoolThread-0] INFO 
> ArtifactTransformation:snapshot - maven-scm: checking for updates from 
> central
> 2005-06-28 13:32:39,437 [PoolThread-0] INFO WagonManager - Retrieving 
> snapshot information for maven-scm 1.0-alpha-2-SNAPSHOT
> 2005-06-28 13:32:41,062 [PoolThread-0] INFO 
> ArtifactTransformation:snapshot - maven-scm: resolved to version 
> 1.0-alpha-2-20050627.163924-2 from repository central

This exception is a JPOX "feature". No idea why they write it out to
System.err instead of their logging facility.

> java.sql.SQLException: Table not found: SEQUENCE_TABLE in statement 
> [SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME=?]
> at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)
> at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
> at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
> at org.jpox.store.table.SequenceTable.getNextVal(SequenceTable.java:155)
> at 
> org.jpox.poid.SequenceTablePoidGenerator.reserveBlock(SequenceTablePoidGenerator.java:74)
> at org.jpox.poid.PoidManager.obtainPoidBlock(PoidManager.java:85)
> at org.jpox.poid.PoidManager.getPoidBlock(PoidManager.java:181)
> at org.jpox.poid.PoidManager.getPoid(PoidManager.java:54)
> at org.jpox.store.StoreManager.getNextOID(StoreManager.java:1301)
> at org.jpox.store.table.JDOBaseTable.newOID(JDOBaseTable.java:134)
> at org.jpox.store.StoreManager.newObjectID(StoreManager.java:1099)
> at org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:375)
> at 
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:839)
> at 
> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:860)
> at 
> org.apache.maven.continuum.project.ContinuumJPoxStore.addContinuumProject(ContinuumJPoxStore.java:173)
> at 
> org.apache.maven.continuum.store.ModelloJPoxContinuumStore.addProject(ModelloJPoxContinuumStore.java:100)
> at 
> org.apache.maven.continuum.core.DefaultContinuumCore.addProjectAndCheckOutSources(DefaultContinuumCore.java:767)
> at 
> org.apache.maven.continuum.core.DefaultContinuumCore.addProjectsFromUrl(DefaultContinuumCore.java:209)
> at 
> org.apache.maven.continuum.core.DefaultContinuumCore.addProjectsFromUrl(DefaultContinuumCore.java:175)
> at 
> org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:328)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:255)
> at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:553)
> at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:54)
> at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:577)
> at ognl.ASTMethod.getValueBody(ASTMethod.java:84)
> at ognl.SimpleNode.getValue(SimpleNode.java:129)
> at ognl.Ognl.getValue(Ognl.java:335)
> at ognl.Ognl.getValue(Ognl.java:380)
> at ognl.Ognl.getValue(Ognl.java:359)
> at 
> org.codehaus.plexus.formica.action.CallMethod.uponSuccessfulValidation(CallMethod.java:21)
> at 
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:100)
> at org.codehaus.plexus.action.web.ActionValve.invoke(ActionValve.java:73)
> at 
> org.codehaus.plexus.summit.pipeline.SummitPipeline.invoke(SummitPipeline.java:45)
> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:37)
> at org.codehaus.plexus.summit.Summit.doPost(Summit.java:91)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
> 2005-06-28 13:32:42,171 [PoolThread-0] INFO RDBMS - Creating table 
> SEQUENCE_TABLE

See, it just creates the missing sequence table after complaining about
it.

> 2005-06-28 13:32:42,296 [PoolThread-0] ERROR VelocityComponent - RHS of 
> #set statement is null. Context will not be modified. screens/Summary.vm 
> [line 1, column 1]
> 2005-06-28 13:32:42,328 [Thread-5] INFO ContinuumScm - Checking out 
> project: 'Maven SCM Test', id: '1' to 
> 'C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1'.
> 2005-06-28 13:32:42,343 [Thread-5] INFO SvnCommand:check-out - Working 
> directory: 
> C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
> 2005-06-28 13:32:42,343 [Thread-5] INFO SvnCommand:check-out - Command 
> line: svn --non-interactive checkout 
> http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/ 1
> 2005-06-28 13:32:50,109 [Thread-11] INFO SvnCommand:check-out - Unknown 
> file status: ' '.
> 2005-06-28 13:32:50,109 [Thread-5] INFO ContinuumScm - Checked out 0 files.

Seems to me that it added the project as expected.

--
Trygve

> 
> I have just downloaded and extracted continuum and chosen add M2 project 
> with the Link:
> http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml
> 
> Do I need anything else to get it working?
> 
> Thank´s & Regards,
> 

Mime
View raw message