Hi All,

I am using Sculptor v1.6 for my project. When I am doing the build in
any of the dev machines, I am able to build the project successfully.
But, If I am building via my CI Server (Hudson 1.339) -- with the same
code, same pom-- the build is failing with the following error.

 

[INFO]
------------------------------------------------------------------------

[ERROR] FATAL ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Cannot load or instantiate class
org.openarchitectureware.workflow.WorkflowRunner

[INFO]
------------------------------------------------------------------------

[INFO] Trace

java.lang.IllegalArgumentException: Cannot load or instantiate class
org.openarchitectureware.workflow.WorkflowRunner

         at
org.fornax.toolsupport.maven2.MojoWorkflowRunner.setWorkflowRunnerClass(
MojoWorkflowRunner.java:72)

         at
org.fornax.toolsupport.maven2.WorkflowMojo.execute(WorkflowMojo.java:280
)

         at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)

         at
hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInt
erceptor.java:182)

         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:558)

         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:499)

         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:478)

         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)

         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)

         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)

         at
org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(Lifecycl
eExecutorInterceptor.java:65)

         at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

         at java.lang.reflect.Method.invoke(Method.java:597)

         at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

         at hudson.maven.agent.Main.launch(Main.java:165)

         at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)

         at
hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:6
88)

         at
hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:6
32)

         at hudson.remoting.UserRequest.perform(UserRequest.java:104)

         at hudson.remoting.UserRequest.perform(UserRequest.java:48)

         at hudson.remoting.Request$2.run(Request.java:270)

         at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

         at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

         at java.util.concurrent.FutureTask.run(FutureTask.java:138)

         at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)

         at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:908)

         at java.lang.Thread.run(Thread.java:619)

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 18 seconds

 

If I remote log in to my CI server, and do a build from a command
prompt, the build is happening fine. The issue happens only while
building using Hudson. (I have the same settings.xml in both the CI
server and my dev environment).  Is there any known issues with Hudson
and Sculptor based projects?

Here is a bit of my dev environment.

 

JDK                                                         1.6.13

Hudson Version                               1.339

Maven                                                  2.0.9

Sculptor                                               1.6.0

fornax-oaw-m2.version                3.0.1

maven-eclipse-plugin.version  2.5.1

 

 

Can you please advise me on this? 

 

Regards

Abhilash John

 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to