geirgp
Aug 18th, 2006, 02:31 AM
I am using Spring to export my MBeans through JMX using org.springframework.jmx.support.ConnectorServerFac toryBean and org.springframework.jmx.export.MBeanExporter.
I've configured the ConnectorServerFactoryBean with the following serviceUrl:
<property name="serviceUrl" value="service:jmx:iiop://localhost:5544" />
However Spring seems to add some more to this url, and this something is pretty much random. When I look it up in JBoss' JMX console the serviceUrl is as follows:
service:jmx:iiop://localhost:5544/ior/IOR:000000000000003b524d493a6a617661782e6d616e6167 656d656e742e72656d6f74652e726d692e524d495365727665 723a3030303030303030303030303030303000000000000100 00000000000095000102000000000d3137322e32352e31312e 323800000e9000000019afabcb00000000021c4c69bc000000 08000000000000000014000000000000030000000100000020 00000000000100010000000205010001000100200001010900 00000100010100000000260000000200020000000000190000 001d0000000000000015687474703a2f2f6f736c2d3232363a 383038332f00
Is there a way i can change this "ior/IOR:000...." to something non-random so I don't have to look it up and change my client's serviceUrl everytime i restart my application? Or is there perhaps a way to identify this serviceUrl?
Thanks,
Geir
I've configured the ConnectorServerFactoryBean with the following serviceUrl:
<property name="serviceUrl" value="service:jmx:iiop://localhost:5544" />
However Spring seems to add some more to this url, and this something is pretty much random. When I look it up in JBoss' JMX console the serviceUrl is as follows:
service:jmx:iiop://localhost:5544/ior/IOR:000000000000003b524d493a6a617661782e6d616e6167 656d656e742e72656d6f74652e726d692e524d495365727665 723a3030303030303030303030303030303000000000000100 00000000000095000102000000000d3137322e32352e31312e 323800000e9000000019afabcb00000000021c4c69bc000000 08000000000000000014000000000000030000000100000020 00000000000100010000000205010001000100200001010900 00000100010100000000260000000200020000000000190000 001d0000000000000015687474703a2f2f6f736c2d3232363a 383038332f00
Is there a way i can change this "ior/IOR:000...." to something non-random so I don't have to look it up and change my client's serviceUrl everytime i restart my application? Or is there perhaps a way to identify this serviceUrl?
Thanks,
Geir