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

Application starting issue websphere application server 8.5 after deployment Jenkins

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    •  IBM WAS 8.5.5,
      Jenkins 1.6

      am using Jenkins websphere deployer plugin to deploy application to IBM WAS 8.5.5. The ear deployment is successful but the start up is not successful though Jenkins shows success message.

      I assume the ear (around 90MB) takes time for expansion in the remote server, and Jenkins success message is before the complete expansion. Is there a way to delay the process of startup after deployment is done.

      Can anyone suggest?

        1. Dev.png
          Dev.png
          47 kB
        2. Verbose.txt
          15 kB
        3. websphere-deployer.hpi
          306 kB

          [JENKINS-29725] Application starting issue websphere application server 8.5 after deployment Jenkins

          Greg Peters added a comment -

          Support has been added for "App_install_root"

          Greg Peters added a comment - Support has been added for "App_install_root"

          Greg Peters added a comment -

          Feel free to download v1.4.0 (beta) and test out the new features

          Greg Peters added a comment - Feel free to download v1.4.0 (beta) and test out the new features

          Ansuman Swain added a comment -

          That is awesome Greg. i will check with that and let you know in case of any issues/findings.

          Ansuman Swain added a comment - That is awesome Greg. i will check with that and let you know in case of any issues/findings.

          Ansuman Swain added a comment -

          Hi Greg,

          Hope you are doing good.
          My setup was working just fine till this morning. Now i am running through the below error. No changes from IBM was end. I am able to deploy the application manually without any issues.

          i have tried with install/reinstall as well as update options.

          Kindly share your input if you are familiar.

          The following artifacts will be deployed in this order...
          -------------------------------------------
          VDEV3_XXXXXXXEAR.ear
          -------------------------------------------
          Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'VDEV3_XXXXXXXEAR' is installed:
          at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:357)
          at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:243)
          at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:198)
          at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
          at hudson.model.Run.execute(Run.java:1766)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:374)

          Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE

          Ansuman Swain added a comment - Hi Greg, Hope you are doing good. My setup was working just fine till this morning. Now i am running through the below error. No changes from IBM was end. I am able to deploy the application manually without any issues. i have tried with install/reinstall as well as update options. Kindly share your input if you are familiar. The following artifacts will be deployed in this order... ------------------------------------------- VDEV3_XXXXXXXEAR.ear ------------------------------------------- Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'VDEV3_XXXXXXXEAR' is installed: at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:357) at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:243) at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:198) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE

          Greg Peters added a comment -

          ansuman, manually install the attached version and shoot me the verbose output so I can see exactly what's going on.

          Greg Peters added a comment - ansuman , manually install the attached version and shoot me the verbose output so I can see exactly what's going on.

          Ansuman Swain added a comment -

          hey Greg,

          The issue is resolved.

          I checked the jenkins error log. The error was during checkifAppExists method call. It was throwing access denied due to invalid credentials.

          Ansuman Swain added a comment - hey Greg, The issue is resolved. I checked the jenkins error log. The error was during checkifAppExists method call. It was throwing access denied due to invalid credentials.

          Greg Peters added a comment -

          Marked as closed

          Greg Peters added a comment - Marked as closed

          charan puthumbaka added a comment - - edited

          Hi , I do not see start application check box option in my jenkins jobs .....I am able to see other options like precompile JSP's JSP's reloading etc..from the below picture in the websphere deployment section.

           

          charan puthumbaka added a comment - - edited Hi , I do not see start application check box option in my jenkins jobs .....I am able to see other options like precompile JSP's JSP's reloading etc..from the below picture in the websphere deployment section.  

          Greg Peters added a comment -

          charan_123321 It's the 3rd option from the bottom.

          Greg Peters added a comment - charan_123321 It's the 3rd option from the bottom.

          gpeters we're using the latest version of the plugin (1.6.1), and that checkbox is not visible (the start application checkbox)

          Danilo Castilho added a comment - gpeters we're using the latest version of the plugin (1.6.1), and that checkbox is not visible (the start application checkbox)

            gpeters Greg Peters
            ansuman Ansuman Swain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: