Skip to main content


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
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: Fri Apr 26 13:59:11 GMT 2024

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

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

Back to the top