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

Deploy Plugin Fails in WebSphere 7.0

    Details

    • Similar Issues:

      Description

      How can I fix it?

      1:22:09 Connecting to IBM WebSphere Application Server...
      11:22:13 The following artifacts will be deployed in this order...
      11:22:13 -------------------------------------------
      11:22:13 /var/lib/jenkins/workspace/ods/deploy-to-dev/target/ods-account-ear-4.0.4.ear Last modified on Jun 28, 2018 11:22:09
      11:22:13 -------------------------------------------
      11:22:13 Artifact is being deployed to virtual host: default_host
      11:22:13 Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'ods-account-ear' is installed: General Exception: 
      11:22:13 at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:477)
      11:22:13 at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:409)
      11:22:13 at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:245)
      11:22:13 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      11:22:13 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
      11:22:13 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676)
      11:22:13 at hudson.model.Build$BuildExecution.post2(Build.java:186)
      11:22:13 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:621)
      11:22:13 at hudson.model.Run.execute(Run.java:1760)
      11:22:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      11:22:13 at hudson.model.ResourceController.execute(ResourceController.java:97)
      11:22:13 at hudson.model.Executor.run(Executor.java:405)
      11:22:13 
      11:22:13 Performing rollback of 'ods-account-ear'
      11:22:13 WARNING: Artifact doesn't exist rollback repository
      11:22:13 Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
      11:22:13 Finished: FAILUREod
      

      In the Jenkins logs I found such an error:

      INFO: Client code attempting to load security configuration
      com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is java.lang.IncompatibleClassChangeError: Implementing class]
      at com.ibm.websphere.management.application.AppManagementFactory.handleException(AppManagementFactory.java:680)
      at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:143)
      at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:93)
      at com.ibm.websphere.management.application.client.AppDeploymentController.readArchive(AppDeploymentController.java:251)
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.buildDeploymentPreferences(WebSphereDeploymentService.java:273)
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:468)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:409)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:245)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:621)
      at hudson.model.Run.execute(Run.java:1760)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)
      Caused by: java.lang.IncompatibleClassChangeError: Implementing class
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1140)
      at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:884)
      at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1311)
      at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1364)
      at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327)
      at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1140)
      at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:884)
      at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1311)
      at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1364)
      at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327)
      at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.EjbJar30NoDDImportStrategyImpl$EjbJar30NoDDDiscriminator.hasContent(EjbJar30NoDDImportStrategyImpl.java:265)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.EjbJar30NoDDImportStrategyImpl$EjbJar30NoDDDiscriminator.canImport(EjbJar30NoDDImportStrategyImpl.java:126)
      

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              gpeters Greg Peters
              Reporter:
              scrappcio Maciej Scrappcio
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: