com.stc.codegen.framework.runtime.ServiceTerminationException (Doc ID 1508396.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS - Version 5.1.3 to 5.1.3 [Release 5.1]
Information in this document applies to any platform.

Symptoms

 The following exception is logged when commiting an SFTP transaction. The file is getting transfered to the sftp destination, but at the end of the service it throws the error:

[#|2012-11-07T10:59:17.285+0530|SEVERE|IS5.1.3|DeployServices.svcGIFCOMAS2FileTransfer.jcdGIFCOMAS2FileTransfer_Runtime_Handler|_ThreadID=75; ThreadName=JMS Async S3028; Context=dpGIFCOMAS2FGIFCOMAS2Dep488489645/queFileTransfer_svcGIFCOMAS2FileTransfer_ejb;|com.stc.codegen.framework.runtime.ServiceTerminationException: ApplicationConnection is NULL when attempting to close it.
com.stc.codegen.framework.runtime.ServiceTerminationException: ApplicationConnection is NULL when attempting to close it.
at com.stc.connector.codegen.batcheway.BatchRuntimeHandler.terminateService(BatchRuntimeHandler.java:548)
at DeployServices.svcGIFCOMAS2FileTransfer.jcdGIFCOMAS2FileTransfer_Runtime_Handler.handleRequest(DeployServices.svcGIFCOMAS2FileTransfer.jcdGIFCOMAS2FileTransfer_Runtime_Handler:443)
at sun.reflect.GeneratedMethodAccessor875.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)
at $Proxy207.handleRequest(Unknown Source)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.sendMessage(JMSEndPointListener.java:310)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onContents(JMSEndPointListener.java:110)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onMessage(JMSEndPointListener.java:157)
at sun.reflect.GeneratedMethodAccessor786.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java

 

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