<!--
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 01:26:57 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+JMX+AND+resolution+%3D+Unresolved+AND+assignee+is+EMPTY+ORDER+BY+priority+DESC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://dev.clojure.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Clojure JIRA</title>
        <link>http://dev.clojure.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+JMX+AND+resolution+%3D+Unresolved+AND+assignee+is+EMPTY+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="3" total="3"/>
                <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>

<item>
            <title>[JMX-8] Extend java.jmx to support exposing operations in created beans</title>
                <link>http://dev.clojure.org/jira/browse/JMX-8</link>
                <project id="10060" key="JMX">java.jmx</project>
                        <description>&lt;p&gt;The attached patch extends java.jmx to support creating beans that expose invokable operations.  Operation function definitions are supplied after the state-ref in the create-bean form in a syntax similar to protocol method implementations.  Type signatures, descriptions, and impact constants are harvested from metadata on the operation definitions.  Nontrivial argument type binders (rest arguments, destructuring, etc) in operations are not supported.&lt;/p&gt;

&lt;p&gt;I am sure this patch could be improved in many ways; the operation method parser in create-bean feels unnecessarily hairy and yet limited at the same time, because my macro-fu is not yet strong.  The documentation examples are not yet updated, though I am happy to do this if the feature is reviewed and accepted.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15661">JMX-8</key>
            <summary>Extend java.jmx to support exposing operations in created beans</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="bccjeris">Chris Jeris</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 Aug 2012 15:43:36 -0500</created>
                <updated>Fri, 31 Aug 2012 15:44:51 -0500</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                    <attachment id="11465" name="JMX-8.patch" size="7401" author="bccjeris" created="Fri, 31 Aug 2012 15:44:51 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>

<item>
            <title>[JMX-9] Eliminate several uses of reflection in java.jmx</title>
                <link>http://dev.clojure.org/jira/browse/JMX-9</link>
                <project id="10060" key="JMX">java.jmx</project>
                        <description>&lt;p&gt;There are a fair number of occurrences of reflection in java.jmx that can be eliminated with the addition of suitable type hints.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15799">JMX-9</key>
            <summary>Eliminate several uses of reflection in java.jmx</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</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="jafingerhut">Andy Fingerhut</reporter>
                        <labels>
                    </labels>
                <created>Sun, 28 Oct 2012 23:49:16 -0500</created>
                <updated>Sun, 16 Dec 2012 17:07:31 -0600</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="29863" author="jafingerhut" created="Sun, 28 Oct 2012 23:56:08 -0500"  >&lt;p&gt;jmx-9-eliminate-reflection-v1.txt dated Oct 28 2012 eliminates most reflection warnings from java.jmx.&lt;/p&gt;

&lt;p&gt;I would recommend that you check the type hints carefully before applying this, in case I messed some of them up.  I am not familiar with javax.management library usage.  I simply did a lot of looking at method signatures for methods used in the code in the Java library docs.&lt;/p&gt;

&lt;p&gt;In particular, I wasn&apos;t sure whether &lt;b&gt;connection&lt;/b&gt; should be a javax.management.MBeanServer or MBeanServerConnection.  MBeanServerConnection is good enough for most of the code, but for the .registerMBean method invocation in register-mbean it needs to be a MBeanServer to avoid reflection.  Perhaps it should be MBeanServer everywhere?  My main question is whether that would limit the code&apos;s generality too much.&lt;/p&gt;</comment>
                    <comment id="30243" author="nickmbailey" created="Sun, 16 Dec 2012 17:07:19 -0600"  >&lt;p&gt;Well it shouldn&apos;t be MBeanServer everywhere. When using the with-connection macro &lt;b&gt;connection&lt;/b&gt; is a RemoteMBeanServerConnection and &apos;registerMBean&apos; isn&apos;t a defined method. &lt;/p&gt;

&lt;p&gt;I&apos;m thinking perhaps we just change register-mbean to always get the local JMX server rather than using the &lt;b&gt;connection&lt;/b&gt; binding. You can&apos;t register mbeans with a remote jmx server.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11637" name="jmx-9-eliminate-reflection-v1.txt" size="4132" author="jafingerhut" created="Sun, 28 Oct 2012 23:56:08 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10001">Code</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>