SyncRead Of FTP Adapter In OSB Returns Error when Execution Tracing is disabled
(Doc ID 2291540.1)
Last updated on DECEMBER 28, 2018
Applies to:Oracle Service Bus - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
On : 18.104.22.168.0 version, OSB Transports
SyncRead of FTP adapter in OSB returns error
The flow of a service is
Proxy Service routes to a Business services that uses an ftp adapter to poll a file and then transform it to xml, this transformation is done on the adapter, then the response is passe back to the proxy
When Exec. Tracing (Execution Tracing) is enable on the pipeline for the proxy service this works OK and returns the actual output of the file parsing, but when is disabled it fails with the message
Error Invoking Test Service - <YourTestProxyBusinessService>
Error creating the response document:
[2017-06-19T17:35:09.059-04:00] [osb_server1] [ERROR] [OSB-381304] [oracle.osb.transports.main.httptransport] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ] [ecid: 147ac1ca-be4b-481b-a82c-50778aab98d0-00026936,0:1] [APP: Service Bus JCA Transport Provider] [FlowId: 0000Ln2HxcDApIeLta5EiX1PGxt^00000X] Exception in HttpInboundMessageContext.close: java.lang.NullPointerException[[
The issue can be reproduced at will with the following steps:
1. Configure the following outbound connection pool on FTPAdapter
2. In Service Bus console crate a proxy/business that pulls files form ftp
3. In order to run the test case you should always
3.1 put a file on the polling dir from ftp server
3.2 Go to EM and enable/disable "Exec. Tracing" (Execution Tracing) for your Service (Target Navigation / SOA / service-bus / <YourTestProxyBusinessService> / Operations Tab) and hit apply
3.3 Go into Service Bus Console and execute the Proxy service <YourTestProxyBusinessService> with the default values suggested on the test window
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document