In our project we are using jbossAS 5.0.0CR1 with jboss-messaging-1.4.1CR1. Some of the jbm-server-session* and jbm-client-session* threads are getting created when creating and using topic connection and session. I see that these threads are not being closed even after the termination of the client.
How to reproduce this?
Are you closing your Session/Connection?
Also i need to know what is the configuration in jboss to define the Acknowledge mode as NO_ACKNOWLEDGE (this option is available in weblogic).
Maybe you should use
I analysed the code more deeply, and i found that every time i create a new session using the connection (TopicConncetion) a new thread is being created. I am using jconsole to watch the threads and preformance.
When i terminate the client the connection object is closed.
This project is actually a migration from weblogic server. In weblogic new threads were not created with new session (seems to be a performance issue with too many threads being created). Please help me in this.
I am using DUPS_OK ACKNOWLEDGE, but i need to completely get rid of Acknowledgement, is there a way for it.
When you close the connection or session the threads should be reclaimed, so this is only going to be a problem if you create a very large number of sessions.