[jboss-user] [JBoss Remoting] - Re: Problem for Timer of BisocketServerInvoker

Andrea Ippolito do-not-reply at jboss.com
Sat Dec 24 11:57:30 EST 2011


Andrea Ippolito [http://community.jboss.org/people/andrea.ippo] created the discussion

"Re: Problem for Timer of BisocketServerInvoker"

To view the discussion, visit: http://community.jboss.org/message/643118#643118

--------------------------------------------------------------
Hi John, I had the same problem (some thousand BisocketServerInvoker and a similar number of InvokerLocator) and I just found the solution for my case (tests still in progress).

My environment: Jboss 5.0.1 GA, JMS acting for P2P communication between a single class that writes to a custom queue and an MDB.
Well, I found out that the Java class writing to the queue was not releasing the queue resources properly. In fact, the close() methods of QueueSender, QueueSession and QueueConnection were never invoked!
So I compared the behavior of this class as it is with one that calls close() on these 3 objects (though maybe calling close() on the QueueConnection would suffice), and while for the first case MAT showed one BisocketServerInvoker per message I wrote to the queue (with a dummy app), in the second case there were far less BisocketServerInvokers, leading also to a smaller heap usage (Jvisualvm now shows a beatiful heap graph).

So have a look if it could be the case for you too and let me know  :)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/643118#643118]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111224/821fe53c/attachment-0001.html 


More information about the jboss-user mailing list