SyncRead Of FTP Adapter In OSB Returns Error when Execution Tracing is disabled
(Doc ID 2291540.1)
Last updated on MARCH 17, 2019
Applies to:Oracle Service Bus - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
On : 22.214.171.124.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 - <name of business service>
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: ] [APP: Service Bus JCA Transport Provider] [FlowId: nnnnnnnnnnnn] 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 / <name of business service> / Operations Tab) and hit apply
3.3 Go into Service Bus Console and execute the Proxy service <name of business service> 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