Hi, On 16 February 2011 11:18, Brett Delle Grazie <brett.dellegra...@gmail.com> wrote: > Hi, > > I'm running Tomcat 6.0.23 and Sun Java 1.6.0.22 on RHEL 5.6 x86_64. > > I've currently got one JMX Remote Lifecycle listener configured in server.xml: > <Listener > className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" > rmiRegistryPortPlatform="X" > rmiServerPortPlatform="X+1" > useLocalPorts="true" /> <!-- For SSH Tunnelling --> > > We use this to connect JConsole to the system via an SSH tunnel. > > However I have a local system on the same lan that I would now like to use. > > Can I add another listener with different ports (and no useLocalPorts="true") > or > should I use rmiRegistryPort as the same or should I avoid having two of these > listeners at all.
Experimentation says 'yes' it does work with different ports. I haven't tried it using the same RMI registry port. > > Thanks, > > -- > Best Regards, > > Brett Delle Grazie > -- Best Regards, Brett Delle Grazie --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org