Hi,
I'm trying to register a spring bean as a JMX bean via jconsole but can't get it working. I'm starting the spring app with the following jmx related options:

-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=1234 -Dcom.sun.management.jmxremote.password.file=/home/dendenners/jmxremote.password

I've the following jmx config in my application context:
<bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServer FactoryBean"/>
<bean id="exporter"
class="org.springframework.jmx.export.MBeanExporte r">
<property name="beans">
<map>
<entry key="bean:name=ipSocket1">
<ref local="ipSocket1"/>
</entry>
</map>
</property>
<property name="server" ref="mbeanServer" />
</bean>

Now I can connect to the running java application using jconsole, but the ipSocket1 bean is not showing up as a jmx manageable bean in the console (I just get what look like default attributes under JMImplementation, java.lang and java.util.logging. I suspect I may need extra entries under the 'beans' attribute in the MBeanExporter, but I don't know what I should have in here to allow me to manage the ipSocket1 instance under jconsole. Any help would be greatly appreciated.
Denis