this consists in replacing oracle.tip.adapter.file.inbound.FileActivationSpec with oracle.tip.adapter.file.inbound.ScalableFileActivationSpec, and enabling streaming parsing on the File poller Proxy Service. I also set MaxFileAge to 5, to avoid picking up a file before it's completely copied to the Input folder.
I put a SMALL (3 kb file) document 608-12.xml in the input folder, and I get:
Generic Error caught while translating inbound file in streaming mode : 608-12.xml java.lang.NullPointerException at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:295) at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:121) at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:388) at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:174) at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349) at weblogic.work.ContextWrap.run(ContextWrap.java:41) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) >
According to Oracle Support KB, this should happen only for HUUUGE documents and in old versions of OSB (we use 11.1.1.5). Related thread on the forum, reporting the same issue, are unanswered.
I am afraid we shall not use this streaming option for the time being.
See also https://community.oracle.com/thread/2195895 (discussion archived without solution...)
No comments:
Post a Comment