<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
log out properties of jboss.messaging:service=Connector,transport=bisocket
</h3>
<span style="margin-bottom: 10px;">
modified by <a href="http://community.jboss.org/people/brombertje">Robert Bruckbauer</a> in <i>JBoss Messaging</i> - <a href="http://community.jboss.org/docs/DOC-15133">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p>I really need help on how to solve this problem! Our application monitors critical values using log4j. We want to extend our monitor to log jboss properties of jboss.messaging:service=Connector,transport=bisocket.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Here is a sample:</p><p>   </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>               &lt;!-- the following parameters are useful when there is a firewall between client and server. Uncomment them if so.<del>&gt;               &lt;!</del><span>                     Das Auskommentieren folgender Paramter bewirkt keine Deaktivierung dieser Einstellung, sondern die                    die Verwendung der Default-Einstellungen. Das würde nach JBossRemotingGuide folgendes heißen:                    numberOfCallRetries=3, pingFrequency=5000, pingWindowFactor=2, generalizeSocketException=false                                        Das würde bedeuten, dass wir mit Einführung dieser Einstellung in JBM 1.4.5 alle 5! Sekunden, alle                    verbundenen Clients vom Server gepingt werden würden. In JBM 1.4.4 war die Einstellung auf 214748364ms,                     also ca. 60 Stunden.                                        Generell könnte man sagen, dass das Pingen alles Clients nicht notwendig ist, weil wir hier eine                    direkte Verbindung zum Server ohne Firewall haben.                                        In Bezug auf den Fehler JBMESSAGING-1733 (</span><a class="jive-link-external-small" href="https://jira.jboss.org/jira/browse/JBMESSAGING-1733" target="_blank">https://jira.jboss.org/jira/browse/JBMESSAGING-1733</a><span>) kann                     das aber auch bedeuten, dass gewisse veraltete Sockets am Server (evtl. WorkerThreads) ohne einen                     Ping nicht richtig aufgeräumt werden.                                        Um diesen Szenario entgegen zu wirken, pingen wir jede Stunde (pingFrequency=3600000) alle Clients an.                    Die Clients erwarten in einem doppelten Zeitfenster den Ping vom Server (pingWindowFactor=2)               --&gt;                     </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>               &lt;!-- End immutable parameters <del>&gt;                              &lt;attribute name="stopLeaseOnFailure" isParam="true"&gt;true&lt;/attribute&gt;                              &lt;!</del> Periodicity of client pings. Server window by default is twice this figure <del>&gt;                                              &lt;!</del>                     Mit clientLeasePeriod=60000 wird das zulässige max. Alter eines Ping vom Client an den Server festgelegt.                     Hier gilt ein typisches Lease-Verhalten am Server, dass die Lease regelmäßig aktualisiert werden muss.                                         Um dieses Lease-Verhalten zu gewährleisten werden Pings vom Client in halben Abständen validatorPingPeriod=30000                    an der Server geschickt. Hier müssen wir erwarten, dass unter Lastsituationen bzw. wegen writeTimeout=30000                     sich die Rückantwort des Servers verzögern kann. Mit der validatorPingTimeout=60000 bestimmen wir die                    max. Zeit für die Rückantwort des Servers auf den Client Ping.               --&gt;                   </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>               &lt;!-- Max Number of connections in client pool. This should be significantly higher than                    the max number of sessions/consumers you expect <del>&gt;               &lt;attribute name="JBM_clientMaxPoolSize" isParam="true"&gt;500&lt;/attribute&gt;                              &lt;!</del> The maximum time to wait before timing out on trying to write a message to socket for delivery <del>&gt;               &lt;attribute name="callbackTimeout"&gt;10000&lt;/attribute&gt;                               &lt;!</del> Use these parameters to specify values for binding and connecting control connections to                     work with your firewall/NAT configuration               </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Especially I'm interested in the following value:</p><p>               </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The idea ist to use a JMX-Server to get a reference of the configuration value. The problem is to find out how I navigate through the JMX model and to associate classes with XML content.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Can anybody provide a code snippet for that purpose?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thanx in advance</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>robert</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-15133">going to Community</a></p>
        <p style="margin: 0;">Create a new document in JBoss Messaging at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2042">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>