Getting "Generic Errors" while using JCA file adapter for reading in OSB
811390Mar 19 2011 — edited Aug 1 2013Hello All,
I am using OSB 11g (11.1.1.3) to create an integration interface that reads a file using JCA file adapter read method (polling read every 1 min). I am reading an XML file. It works all fine and Adapter invokes my Proxy as long as file size is somewhere in the range of 300 KB to 500KB. But as soon as I increase size beyond that I get below error
<Info> <JCA_FRAMEWORK_AND_ADAPTER> <osb_server1> <[STUCK] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3d7f9cebf2eef936:-176b445f:12eca9197cb:-8000-00000000000031e1> <1300559004810> <BEA-000000> <Generic Error caught while translating inbound file in streaming mode : WSCHEMA_BIG_ORDERS.xml
java.lang.NullPointerException
at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:292)
at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:118)
at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:377)
at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:175)
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:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
I tried both with and without providing schema for the payload and no difference. Also tried latest install of Fusion 11.1.1.4 with same results.
Any ideas anybody? To me it looks like perhaps some settings issue....not sure why this error entry has qualifier [STUCK], is it because some resource/setting is making thread stuck etc. underlying JVM has 8 GB heap size so that may not be issue.
Only thing left to try is reading File as attachment but with that it seems I cant do transformations on payload so that wont help...also I think 500 KB is tiny thses days (considering some folks process 1GB payloads through OSB)
Any help is appreciated.
Thanks in advance
YK
Edited by: 808387 on Mar 22, 2011 12:11 AM