BufferOverflowExeceptin when doing FTP put of large file from IS

I am running IS 6.1 with Java 1.4.2, configured with maximum memory allocation at 2000M.

The IS is acting as an FTP server, and recieves a 50mb binary file when an FTP client logs on to its FTP port. The same flow service being executed from the FTP ‘put’ then invokes the IS ftp flow services (now acting as an FTP client), to do an FTP put to yet another server. ( There are no operations beging performed on the file … just passing it along to other remote servers).

I have confirmed that the IS recieves the file into memory, and gets to the point of successfully logging on to a remote server, and is in the process of doing the FTP ‘put’ when the error occurs.

The service flow being executed is configured as a ‘stateless’ flow. (The error also occurs when it is ‘stateful’).

(I have also tried splitting the work off by invoking the ftp put operation as a separate thread using the doThreadInvoke API, and get the same error).

The FTP client that does the original ‘put’ to the IS, recieves the following error message: 550 [ISS.0071.9014] Server Error.

The Integration Platform Error Message Refrence document does not have an entry for this.

Is there some limitation on the Integration Servers ability to do FTP puts of large file sizes?

Thanks in advance for any insight you can give.

Below is the error call stack from the server error log:

java.nio.BufferOverflowException
at java.nio.charset.CoderResult.throwException(CoderResult.java:259)
at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:188)
at java.lang.StringCoding.decode(StringCoding.java:224)
at java.lang.String.(String.java:320)
at java.lang.String.(String.java:346)
at com.wm.app.b2b.server.CGIBinCoder.doEncode(CGIBinCoder.java:254)
at com.wm.app.b2b.server.CGIBinCoder.doEncode(CGIBinCoder.java:245)
at com.wm.app.b2b.server.CGIBinCoder.encode(CGIBinCoder.java:73)
at com.wm.app.b2b.server.ContentHandler_CGI.putOutputValues(ContentHandler_CGI.java:128)
at com.wm.app.b2b.server.ContentHandler_Default.putOutputValues(ContentHandler_Default.java:64)
at wm.server.net.FTPTransaction.write(FTPTransaction.java:246)
at wm.server.net.FTPDConnection.STOR(FTPDConnection.java:755)
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:324)
at wm.server.net.FTPDConnection.run(FTPDConnection.java:404)
at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534)