[Anthill-pro] Problems with "Resolve My Artifacts" job step in 3.4.1

Ryan Smith rws at urbancode.com
Thu Dec 27 08:40:43 CST 2007


Mladen,

An error like that usually means there is a problem between the server and agent communication. This is sometimes seen after a agent auto-upgrade that did not work correctly. It is usually fixed by restarting the Anthill agent process. If that does not work a manual upgrade of the agent may be required.

Ryan Smith

Mladen Maravić wrote:
> Hi all and Merry Christmas!
> 
>  
> 
> I have a problem with a „Resolve My Artifacts“ job step. This is the 
> stack trace I get in the job log:
> 
>  
> 
> 2007-12-27 09:51:25,500 ERROR 9473 - Caught unexpected exception - 
> com.urbancode.command.CommandException: Implementing class
> 
> com.urbancode.command.CommandException: Implementing class
> 
>       at 
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:498)
> 
>       at 
> com.urbancode.anthill3.step.artifacts.ResolveMyArtifactsStep.perform(ResolveMyArtifactsStep.java:97)
> 
>       at 
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:276)
> 
>       at 
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:349)
> 
>       at 
> com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:215)
> 
>       at com.urbancode.anthill3.services.jobs.Job.start(Job.java:113)
> 
>       at 
> com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run(JobServiceDefault.java:409)
> 
>       at 
> com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
> 
> Caused by: java.lang.IncompatibleClassChangeError: Implementing class
> 
>       at java.lang.ClassLoader.defineClass1(Native Method)
> 
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> 
>       at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> 
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> 
>       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> 
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> 
>       at java.security.AccessController.doPrivileged(Native Method)
> 
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> 
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 
>       at 
> com.urbancode.codestation2.client.http.BasicGetRequestFactoryBuilder.build(BasicGetRequestFactoryBuilder.java:29)
> 
>       at 
> com.urbancode.codestation2.client.CodestationFacadeBuilder.build(CodestationFacadeBuilder.java:319)
> 
>       at 
> com.urbancode.anthill3.command.codestation2.GetCodestationArtifactsCommand.execute(GetCodestationArtifactsCommand.java:98)
> 
>       at 
> com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:81)
> 
> 2007-12-27 09:51:25,500 INFO  9473 - Job 9473 released working directory 
> D:\ivyrep\javadoc\pbzRetailServices\HEAD-n-20071227.0948 on agent agent02
> 
>  
> 
> What I'm trying to do here is the following (one long workflow):
> 
> 1.       A Java application gets build on one of the 3 agents (doesn't 
> matter which, Anthill decides)
> 
> 2.       The build artifacts are gathered and published to Anthill.
> 
> 3.       A job is run on agent02 (and no other!) that publishes javadoc 
> documentation to a http server that is the agent02 machine. Since the 
> build artifacts are in the Anthill server, I need to resolve the 
> artifacts. The step fails every time with the above exception.
> 
>  
> 
> Anybody got any idea? I did something like this once in 3.3 and it 
> worked like a charm. Don't know if this is a 3.4 issue or I'm doing 
> something wrong...
> 
>  
> 
> Kind regards,
> 
>  
> 
> svgroup_mail
> 
> MLADEN MARAVIĆ
> 
> V. RAVNICE 15, HR-10000 ZAGREB, CROATIA
> 
> *PHONE:* +385 1 2958 747
> 
> *FAX:* +385 1 2989 324
> 
> *GSM:* +385 91 3841 397
> 
> mladen.maravic at svgroup.hr <mailto:mladen.maravic at svgroup.hr>
> 
> www.svgroup.hr <http://www.svgroup.hr/>
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro

-- 
===========================================================
Ryan Smith.           		2044 Euclid Ave., Suite 600
Lead Developer                  Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================


More information about the Anthill-pro mailing list