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

Unable to deploy application in IBM WAS using Websphere Deployer plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None

      Getting the following error while trying to install application to WAS using the plugin. I have added all certificates as directed by the creators. My test connection from Jenkins to WAS console is showing successful, I am able to get all the details (cell,node,server) from the plugin page, but for some reason in the final step while deploying the artifact i am getting the failure message. Any help will be greatly appreciated as this is now a major blocker for me, please. Thank You.
      Started by user unknown or anonymous
      Running as SYSTEM
      Building in workspace C:\Users\paulp\.jenkins\workspace\WAS_Deploy_test
      Connecting to IBM WebSphere Application Server...
      The following artifacts will be deployed in this order...
      -------------------------------------------
      C:\Users\paulp\.jenkins\workspace\WAS_Deploy_test\helloworld.war Last modified on Sep 27, 2022 10:55:18
      -------------------------------------------
      Generating EAR For Artifact: helloworld_war
      Artifact is being deployed to virtual host: default_host
      Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'helloworld_war' is installed: General Exception:
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:477)
      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:47)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:765)
      at hudson.model.Build$BuildExecution.post2(Build.java:179)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:709)
      at hudson.model.Run.execute(Run.java:1924)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
      at hudson.model.ResourceController.execute(ResourceController.java:107)
      at hudson.model.Executor.run(Executor.java:449)

      Performing rollback of 'helloworld_war'
      WARNING: Artifact doesn't exist rollback repository
      Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
      Finished: FAILURE

            Unassigned Unassigned
            paulp pritam paul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: