<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 09:54:14 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/JMX-5/JMX-5.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[JMX-5] Timeout support</title>
                <link>http://dev.clojure.org/jira/browse/JMX-5</link>
                <project id="10060" key="JMX">java.jmx</project>
                        <description>&lt;p&gt;In the current java.jmx code there is no way to explicitly setup connection timeout when is used with-connection macro. This option can be quite useful, especially when client is trying to connect to unreliable jmx host or on location where client doesn&apos;t know jmx is enabled.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://weblogs.java.net/blog/emcmanus/archive/2007/05/making_a_jmx_co.html&quot;&gt;http://weblogs.java.net/blog/emcmanus/archive/2007/05/making_a_jmx_co.html&lt;/a&gt; can be used as starting point.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15268">JMX-5</key>
            <summary>Timeout support</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="sanel">Sanel Zukan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Mar 2012 05:29:59 -0600</created>
                <updated>Thu, 29 Mar 2012 11:34:17 -0500</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="28045" author="nickmbailey" created="Thu, 29 Mar 2012 11:34:17 -0500"  >&lt;p&gt;So one way, you can set the socket timeout for jmx connections is by overriding the default rmi socket factory. See:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://stackoverflow.com/a/1822760/940653&quot;&gt;http://stackoverflow.com/a/1822760/940653&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That solution isn&apos;t perfect though. For one thing it overrides the default factory for any rmi operation, not necessarily just jmx. It also will only work if jmx is actually falling back to the default factory. For example, if you enable jmx over SSL then the default factory won&apos;t be used and that solution won&apos;t work. What you could do though is not tell jmx to use ssl, but override the default socket factory to return ssl sockets potentially. Once again though that will be the case for an rmi operations at that point.&lt;/p&gt;

&lt;p&gt;The solution in the post you mentioned is interesting. I kind of think adding a custom thread factory and executor service to the jmx library is a bit heavy handed. I might be more comfortable adding some documentation to the readme/wiki detailing the problem and the above possible solutions, so users can find them.&lt;/p&gt;

&lt;p&gt;Thoughts on that approach?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>