When you create a proxy service in OSB that uses the JCA transport (for example dequeuing from an AQ queue) then you will often see warnings in the WebLogic Server (WLS) log about stuck threads. This is because the thread that is associated with the JCA transport is continuously in a poll/sleep cycle and doesn't actually terminate. To avoid these warnings:
- Create a new Work Manager in the WLS console
- Ensure that "Ignore Stuck Threads" is checked for the new Work Manager
- In the Dispatch Policy for the Proxy associated with the JCA adapter select the new Work Manager
This should also have the effect of not putting the server into a Warning state.