[JIRA] [websphere-deployer-plugin] (JENKINS-33216) Unable to Connect to WebSphere 8.5 using Jenkins WebSphere Deployer Plugin

123 views
Skip to first unread message

my.mahesh@tcs.com (JIRA)

unread,
Feb 29, 2016, 9:49:02 AM2/29/16
to jenkinsc...@googlegroups.com
MAhesh M Y created an issue
 
Jenkins / Bug JENKINS-33216
Unable to Connect to WebSphere 8.5 using Jenkins WebSphere Deployer Plugin
Issue Type: Bug Bug
Assignee: Unassigned
Components: websphere-deployer-plugin
Created: 29/Feb/16 2:48 PM
Environment: Jenkins Version : 1.621
Plugin Version : 1.4.0-SNAPSHOT (private-5c65db68-gpeters)
Was Env : Websphere 8.5
Priority: Blocker Blocker
Reporter: MAhesh M Y

Hi,

When configuring my Jenkins Master instance using WebSphere Deployer plugin to access the remote Webphere 8.5 instance, i have an issue making the successful connection.

Jenkins Core is running on Oracle 1.8.0 and have all the required IBM jars placed in the websphere-deployer/WEB-INF/lib folder of Jenkins.

Have followed the steps explained in https://wiki.jenkins-ci.org/display/JENKINS/IBM+WebSphere+Configuration to download and install the certs on the JVM on which Jenkins is running.

Have also added the Server Certificate to DummyClientTrustFile.jks.

Remote WebSphere instance is reachable through the ping.
Have followed all the steps explained in https://issues.jenkins-ci.org/browse/JENKINS-29841.

However i still have the issue of making a connection successfully using Test Connection option. Below is the error. Can you please be able to help us.

Connecting to IBM WebSphere Application Server...
Error deploying to IBM WebSphere Application Server: com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host iehibu62 at port 21003.
at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:635)
at com.ibm.websphere.management.AdminClientFactory.access$000(AdminClientFactory.java:127)
at com.ibm.websphere.management.AdminClientFactory$1.run(AdminClientFactory.java:210)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:206)
at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.connect(WebSphereDeploymentService.java:420)
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:184)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
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:381)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:457)
... 15 more
Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext); targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:429)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:228)
... 20 more
Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext); targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:475)
at org.apache.soap.rpc.Call.WASinvoke(Call.java:510)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:387)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:372)
... 21 more

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

Thank you.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

gregpeters00@gmail.com (JIRA)

unread,
Sep 28, 2016, 12:45:01 PM9/28/16
to jenkinsc...@googlegroups.com
Greg Peters closed an issue as Not A Defect
 

NoSuchAlgorithmException seems to be related to a SSL/TLS security regarding WebSphere. This is likely not an issue with the WDP.

Change By: Greg Peters
Status: Open Closed
Resolution: Not A Defect
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages