[jboss-user] [Beginner's Corner] - number of socket connections

Daniel Silva do-not-reply at jboss.com
Wed Jul 6 16:43:10 EDT 2011

Daniel Silva [http://community.jboss.org/people/idnael] created the discussion

"number of socket connections"

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


I have a ejb container using RMI and want to know how many socket connections it is using. How can I manage this?

I'm trying to follow the JBoss Remoting Guide -  http://docs.jboss.org/jbossremoting/docs/guide/2.5/html/ http://docs.jboss.org/jbossremoting/docs/guide/2.5/html/ -  The entry point for all the api looks to be the Connector class. I noticed in the documention  there are two ways to declare it:

In environment-services.xml, as a mbean... 
<mbean code="org.jboss.remoting.transport.Connector"
       display-name="Socket transport Connector">
    <attribute name="Configuration"> ...

But there is also an ejb3-connectors-jboss-beans.xml  file...
<bean name="org.jboss.ejb3.RemotingConnector">...

What is the correct way, and how can I in runtime get a reference to the Connector instance?
And after, can I access the information I need programatically or need to implement my own Connector class, or something else?

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110706/76033ff3/attachment.html 

More information about the jboss-user mailing list