avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Agahi <a...@users.sourceforge.net>
Subject Beta & JMX
Date Mon, 12 Aug 2002 08:33:55 GMT
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:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message