continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marica Tan <c...@exist.com>
Subject Re: Trouble with xmlrpc SampleClient
Date Sat, 14 Mar 2009 00:53:34 GMT
Apparently the dozzerBeanMapping wasn't updated when the BuildProjectTask
was refactored. Thanks!
Fixed in revision 753478

On Sat, Mar 14, 2009 at 5:34 AM, Wendy Smoak <wsmoak@gmail.com> wrote:

> Has anyone successfully used the xmlrpc client against trunk lately?
> I'm getting the error below when I try the SampleClient.java code.
>
> It's complaining java.lang.ClassNotFoundException:
> org.apache.maven.continuum.buildqueue.BuildProjectTask, however I can
> only find that class in org.apache.continuum.taskqueue and
> org.apache.maven.continuum.xmlrpc.project.
>
> imbrium:continuum-xmlrpc-client wsmoak$ mvn exec:exec
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'exec'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Continuum :: XMLRPC :: Client
> [INFO]    task-segment: [exec:exec]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [exec:exec]
> [INFO] Adding project...
> [INFO] Exception in thread "main" org.apache.xmlrpc.XmlRpcException:
> Failed to invoke method addMavenTwoProject in class
> org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl:
> java.lang.ClassNotFoundException:
> org.apache.maven.continuum.buildqueue.BuildProjectTask
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:44)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
> [INFO]  at
> org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
> [INFO]  at
> org.apache.xmlrpc.client.util.ClientFactory$1.invoke(ClientFactory.java:132)
> [INFO]  at $Proxy0.addMavenTwoProject(Unknown Source)
> [INFO]  at
> org.apache.maven.continuum.xmlrpc.client.ContinuumXmlRpcClient.addMavenTwoProject(ContinuumXmlRpcClient.java:380)
> [INFO]  at
> org.apache.maven.continuum.xmlrpc.client.SampleClient.main(SampleClient.java:53)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Result of /bin/sh -c cd
>
> /Users/wsmoak/svn/continuum/continuum/continuum-xmlrpc/continuum-xmlrpc-client
> && java -Dmyproperty=myvalue -classpath
>
> /Users/wsmoak/svn/continuum/continuum/continuum-xmlrpc/continuum-xmlrpc-client/target/classes:/Users/wsmoak/.m2/repository/org/apache/continuum/continuum-xmlrpc-api/1.3.2-SNAPSHOT/continuum-xmlrpc-api-1.3.2-SNAPSHOT.jar:/Users/wsmoak/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.1/xmlrpc-common-3.1.jar:/Users/wsmoak/.m2/repository/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/Users/wsmoak/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/Users/wsmoak/.m2/repository/org/apache/xmlrpc/xmlrpc-client/3.1/xmlrpc-client-3.1.jar
> org.apache.maven.continuum.xmlrpc.client.SampleClient
> http://localhost:9080/continuum/xmlrpc admin admin123 execution is:
> '1'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Mar 13 14:19:46 MST 2009
> [INFO] Final Memory: 9M/22M
> [INFO]
> ------------------------------------------------------------------------
>
> --
> Wendy
>

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