SFTP Connection Issue: "com.maverick.ssh.SshException: 15 [java.lang.ArrayIndexOutOfBoundsException]"

(Doc ID 2262336.1)

Last updated on MAY 10, 2017

Applies to:

Oracle Service Bus - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

SFTP Connection unable to be established from OSB. The errors below are seen when the connection is tested: 

<Apr 27, 2017, 4:45:29,108 PM EET> <Warning> <Connector> <BEA-190032> << eis/sftp/test > ResourceAllocationException generated by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "BINDING.JCA-11447
Error in establishing a session with SSH Server..
Error in establishing a session with SSH Server..
Unable to establish a session with the server.
Please ensure hostname and port specified to login to the server are correct.
">
<Apr 27, 2017, 4:45:29,756 PM EET> <Error> <oracle.soa.adapter.ftp> <BEA-000000> <Exception while setting up session
BINDING.JCA-11445
The SSH API threw an exception.
The SSH API threw an exception.
The SSH API threw an exception.
Maverick has not been setup properly. Please correct the setup.

at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.setUpPasswordSocketConnection(SSHSessionImpl.java:293)
at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:204)
at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:26)
at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:138)
at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:63)
at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:265)
at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:862)
...
Caused By: com.maverick.ssh.SshException: 15 [java.lang.ArrayIndexOutOfBoundsException]
at com.maverick.ssh.SshConnector.connect(Unknown Source)
at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.setUpPasswordSocketConnection(SSHSessionImpl.java:274)
at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:204)
at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:26)
at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:138)
at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:63)
at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:265)
at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:862)
...
Caused By: java.lang.ArrayIndexOutOfBoundsException: 15
at com.rsa.jcm.c.is.a(Unknown Source)
at com.rsa.jcm.c.is.a(Unknown Source)
at com.rsa.jcm.c.is.update(Unknown Source)
at com.rsa.cryptoj.c.ge.engineUpdate(Unknown Source)
at javax.crypto.Cipher.update(Cipher.java:1832)
at com.maverick.ssh.components.jce.AbstractJCECipher.transform(Unknown Source)
at com.maverick.ssh2.TransportProtocol.sendMessage(Unknown Source)
at com.maverick.ssh2.TransportProtocol.startService(Unknown Source)
at com.maverick.ssh2.AuthenticationProtocol.<init>(Unknown Source)
at com.maverick.ssh2.Ssh2Client.connect(Unknown Source)
at com.maverick.ssh.SshConnector.connect(Unknown Source)
...

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