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 09: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: Sat Oct 25 13:38:37 GMT 2014

Powered by FUDForum. Page generated in 0.01612 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software