Re: Adding a Project using XML-RPC - Broken?
Can we see your code? Emmanuel On Wed, Feb 27, 2008 at 1:01 AM, kroe [EMAIL PROTECTED] wrote: I am tinkering with the ContinuumXmlRpcClient and think I found a bug. When calling addMavenTwoProject and specifying the project group id I get an exception. Am I doing something wrong, or is this method broken? Thanks, -Ken INFO | jvm 1| 2008/02/26 18:05:53 | org.apache.xmlrpc.XmlRpcException: Failed to invoke method addMavenTwoProject in class org.apache.maven.continuum.x mlrpc.server.ContinuumServiceImpl: null INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcMetaDataHandler.invoke (ContinuumXmlRpcMetaDataHand ler.java:164) INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcMetaDataHandler.execute (ContinuumXmlRpcMetaDataHan dler.java:133) INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.xmlrpc.server.XmlRpcServerWorker.execute( XmlRpcServerWorker.java:43) INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83) INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.xmlrpc.server.XmlRpcStreamServer.execute( XmlRpcStreamServer.java:182) INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute( XmlRpcServletServer.java:103) INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcServlet.doPost( ContinuumXmlRpcServlet.java:193) INFO | jvm 1| 2008/02/26 18:05:53 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) INFO | jvm 1| 2008/02/26 18:05:53 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( WebApplicationHandler.java:830) INFO | jvm 1| 2008/02/26 18:05:53 | at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter( FilterDispatcher.java:189) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( WebApplicationHandler.java:821) INFO | jvm 1| 2008/02/26 18:05:53 | at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage( PageFilter.java:118) INFO | jvm 1| 2008/02/26 18:05:53 | at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( PageFilter.java:52) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( WebApplicationHandler.java:821) INFO | jvm 1| 2008/02/26 18:05:53 | at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter( ActionContextCleanUp.java:88) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( WebApplicationHandler.java:821) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch( WebApplicationHandler.java:471) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.jetty.servlet.WebApplicationContext.handle( WebApplicationContext.java:633) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.HttpServer.service(HttpServer.java:909) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1| 2008/02/26 18:05:53 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) INFO | jvm 1| 2008/02/26 18:05:53 | Caused by: INFO | jvm 1| 2008/02/26 18:05:53 | java.lang.StackOverflowError INFO | jvm 1| 2008/02/26 18:05:53 | at org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl.getPGSummary (ContinuumServiceImpl.java:231) INFO | jvm 1| 2008/02/26 18:05:53 | at
losing pom.xml
hello, I am using continuum 1.1 and get this error when forcing a build : it checkout correctly the only file of this project but then generate an error but the pom.xml is removed ... but who was removing this file When I try manually with the commands given in this log, all is OK. 775722963 [SocketListener0-6] INFO org.apache.maven.continuum.Continuum:default - Enqueuing 'myCompMavenProject' with build definition 'default maven2 buildDefinition' - id=11). 775722965 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Initializing build 775722976 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Starting build of myCompMavenProject 775723014 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Updating working dir 775723014 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action check-working-directory 775723016 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action update-working-directory-from-scm 775723073 [pool-1-thread-1] INFO org.apache.maven.continuum.scm.ContinuumScm:default - Updating project: id: '30', name 'myCompMavenProject'. 775723195 [pool-1-thread-1] INFO org.apache.maven.scm.manager.ScmManager:default - Executing: /bin/sh -c cd /opt/java/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/30 svn --username svn_user --non-interactive update 775723195 [pool-1-thread-1] INFO org.apache.maven.scm.manager.ScmManager:default - Working directory: /opt/java/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/30 775724255 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Merging SCM results 775724314 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - AlwaysBuild configured, building 775724314 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action update-project-from-working-directory 775724321 [pool-1-thread-1] INFO org.codehaus.plexus.action.Action:update-project-from-working-directory - Updating project 'myCompMavenProject' from checkout. 775724649 [pool-1-thread-1] ERROR org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelper:default - Cannot build maven project from /opt/java/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/30/pom.xml (The POM expression: ${pom.scm.url} could not be evaluated. Reason: Expression value '${pom.scm.url}' references itself in 'net.myComp:myCompMavenProject:pom:smup-trunk-1.0-SNAPSHOT'.). 775724676 [pool-1-thread-1] ERROR org.apache.maven.continuum.buildcontroller.BuildController:default - Error executing action update-project-from-working-directory ' org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory' at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:434) 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$1.run(ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata:add.project.project.building.error add.project.unknown.error at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:157) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:75) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:408) ... 8 more 775724676 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action execute-builder 775724886 [pool-1-thread-1] INFO org.apache.maven.continuum.utils.shell.ShellCommandHelper:default - Executing: /bin/sh -c cd
Build blocked
Hello, I've got a problem with a build in Continuum. My Continuum version is 1.0.3and I using Maven 2. My build runs a jmeter script who is bad. Even if I restart Continuum, the build is always blocked at the same place and it's impossible to suppress it !! Please, can you help me ? Thanks Nico PS: Sorry for my English I'm french user