|ObjectName to read Tomcat configuration [message #901528]
||Mon, 13 August 2012 05:01
| anushka vaze
Registered: July 2012
I ma using MBean to start embedded tomcat in Virgo pgrammatically.
I am using following code snippet:
ObjectName objectNameQuery =null;
objectNameQuery = new ObjectName("*:type=Connector,*");
} This will list all the three connectors form tomcat-server.xml.
Is there a way to get the connector based on some other attribute from tomcat-server.xml like protocol or any other.
Also I want to know if we can change any other paarmeter through MBean through program other than port.
Powered by FUDForum
. Page generated in 0.01559 seconds