Penrose uses MX4J to provide JMX service. The JMX service is used by Penrose Studio to communicate with Penrose Server. The MX4J configuration can be found in PENROSE_SERVER_HOME/conf/mx4j.xml.
JMX Port
By default the JMX port is 1099. You can change it by editing the following section.
<configuration>
<startup>
<create classname="mx4j.tools.naming.NamingService" objectname="naming:type=rmiregistry">
<arg type="int">1099</arg>
</create>
<call operation="start" objectname="naming:type=rmiregistry" />
<object objectid="url">
<new classname="javax.management.remote.JMXServiceURL">
<arg type="string">service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmx</arg>
</new>
</object>
...
</startup>
...
</configuration>
JMX Authentication
When you login with Penrose Studio, the username and password will be authenticated against Penrose Server. You can configure it to authenticate against other LDAP server by configuring the following section.
<configuration>
<startup>
<object objectid="authenticator">
<new classname="org.safehaus.penrose.management.PenroseJMXAuthenticator">
<arg type="string">ldap://localhost:10389</arg>
<arg type="string">uid={0},ou=system</arg>
</new>
</object>
</startup>
</configuration>
Starting from 1.0, all JMX configuration is done in server.xml.