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

0 views
Skip to first unread message

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:06:02 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs created an issue
 
Jenkins / Bug JENKINS-50769
Deploying EAR to WAS 7 Issue with JDK
Issue Type: Bug Bug
Assignee: Greg Peters
Attachments: Jenkins WebSphere error log.txt
Components: websphere-deployer-plugin
Created: 2018-04-12 16:05
Environment: 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
Priority: Blocker Blocker
Reporter: Andrew Closs

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.

 

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:07:02 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
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.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:09:02 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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

[ at java.lang.ClassLoader.loadClass(ClassLoader.java:668)
.
|http://stacktrace . jenkins-ci . org/search/?query=java.lang.ClassLoader.loadClass&entity=method]
.. {quote}
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: 
{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.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:10:32 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Attachment: Jenkins WebSphere error log.txt

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:10:33 PM4/12/18
to jenkinsc...@googlegroups.com

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:10:58 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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 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.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 12:11:02 PM4/12/18
to jenkinsc...@googlegroups.com

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 1:29:02 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 12, 2018, 1:30:03 PM4/12/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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:

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:48:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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 (with either JDK for the project itself) 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}
It also breaks Running the Jenkins service instance and requires a restart of the service to be usable again.

 

Running Jenkins service
under Oracle 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.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:53:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Environment: Two version stacks:

first:
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)

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

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:56:01 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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 These are excerpts from the full Jenkins GUI log. I've attached the console output of these two, they have a few more details.

 

As a note I've changed the projects 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 the same JDK as my WebSphere doesn't work either.

 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:57:01 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Attachment: Jenkins WebSphere error log.txt

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:57:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
These are excerpts from the Jenkins GUI log. I've attached the console output of these two, 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 the same JDK as my WebSphere doesn't work either.

 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:58:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Attachment: deploy to websphere - failure - IBM JDK 6.txt
Attachment: deploy to websphere - failure - IBM JDK 8.txt

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:00:03 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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 and IBM 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}
These are excerpts from the Jenkins GUI log. I've attached the console output of these two, 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 the same JDK as my WebSphere doesn't work either.

 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:00:04 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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 IBM 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}
These are excerpts from the Jenkins GUI log. I've attached the console output of these two, 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 the same JDK as my WebSphere doesn't work either.

 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:17:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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, 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: 

{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}
These are excerpts from the Jenkins GUI log. I've attached the console output of these two , 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 the same JDK as my WebSphere doesn't work either.

 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:17:03 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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 and 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

{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}
These are excerpts from the Jenkins GUI log. I've attached the console output of these two, 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 the same JDK as my WebSphere doesn't work either.

 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:18:01 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Attachment: deploy to websphere - failure - JDK 6.txt

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:18:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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, 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: 
{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}
These are excerpts 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 the same Oracle and IBM JDK as my WebSphere 6 doesn't work either.


 

Any ideas where I can go from here? Thanks.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:25:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Attachment: deploy to websphere - failure - JDK 6.txt

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:25:02 PM4/17/18
to jenkinsc...@googlegroups.com

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:26:02 PM4/17/18
to jenkinsc...@googlegroups.com

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:26:02 PM4/17/18
to jenkinsc...@googlegroups.com

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:32:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
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, 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: 
{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 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]
...
{quote}
These
are 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.

 

 

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:35:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Environment:
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)
    AND
    Java(TM) SE Runtime Environment 1.6.0_45-b06

second:
    Jenkins ver. 2.107.2
    WebSphere
Deployer plugin version: 1.3.4
    WebSphere version:
7.0.0.43

    Java(TM) SE Runtime Environment 1.8.0_141

andrewcloss@gmail.com (JIRA)

unread,
Apr 17, 2018, 3:35:02 PM4/17/18
to jenkinsc...@googlegroups.com
Andrew Closs updated an issue
Change By: Andrew Closs
Environment:
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)
    AND
    Java(TM) SE Runtime Environment 1.6.0_45-b06

second:
    Jenkins ver. 2.107.2

    WebSphere version: 7.0.0.43
    Java(TM) SE Runtime Environment 1.8.0_141

gregpeters00@gmail.com (JIRA)

unread,
Apr 17, 2018, 8:24:02 PM4/17/18
to jenkinsc...@googlegroups.com
Greg Peters commented on Bug JENKINS-50769
 
Re: Deploying EAR to WAS 7 Issue with JDK

1) Is WAS v7 using the standard IBM JRE that's installed with WAS?
2) I believe JDK 1.6 and WAS v7 .jar files the correct versions you need to deploy to WAS v7. Where JDK 1.6 is running Jenkins and the admin.jar and orb.jar files are copied directly from the WAS v7 server into the plugin classpath as outline in the Plugin documentation site.

gregpeters00@gmail.com (JIRA)

unread,
Apr 24, 2018, 11:50:02 PM4/24/18
to jenkinsc...@googlegroups.com
Greg Peters resolved as Duplicate
 

StackOverflow is duplicate and is related to using IBM JRE. The other issues are related to deploying to WebSphere with a mismatched version of Oracle JRE. If this server if WAS v7, sometimes WebSphere uses Java 1.5. Incompatible class errors are caused by the aforementioned issue

Change By: Greg Peters
Status: Open Resolved
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages