Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19256

[Deploy-Plugin] Support JBoss 6.x and 7.x

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: deploy-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Add support for some newer JBoss Application Servers.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Rüdiger zu Dohna
          Path:
          src/main/java/hudson/plugins/deploy/jboss/JBoss3xAdapter.java
          src/main/java/hudson/plugins/deploy/jboss/JBoss4xAdapter.java
          src/main/java/hudson/plugins/deploy/jboss/JBoss5xAdapter.java
          src/main/java/hudson/plugins/deploy/jboss/JBoss6xAdapter.java
          src/main/java/hudson/plugins/deploy/jboss/JBoss7xAdapter.java
          http://jenkins-ci.org/commit/deploy-plugin/b600c81fc0b1c2f257a8c4270c1a429d4d0798ba
          Log:
          [FIXED JENKINS-19256] add support for JBoss 6 and add "AS" to display names

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rüdiger zu Dohna Path: src/main/java/hudson/plugins/deploy/jboss/JBoss3xAdapter.java src/main/java/hudson/plugins/deploy/jboss/JBoss4xAdapter.java src/main/java/hudson/plugins/deploy/jboss/JBoss5xAdapter.java src/main/java/hudson/plugins/deploy/jboss/JBoss6xAdapter.java src/main/java/hudson/plugins/deploy/jboss/JBoss7xAdapter.java http://jenkins-ci.org/commit/deploy-plugin/b600c81fc0b1c2f257a8c4270c1a429d4d0798ba Log: [FIXED JENKINS-19256] add support for JBoss 6 and add "AS" to display names
          Hide
          romanp Roman Pickl added a comment -

          This does not work for me on JBoss 7.x
          see the discussion at https://groups.google.com/forum/#!topic/jenkinsci-users/9Ghwuwdebxw

          can you take a look?

          Show
          romanp Roman Pickl added a comment - This does not work for me on JBoss 7.x see the discussion at https://groups.google.com/forum/#!topic/jenkinsci-users/9Ghwuwdebxw can you take a look?
          Hide
          dp80 Dhiren p added a comment -

          I am using jenkins 1.586 and deploy plugin 1.10 to deploy to jboss 6.1.1GA.

          Observing same issue with jboss 6 version as well.

          org.codehaus.cargo.container.ContainerException: Failed to create deployer with implementation class org.codehaus.cargo.container.jboss.JBoss51xRemoteDeployer for the para                                                                  meters (container [id = [jboss6x]], deployer type [remote]).
                  at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:154)
                  at org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation(AbstractIntrospectionGenericHintFactory.java:93)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:141)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:161)
                  at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:61)
                  at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116)
                  at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103)
                  at hudson.FilePath.act(FilePath.java:919)
                  at hudson.FilePath.act(FilePath.java:897)
                  at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103)
                  at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61)
                  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
                  at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
                  at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
                  at hudson.model.Build$BuildExecution.post2(Build.java:183)
                  at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
                  at hudson.model.Run.execute(Run.java:1784)
                  at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
                  at hudson.model.ResourceController.execute(ResourceController.java:89)
                  at hudson.model.Executor.run(Executor.java:240)
          Caused by: java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:220)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:43)
                  at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:150)
                  ... 19 more
          Caused by: org.codehaus.cargo.util.CargoException: Cannot locate the JBoss connector classes! Make sure the required JBoss JARs (or Maven dependencies) are in CARGO's clas                                                                  spath.
          More information on: http://cargo.codehaus.org/JBoss+Remote+Deployer
                  at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:161)
                  at org.codehaus.cargo.container.jboss.JBoss51xRemoteDeployer.<init>(JBoss51xRemoteDeployer.java:41)
                  ... 26 more
          Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
                  at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
                  at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
                  at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
                  at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:156)
                  ... 27 more
          java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:220)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:43)
                  at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:150)
                  at org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation(AbstractIntrospectionGenericHintFactory.java:93)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:141)
                  at org.codehaus.cargo.generic.deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:161)
                  at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:61)
                  at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116)
                  at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103)
                  at hudson.FilePath.act(FilePath.java:919)
                  at hudson.FilePath.act(FilePath.java:897)
                  at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103)
                  at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61)
                  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
                  at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
                  at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
                  at hudson.model.Build$BuildExecution.post2(Build.java:183)
                  at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
                  at hudson.model.Run.execute(Run.java:1784)
                  at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
                  at hudson.model.ResourceController.execute(ResourceController.java:89)
                  at hudson.model.Executor.run(Executor.java:240)
          Caused by: org.codehaus.cargo.util.CargoException: Cannot locate the JBoss connector classes! Make sure the required JBoss JARs (or Maven dependencies) are in CARGO's clas                                                                  spath.
          More information on: http://cargo.codehaus.org/JBoss+Remote+Deployer
                  at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:161)
                  at org.codehaus.cargo.container.jboss.JBoss51xRemoteDeployer.<init>(JBoss51xRemoteDeployer.java:41)
                  ... 26 more
          Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
                  at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
                  at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
                  at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
                  at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:156)
                  ... 27 more
          Jun 2, 2015 7:52:31 AM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted
          
          
          Show
          dp80 Dhiren p added a comment - I am using jenkins 1.586 and deploy plugin 1.10 to deploy to jboss 6.1.1GA. Observing same issue with jboss 6 version as well. org.codehaus.cargo.container.ContainerException: Failed to create deployer with implementation class org.codehaus.cargo.container.jboss.JBoss51xRemoteDeployer for the para meters (container [id = [jboss6x]], deployer type [remote]). at org.codehaus.cargo. generic .spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:154) at org.codehaus.cargo. generic .spi.AbstractIntrospectionGenericHintFactory.createImplementation(AbstractIntrospectionGenericHintFactory.java:93) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:141) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:161) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:61) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103) at hudson.FilePath.act(FilePath.java:919) at hudson.FilePath.act(FilePath.java:897) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:220) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:43) at org.codehaus.cargo. generic .spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:150) ... 19 more Caused by: org.codehaus.cargo.util.CargoException: Cannot locate the JBoss connector classes! Make sure the required JBoss JARs (or Maven dependencies) are in CARGO's clas spath. More information on: http: //cargo.codehaus.org/JBoss+Remote+Deployer at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:161) at org.codehaus.cargo.container.jboss.JBoss51xRemoteDeployer.<init>(JBoss51xRemoteDeployer.java:41) ... 26 more Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang. ClassLoader .loadClass( ClassLoader .java:268) at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:156) ... 27 more java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:220) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createInstance(DefaultDeployerFactory.java:43) at org.codehaus.cargo. generic .spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:150) at org.codehaus.cargo. generic .spi.AbstractIntrospectionGenericHintFactory.createImplementation(AbstractIntrospectionGenericHintFactory.java:93) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:141) at org.codehaus.cargo. generic .deployer.DefaultDeployerFactory.createDeployer(DefaultDeployerFactory.java:161) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:61) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103) at hudson.FilePath.act(FilePath.java:919) at hudson.FilePath.act(FilePath.java:897) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: org.codehaus.cargo.util.CargoException: Cannot locate the JBoss connector classes! Make sure the required JBoss JARs (or Maven dependencies) are in CARGO's clas spath. More information on: http: //cargo.codehaus.org/JBoss+Remote+Deployer at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:161) at org.codehaus.cargo.container.jboss.JBoss51xRemoteDeployer.<init>(JBoss51xRemoteDeployer.java:41) ... 26 more Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang. ClassLoader .loadClass( ClassLoader .java:268) at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:156) ... 27 more Jun 2, 2015 7:52:31 AM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted
          Hide
          jansohn Robin Jansohn added a comment -

          Is this still an issue with the latest version 1.13?

          Show
          jansohn Robin Jansohn added a comment - Is this still an issue with the latest version 1.13?

            People

            Assignee:
            rdohna Rüdiger zu Dohna
            Reporter:
            rdohna Rüdiger zu Dohna
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated: