Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » ObjectName to read Tomcat configuration(ObjectName to read Tomcat configuration)
ObjectName to read Tomcat configuration [message #901528] Mon, 13 August 2012 05:01
anushka vaze is currently offline anushka vaze
Messages: 5
Registered: July 2012
Junior Member
Hi,
I ma using MBean to start embedded tomcat in Virgo pgrammatically.

I am using following code snippet:
ObjectName objectNameQuery =null;
try {

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.
regards

Previous Topic: how i can remove eclipse with all plugins
Next Topic:timerTask query
Goto Forum:
  


Current Time: Tue Jul 22 15:55:04 EDT 2014

Powered by FUDForum. Page generated in 0.01559 seconds