0 Replies Latest reply on Mar 4, 2014 2:56 PM by 959294

    Large Payloads Not Picked by Oracle 11G B2B PS3 for FTP Protocol

    959294

      Hi ,

       

      We are facing an issue where in large Payloads Not Picked by Oracle 11G PS3

      Small size payloads are being processed without any issues.

      To process the large files we have done the floowing changes :

      1. We have increased the large payload size field in B2B UI under Administration->Configuration to 2 GB

      2. Increased the heap size in setSOADomainEnv.sh to DEFAULT_MEM_ARGS="-Xms1024m -Xmx2048m"

      3.Added the following line in setDomainEnv.sh to avoid ResourceDisabledException Error for large payload scenarios for the dehydration data source

      -Dweblogic.resourcepool.max_test_wait_secs=30

       

      We are trying to place a 1 gb file after setting large payload size to 2gb but messages are not being processed and can see below error in diagnostic logs :

       

      [2014-03-03T16:54:42.382+00:00] [managed1_adgssoat02] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1e1107dc] [userId: <anonymous>

      ] [ecid: a256b0787d7e6bdd:-58d712d0:144889b6608:-8000-0000000000000003,1:25672] [APP: soa-infra] java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 268435472[[

      at java.util.Arrays.copyOf(Arrays.java:2786)

      at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)

      at oracle.tip.b2b.transport.basic.ftp.FTPClient.getBinaryFile(FTPClient.java:830)

      at oracle.tip.b2b.transport.basic.ftp.FTPAgent.getBinaryFile(FTPAgent.java:318)

      at oracle.tip.b2b.transport.basic.ftp.FTPAgent.getContentsInBytes(FTPAgent.java:350)

      at oracle.tip.b2b.transport.basic.FileSource.getContents(FileSource.java:383)

      at oracle.tip.b2b.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:972)

      at oracle.tip.b2b.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:360)

      at oracle.tip.b2b.transport.basic.FileReceiver.init(FileReceiver.java:483)

      at oracle.tip.b2b.transport.b2b.B2BTransport.init(B2BTransport.java:577)

      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:210)

      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)

      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)

      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

      java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 268435472

      at java.util.Arrays.copyOf(Arrays.java:2786)

      at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)

      at oracle.tip.b2b.transport.basic.ftp.FTPClient.getBinaryFile(FTPClient.java:830)

      at oracle.tip.b2b.transport.basic.ftp.FTPAgent.getBinaryFile(FTPAgent.java:318)

      at oracle.tip.b2b.transport.basic.ftp.FTPAgent.getContentsInBytes(FTPAgent.java:350)

      at oracle.tip.b2b.transport.basic.FileSource.getContents(FileSource.java:383)

      at oracle.tip.b2b.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:972)

      at oracle.tip.b2b.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:360)

      at oracle.tip.b2b.transport.basic.FileReceiver.init(FileReceiver.java:483)

      at oracle.tip.b2b.transport.b2b.B2BTransport.init(B2BTransport.java:577)

      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:210)

      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)

      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)

      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

       

      Could anyone please assist ?

       

      Regards,

      Rohith