Stuck thread stops the JCA Listener for Application Adapter for SAP on OSB
I have installed and configured Oracle Application Adapter for SAP (11.1.1.3.0) on OSB(11.1.1.3).
Configured a target, a channel and created an inbound service(event) on Application explorer. Created the Proxy on OSB with the JCA bindings and WSDL created by Application Explorer.
The service runs fine for first 10 mins (stuck thread max time on WLS) and I am able to receive the messages generated from SAP and if I run the connection tests from SAP to OSB they run fine.
But after 10 mins the thread is declared as stuck and some times the service stops listening to the messages from SAP. If I do a connection test from SAP then it fails.
Is there a solution to this problem? I dont want to increase the stuck thread max time on this server because a lot of other processes run on the same domain and I do want a thread to be declared stuck if any of them rum more than 10 mins.
Also, the JMS or MQ listeners on OSB (the default ones, not using JCA) do not create the same problem. The JMS transport based Proxy listens to a JMS destination continuously but its thread is NOT declared stuck, then why is it that using JCA adapter a listener thread is declared stuck?
Please let me know if this is because of any configuration issues or if there is any other solution/workaround to this problem.
Thanks