Hello!

I am trying to make the Deploy work on my environment, but I get the Cargo 
errror...   The deploy is remote ....

*"*

*ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to 
exceptionorg.codehaus.cargo.container.ContainerException 
<http://stacktrace.jenkins-ci.org/search?query=org.codehaus.cargo.container.ContainerException>:
 Failed to create deployer with implementation class 
org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer for the parameters 
(container [id = [jboss5x]], deployer type [remote]).
        at 
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:157)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation&entity=method>
        .....
        at hudson.model.Executor.run(Executor.java:236) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Caused by: java.lang.reflect.InvocationTargetException 
<http://stacktrace.jenkins-ci.org/search?query=java.lang.reflect.InvocationTargetException>
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        ....
        at 
org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:206)
        at 
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:153)
        ... 19 more
Caused by: org.codehaus.cargo.util.CargoException: Cannot locate the JBoss 
deployer class! Make sure the jboss-deployer for your
JBoss version as well as all required JBoss JARs are in CARGO's classpath.
More information on: http://cargo.codehaus.org/JBoss+Remote+Deployer
        at 
org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:91)
        ... 25 more
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.cargo.tools.jboss.JBossDeployer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        ....
"*


I am trying to fix this but with no success... 

I did what they told in (*http://cargo.codehaus.org/JBoss+Remote+Deployer)*. 
I tried creating a lib dir in jenkins server, putting  3 jars inside ( 
jboss-client, jboss-integration, jboss-profileservice-client) . 
Then I passed the -cp arg ponting to this lib dir with the jenkins.war  
execution ... ( java  jenkins.war -jar -cp /jenkins/lib/   )  but I still 
get the problem...   

My Jboss version is 5.1  Jenkins 1.48 ...  

They tell to use this jars 

   - JBoss deployment manager JARs
   - JBoss remoting client JARs


I dont know if I used the right ones...

If anyonce can help me finding the problem I would appreciate a lot!

Regards
Cesar

Reply via email to