NullPointerException With DbAdapter after Restarting a Managed Server (Doc ID 1303105.1)

Last updated on NOVEMBER 17, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.3.0 to 11.1.1.9.0 [Release 11g]
Information in this document applies to any platform.
***Checked for relevance on 17-Nov-2016***

Symptoms

Clustered Oracle Service Bus OSB domain containing a jca (db adapter) business service.
When a managed server is restarted the jca business service stops working and the following error is seen in the log file when service is invoked from OSB test console:


<BEA-380003> <Exception on TransportManagerImpl.sendMessageAsync: unchecked exception:, java.lang.NullPointerException
java.lang.NullPointerException
at com.bea.wli.sb.transports.jca.binding.JCATransportOperationBindingServiceImpl.setURI(JCATransportOperationBindingServiceImpl.java:203)
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.setURI(JCATransportOutboundOperationBindingServiceImpl.java:209)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:160)
at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
at $Proxy154.sendMessageAsync(Unknown Source)



Non restarted server continues to work correctly.
The only way to have the service running again is to modify the jca resource in OSB.
Problem reappears every time a managed server is restarted.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms