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

Unable to deploy EAR to Websphere 9.0.0.8 using deployer plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins ver. 2.222.3, running directly Linux Server
      WebSphere ver. 9.0.0.8
      WebSphere Deployer Plugin ver. 1.6.1

      Hi

      We configured the Jenkins Deploy jobs to install/update EAR file on WebSphere Application Server.  we provide the DNS and credential ( user/password ) and the test Connection was successfully 

      But try to click 'Show Available Targets' , it shows "No server targets are configured in WebSphere". 

       

      we have this application server configured on WebSphere , but from Jenkins plugin , it shows "No server target are configured" 

       

      Below the is console log 

      --------------------------

       

      Connecting to IBM WebSphere Application Server...Connecting to IBM WebSphere Application Server...The following artifacts will be deployed in this order...------------------------------------------/opt/bitnami/jenkins/jenkins_home/workspace/<jobs_Path>/<EARFILE>.ear Last modified on Jun 03, 2020 10:21:06------------------------------------------Artifact is being deployed to virtual host: default_hostError deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact '<Application_Nanme>' is installed: AdminException: ADMA0089E: The AppManagement MBean is not found. at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:471) 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:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1881) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428)
      Performing rollback of '<Application_Nanme>'WARNING: Artifact doesn't exist rollback repositoryBuild step 'Deploy To IBM WebSphere Application Server' changed build result to FAILUREFinished: FAILURE

       

       

       

      As described on plugin install Steps, we copied the all required jars files ( same version from WebSphere runtime path) . As suggested on JENKINS-30593 we are running the jobs on Master node and not on slave node 

      we are unable to trace any error on Jenkins server other then console log 

       

        1. Snap1.png
          Snap1.png
          47 kB
        2. snap2.png
          snap2.png
          51 kB

            gpeters Greg Peters
            vijayakumarnatarajan Vijayakumar Natarajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: