continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schlaefcke <cschlaef...@wms-network.de>
Subject Re: I can't add M2 Project
Date Tue, 28 Jun 2005 13:01:32 GMT
Hi,

yeah, it´s right the project is there but when I click build i get the 
following:

<snip>
Build event for project 'Maven SCM Test':Build started.
2005-06-28 14:39:55,015 [Thread-4] WARN ContinuumStore - Rolling back 
transaction.
Build event for project 'Maven SCM Test':Checkout complete.
2005-06-28 14:39:55,031 [Thread-4] ERROR BuildController - Internal 
error while building the project.
org.apache.maven.continuum.store.ContinuumStoreException: Error while 
setting build state.
at 
org.apache.maven.continuum.store.ModelloJPoxContinuumStore.setIsUpdating(ModelloJPoxContinuumStore.java:693)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.update(DefaultBuildController.java:190)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:139)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:100)
at java.lang.Thread.run(Thread.java:534)
Caused by: 
org.apache.maven.continuum.project.state.ContinuumProjectStateGuardException: 
To be able to go into the state 'updating', the project as to be in one 
of the states in ['new', 'error', 'ok', 'failed'] but the project was in 
the 'checking out' sta
te.
at 
org.apache.maven.continuum.project.state.DefaultContinuumProjectStateGuard.assertInStates(DefaultContinuumProjectStateGuard.java:206)
at 
org.apache.maven.continuum.project.state.DefaultContinuumProjectStateGuard.assertTransition(DefaultContinuumProjectStateGuard.java:114)
at 
org.apache.maven.continuum.store.ModelloJPoxContinuumStore.setIsUpdating(ModelloJPoxContinuumStore.java:683)
... 5 more
Build event for project 'Maven SCM Test':Build complete.
2005-06-28 14:39:55,062 [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 14:39:59,109 [Thread-11] INFO SvnCommand:check-out - Unknown 
file status: ' '.
2005-06-28 14:39:59,125 [Thread-5] INFO ContinuumScm - Checked out 0 files.

I restarted "continuum" and hit "build" again:
[INFO] The application server has started.
setting target = Summary.vm
target = Summary.vm
2005-06-28 14:42:48,218 [PoolThread-1] ERROR VelocityComponent - RHS of 
#set statement is null. Context will not be modified. screens/Summary.vm 
[line 1, column 1]
14:42:48.593 EVENT Started HttpContext[/]
2005-06-28 14:42:50,875 [PoolThread-1] INFO ContinuumCore - Enqueuing 
'Maven SCM Test'.
target = Summary.vm
2005-06-28 14:42:50,953 [PoolThread-1] ERROR VelocityComponent - RHS of 
#set statement is null. Context will not be modified. screens/Summary.vm 
[line 1, column 1]
Build event for project 'Maven SCM Test':Build started.
Build event for project 'Maven SCM Test':Checkout started.
2005-06-28 14:42:51,078 [Thread-4] INFO ContinuumScm - Updating project: 
id: '1', name 'Maven SCM Test'.
2005-06-28 14:42:51,109 [Thread-4] INFO SvnCommand:update - Executing: 
svn --non-interactive update
2005-06-28 14:42:51,109 [Thread-4] INFO SvnCommand:update - Working 
directory: 
C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
2005-06-28 14:42:53,109 [Thread-11] INFO SvnCommand:update - Unknown 
file status: 'R'.
2005-06-28 14:42:53,125 [Thread-4] INFO ContinuumScm - Updated 0 files.
Build event for project 'Maven SCM Test':Checkout complete.
2005-06-28 14:42:53,156 [Thread-4] INFO ContinuumScm - Updating project: 
id: '1', name 'Maven SCM Test'.
2005-06-28 14:42:53,156 [Thread-4] INFO SvnCommand:update - Executing: 
svn --non-interactive update
2005-06-28 14:42:53,156 [Thread-4] INFO SvnCommand:update - Working 
directory: 
C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
2005-06-28 14:42:55,093 [Thread-13] INFO SvnCommand:update - Unknown 
file status: 'R'.
2005-06-28 14:42:55,125 [Thread-4] INFO ContinuumScm - Updated 0 files.
2005-06-28 14:42:55,125 [Thread-4] INFO ContinuumCore - Updating project 
'Maven SCM Test'.
2005-06-28 14:42:55,140 [Thread-4] 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 14:42:55,156 [Thread-4] INFO ArtifactTransformation:snapshot 
- maven-scm: resolved to version 1.0-alpha-2-20050627.163924-2 from 
local repository
2005-06-28 14:42:55,234 [Thread-4] INFO BuildController - Build id: '1'.
Build event for project 'Maven SCM Test':Running goals.
2005-06-28 14:42:55,250 [Thread-4] INFO ShellCommandHelper - Executing: 
m2 clean:clean install
2005-06-28 14:42:55,250 [Thread-4] INFO ShellCommandHelper - Working 
directory: 
C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
</snip>

Looks better this time, but now it seems like continuum freezes while 
running

<snip>
Build event for project 'Maven SCM Test':Running goals.
2005-06-28 14:49:09,250 [Thread-4] INFO ShellCommandHelper - Executing: 
m2 clean:clean install
2005-06-28 14:49:09,250 [Thread-4] INFO ShellCommandHelper - Working 
directory: 
C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
</snip>

It looks like I´m very far away from getting my own projekts rujnning 
under m2/continuum when I cannot even get existing projekts running. I 
get the impression that "alpha" really means "alpha" ;-) Or is it just 
my approach that is bejond alpha? :-)

Tthanks & regards,

Chris

Trygve Laugstøl schrieb:

>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