This is my server connector config (took me a while to find it):
Code:
<bean id="serverConnector"
class="org.springframework.jmx.support.ConnectorServerFactoryBean"
depends-on="registry">
<!-- property name="objectName" value="connector:name=rmi" / -->
<property name="serviceUrl"
value="service:jmx:rmi://localhost/jndi/rmi://localhost:1099/myconnector" />
<property name="environment">
<!-- the following is only valid when the sun jmx implementation is used -->
<map>
<entry key="jmx.remote.x.password.file" value="etc/security/jmxremote.password"/>
<entry key="jmx.remote.x.access.file" value="etc/security/jmxremote.access"/>
</map>
</property>
</bean>
The passwd and access file follow the templates that can be found in the C:\jdk1.5.0_03\jre\lib\management folder.
hope this helps