CICS Adapter Not Working When Using Secured SSL Connections (Doc ID 1399441.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version: R6.2 and later   [Release: 6.0 and later ]
Information in this document applies to any platform.

Symptoms

Using the Java CAPS 6.2 CICS Adapter to connect to a CICS application through the CICS Transaction Gateway (CTG) works fine when connection is not secured.

When the connection is then secured by importing the relevant certificates and by configuring the relevant parameters inside the Java CAPS CICS external system configuration, the CICS Adapter raises an exception at runtime:

[#|2011-12-22T09:28:12.527+0000|INFO|sun-appserver2.1|STC.eWay.CICS.com.stc.connector.cicsadapter.eway.CICSEwayConnection|_ThreadID=68;_ThreadName=httpSSLWorkerThread-8181-0;|Failed to connect to the CICS external system on connect attempt [1]
com.stc.eways.cics.CicsClientException: CTG6672E One or more of the SSL protocol properties have not been defined
at com.stc.eways.cics.CTGCicsClientImpl.connect(CTGCicsClientImpl.java:176)
at com.stc.connector.cicsadapter.eway.CICSEwayConnection.connectToCICSExternal(CICSEwayConnection.java:394)
at com.stc.connector.cicsadapter.eway.CICSEwayConnection.initialize(CICSEwayConnection.java:250)
at com.stc.connector.framework.jca.system.STCManagedConnection.<init>(STCManagedConnection.java:140)
at com.stc.connector.cicsadapter.eway.CICSManagedConnection.<init>(CICSManagedConnection.java:30)
at com.stc.connector.cicsadapter.system.CICSETDManagedConnectionFactory.createManagedConnectionInternal(CICSETDManagedConnectionFactory.java:38)
at com.stc.connector.framework.jca.system.STCManagedConnectionFactory.createManagedConnection(STCManagedConnectionFactory.java:299)
at com.sun.enterprise.resource.NoTxConnectorAllocator.createResource(NoTxConnectorAllocator.java:115)
at com.sun.enterprise.resource.AbstractResourcePool.createResource(AbstractResourcePool.java:935)
at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:911)
at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1833)
at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:977)
at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResourcePool.java:226)
at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:529)
at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:456)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:313)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
at com.stc.connector.framework.client.appconn.STCApplicationConnectionFactory.getConnection(STCApplicationConnectionFactory.java:128)
at com.stc.connector.framework.client.appconn.STCApplicationConnectionFactory.getConnection(STCApplicationConnectionFactory.java:103)
at com.stc.eways.cics.CicsClientAdapter.getCicsClientExtApplication(CicsClientAdapter.java:2047)
at com.stc.eways.cics.CicsClientAdapter.checkConnection(CicsClientAdapter.java:2035)
at com.stc.eways.cics.CicsClientAdapter.execute(CicsClientAdapter.java:1078)
at prjAvailableToSpend.jcdAvailableToSpend.opAvailableToSpend(prjAvailableToSpend.jcdAvailableToSpend:56)
at prjAvailableToSpend.cmAvailableToSpend_jcdAvailableToSpend1.jcdAvailableToSpend_Runtime_Handler.handleRequest(prjAvailableToSpend.cmAvailableToSpend_jcdAvailableToSpend1.jcdAvailableToSpend_Runtime_Handler:381)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2928)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4019)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:134)
at $Proxy172.handleRequest(Unknown Source)
at com.stc.wsserver.runtime.impl.JCDWSServerServiceImpl.handleRequest(JCDWSServerServiceImpl.java:250)
at com.stc.wsserver.runtime.impl.AbstractServiceEndpoint.callHandleRequest(AbstractServiceEndpoint.java:871)
at com.stc.wsserver.runtime.impl.AbstractServiceEndpoint.processRequest(AbstractServiceEndpoint.java:589)
at com.stc.wsserver.runtime.impl.AbstractServiceEndpoint.handleSoapRequest(AbstractServiceEndpoint.java:345)
at tp1.ExecutePortType_Impl.opAvailableToSpend(ExecutePortType_Impl.java:61)
at tp1.ExecutePortType_Tie.invoke_opAvailableToSpend(ExecutePortType_Tie.java:68)
at tp1.ExecutePortType_Tie.processingHook(ExecutePortType_Tie.java:145)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:350)
at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:465)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]

Changes

This issue occurs after configuring the CICS Adapter to use a secure (SSL) connection.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms