B2B 5.1.1 using the BatchFTP transport: javax.resource.spi.ResourceAllocationException: Error in allocating a connection (Doc ID 1025668.1)

Last updated on MAY 02, 2017

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Microsoft Windows (32-bit)
Checked for relevance on 13-Oct-2011
***Checked for relevance on 22-August-2013***

Symptoms

Running B2B X12 using the Batch FTP gets the following error:

<exstd:ErrorDescription>Exception caught when initializing BatchFtp OTD from an OTD proxy, e=Failed to create an ApplicationConnection; Exception : javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Failed to initialize the EwayConnection instance of type com.stc.connector.batchadapter.eway.ftp.BatchFTPEwayConnection; Exception : javax.resource.ResourceException: Batch FTP eWay connection initialization failed, message=[Batch FTP eWay connection failed, method=[connect()], message=[Batch FTP eWay connection failed, method=[open()], message=[FtpFileClientImpl.open(): connect() got exception - [java.net.ConnectException: Connection refused: connect].].Nested exception follows: ---
com.stc.eways.batchext.FtpFileException: FtpFileClientImpl.open(): connect() got exception - [java.net.ConnectException: Connection refused: connect].--- End of nested exception.
].Nested exception follows: ---
com.stc.eways.batchext.FtpFileException: Batch FTP eWay connection failed, method=[open()], message=[FtpFileClientImpl.open(): connect() got exception - [java.net.ConnectException: Connection refused: connect].].Nested exception follows: ---
com.stc.eways.batchext.FtpFileException: FtpFileClientImpl.open(): connect() got exception - [java.net.ConnectException: Connection refused: connect].--- End of nested exception.
--- End of nested exception.
].</exstd:ErrorDescription>

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