Wednesday, July 10, 2013

Weblogic 12c - tune and debug JMS OAQ module

Interoperating with Oracle AQ JMS

 http://docs.oracle.com/cd/E24329_01/web.1211/e24385/aq_jms.htm

To use AQ JMS tracing and debugging, set the following system property: oracle.jms.traceLevel

Parameters for tuning:

max-threads-constraint - Work Manager- this should be higher than min-threads-constraint http://docs.oracle.com/cd/E24329_01/web.1211/e24432/self_tuned.htm#i1068070

min-threads-constraint - Work Manager

max-beans-in-free-pool - weblogic-ejb-jar.xml - http://docs.oracle.com/cd/E24329_01/web.1211/e24973/ejb_jar_ref.htm#autoId167

WebLogic Server maintains a free pool of EJBs for every entity bean, stateless session bean, and message-driven bean class. The max-beans-in-free-pool element defines the size of this pool.

Determining the Number of Concurrent MDBs

 http://docs.oracle.com/cd/E24329_01/web.1211/e24390/mdbtuning.htm#i1134848

Custom work manager with constraint
varies due to self-tuning, between min-thread-constraint and Min(max-threads-constraint, max-beans-in-free-pool)

You can reserve threads by  specifying a work manager with a min-threads-constraint

 

Thread dump analysis

http://allthingsmdw.blogspot.cz/2012/02/analyzing-thread-dumps-in-middleware_08.html