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 vazeFriend
Messages: 5
Registered: July 2012
Junior Member
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.

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

Current Time: Thu Mar 22 23:54:31 GMT 2018

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

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