• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None

      Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

       

      Running the Jenkins service under the IBM JDK 6 results in a StackOverflowError and crashing of the Jenkins service:

      ...
      Connecting to IBM WebSphere Application Server...
      FATAL: null
      java.lang.StackOverflowError
      at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
      ...

      Running the Jenkins service under:

      Oracle JDK 1.8, IBM JDK 1.8, and Oracle JDK 1.6

      results in it getting slightly farther, acknowledging the EAR file to deploy and not resulting in a StackOverFlowError: 

      ...
      Connecting to IBM WebSphere Application Server...
      The following artifacts will be deployed in this order...
      -------------------------------------------
      ProjectEar_201804171129AM.ear
      -------------------------------------------
      Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.getAppName(WebSphereDeploymentService.java:193)
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.getAppName(WebSphereDeploymentService.java:169)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.getAppName(WebSphereDeployerPlugin.java:318)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.createArtifact(WebSphereDeployerPlugin.java:275)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:197)
      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:1783)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      Caused by: com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is java.lang.IncompatibleClassChangeError: Implementing class]
      ...

      These excerpts are from the Jenkins GUI log. I've attached the console output of these, they have a few more details.

       

      As a note I've changed the projects runtime JDK of both Jenkins to IBM JDK6 and 8, Oracle JDK 6, 7, and 8. It doesn't seem to make a difference.

       

      As I read in the troubleshooting guide Jenkins runs the plugin based off the services JDK, which is what it appears to be doing. However using Oracle and IBM JDK 6 doesn't work either.

       

      Any ideas where I can go from here? Thanks.

       

       

          [JENKINS-50769] Deploying EAR to WAS 7 Issue with JDK

          Andrew Closs created issue -
          Andrew Closs made changes -
          Description Original: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           

          Running Jenkins service under the IBM JDK (with either JDK for the project itself) results in a StackOverflowError:
          ...
          BUILD SUCCESSFUL
          Total time: 1 minute 2 seconds
          HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
          Connecting to IBM WebSphere Application Server...
          FATAL: null
          [java.lang.StackOverflowError
          |http://stacktrace.jenkins-ci.org/search?query=java.lang.StackOverflowError]
          at
          [java.lang.ClassLoader.loadClass(ClassLoader.java:668)
          .|http://stacktrace.jenkins-ci.org/search/?query=java.lang.ClassLoader.loadClass&entity=method]
          ..
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          ...
          BUILD SUCCESSFUL
          Total time: 1 minute 38 seconds
          HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
          Connecting to IBM WebSphere Application Server...
          The following artifacts will be deployed in this order...
          -------------------------------------------
          CoreFT1819Ear_201804121146AM.ear
          -------------------------------------------
          Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
          ...
          See attached for the full log.

           

           
          New: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           
          {quote}{{Running Jenkins service under the IBM JDK (with either JDK for the project itself) results in a StackOverflowError:}}
          {{ ...}}
          {{ BUILD SUCCESSFUL}}
          {{ Total time: 1 minute 2 seconds}}
          {{ HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576}}
          {{ Connecting to IBM WebSphere Application Server...}}
          {{ FATAL: null}}
          {{ [java.lang.StackOverflowError}}
          |http://stacktrace.jenkins-ci.org/search?query=java.lang.StackOverflowError]
           at
           [java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           .|http://stacktrace.jenkins-ci.org/search/?query=java.lang.ClassLoader.loadClass&entity=method]
           ..
           It also breaks the Jenkins service instance and requires a restart of the service to be usable again.|
          {{ }}{quote}
          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
           ...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           CoreFT1819Ear_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
           See attached for the full log.

           

           
          Andrew Closs made changes -
          Description Original: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           
          {quote}{{Running Jenkins service under the IBM JDK (with either JDK for the project itself) results in a StackOverflowError:}}
          {{ ...}}
          {{ BUILD SUCCESSFUL}}
          {{ Total time: 1 minute 2 seconds}}
          {{ HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576}}
          {{ Connecting to IBM WebSphere Application Server...}}
          {{ FATAL: null}}
          {{ [java.lang.StackOverflowError}}
          |http://stacktrace.jenkins-ci.org/search?query=java.lang.StackOverflowError]
           at
           [java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           .|http://stacktrace.jenkins-ci.org/search/?query=java.lang.ClassLoader.loadClass&entity=method]
           ..
           It also breaks the Jenkins service instance and requires a restart of the service to be usable again.|
          {{ }}{quote}
          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
           ...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           CoreFT1819Ear_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
           See attached for the full log.

           

           
          New: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.
          {quote}...
          BUILD SUCCESSFUL
          Total time: 1 minute 2 seconds
          HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
          Connecting to IBM WebSphere Application Server...
          FATAL: null
          java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
          ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           CoreFT1819Ear_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          Andrew Closs made changes -
          Description Original: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.
          {quote}...
          BUILD SUCCESSFUL
          Total time: 1 minute 2 seconds
          HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
          Connecting to IBM WebSphere Application Server...
          FATAL: null
          java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
          ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           CoreFT1819Ear_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          New: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
          ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          Andrew Closs made changes -
          Attachment Original: Jenkins WebSphere error log.txt [ 42151 ]
          Andrew Closs made changes -
          Attachment New: Jenkins WebSphere error log.txt [ 42152 ]
          Andrew Closs made changes -
          Description Original: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
          ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          New: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           


          Running Jenkins service under the IBM JDK with either JDK for the project itself results in a StackOverflowError:
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          Andrew Closs made changes -
          Description Original: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           


          Running Jenkins service under the IBM JDK with either JDK for the project itself results in a StackOverflowError:
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          New: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           

          Running Jenkins service under the IBM JDK (with either JDK for the project itself) results in a StackOverflowError:
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          Andrew Closs made changes -
          Description Original: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           

          Running Jenkins service under the IBM JDK (with either JDK for the project itself) results in a StackOverflowError:
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          It also breaks the Jenkins service instance and requires a restart of the service to be usable again.

           

          Running Jenkins service under JDK 1.8 (with either JDK for the project itself) results in it getting slightly farther, acknowledging the EAR file to deploy: 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          New: Hello, I'm having an issue deploying an EAR file to WebSphere and I think it's related to the JDK.

           

          Running the Jenkins service under the IBM JDK 6 results in a StackOverflowError and crashing of the Jenkins service:
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 2 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           FATAL: null
           java.lang.StackOverflowError
           at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
           ...
          {quote}
          Running the Jenkins service under Oracle JDK 1.8 results in it getting slightly farther, acknowledging the EAR file to deploy : 
          {quote}...
           BUILD SUCCESSFUL
           Total time: 1 minute 38 seconds
           HeadlessWorkspaceSettings: RESTORED autoBuild=true maxFile=1048576
           Connecting to IBM WebSphere Application Server...
           The following artifacts will be deployed in this order...
           -------------------------------------------
           ProjectEAR_201804121146AM.ear
           -------------------------------------------
           Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:
           ...
          {quote}
          See attached for the full log.

           

          Any ideas where I can go from here? Thanks.

           

           
          Andrew Closs made changes -
          Environment Original: Jenkins ver. 1.596.3
          WebSphere Deployer plugin version: 1.3.4

          WebSphere version: 7.0.0.43
          JDK versions:
              JRE 1.6.0 IBM J9 2.4 Windows 8 amd64-64 jvmwa6460sr16fp40-20161215_329869 (JIT enabled, AOT enabled)
              Java(TM) SE Runtime Environment 1.8.0_141
          New: Two version stacks:

          first:
              Jenkins ver. 1.596.3
              WebSphere Deployer plugin version: 1.3.4
              WebSphere version: 7.0.0.43
              JRE 1.6.0 IBM J9 2.4 Windows 8 amd64-64 jvmwa6460sr16fp40-20161215_329869 (JIT enabled, AOT enabled)

          second:
              Jenkins ver. 2.107.2
              WebSphere version: 7.0.0.43
              Java(TM) SE Runtime Environment 1.8.0_141

            gpeters Greg Peters
            chame Andrew Closs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: