You are viewing a plain text version of this content. The canonical link for it is here.
Posted to phoenix-dev@avalon.apache.org by Alexis Agahi <al...@users.sourceforge.net> on 2002/08/12 10:33:55 UTC
Beta & JMX
Hi,
Just 2 little things
1/
you have to add
<mkdir dir="${lib.dir}/jing"/>
line 385
to be able to build the project directly from the last beta source
2/
it should be nice to be able to contact the jmx adaptor on the lan (not only
via localhost).
just add in
src/java/org/apache/avalon/phoenix/components/manager/MX4JSystemManager.java
method initialize():
if( m_enable_remote_connection ){
String hostAddr = java.net.InetAddress.getLocalHost().getHostAddress();
mbeanServer.setAttribute( adaptorName, new Attribute("Host", hostAddr ) );
}
of course this should be configuratble
something in configure(), like:
m_enable_remote_connection = configuration.getChild(
"enable-remote-connection" ).getValueAsBoolean( false );
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>