<!-- Declare a reference to the mbean --> <mbean id="myMBean" name="mydomain:Name=myPool,Type=JDBCConnectionPool" serverType="weblogic" user="system" password="secret"/> <!-- Attempt to get and set a few mbean attributes --> <configureMBean mbeanref="myMBean">   <setAttribute name="MaxCapacity" value="${pool.size}"/>   <setAttribute name="Targets">:Name=myserver,Type=Server</setAttribute>   <getAttribute name="TestTableName" property="testTable"/> </configureMBean>
JMXConnector
interface provided with this package.
See the
jmx.connector
package
for details.
Support for additional JMX functionality is planned with
alignment to JSR 000077 - J2EE[TM] Management Specification
and JSR 000160 JavaTM Management Extensions (JMX) 1.5 Specification
(JMX Remoting) as these specifiations are released and implementations become
available.
For BEA WebLogic Server support, the following external library is required:
weblogic.jar
IMPORTANT: You must place weblogic.jar on the classpath before starting ant.
This jar file is required to use these
tasks with BEA WebLogic Server (serverType="weblogic").
weblogic.jar is NOT included in this distribution.
It is your responsibility to obtain these libraries from BEA
directly.
For JBoss support, the following external libraries are required:
jboss-jmx.jar, jnp-client.jar, jboss-j2ee.jar,
jboss-common-client.jar, jnet.jar,
jmx-rmi-connector-client.jar,
jmx-ejb-connector-client.jar, log4j.jar
IMPORTANT: You must place the above jar files on the classpath before starting ant.
These jar files are required to use these tasks
with JBoss. These jar files are NOT included in this
distribution, but are included (at the time of
this writing) in the JBoss 3.0x distribution.
It is your responsibility to obtain these libraries from JBoss directly.
Copyright © 2003. All rights Reserved.