On 08/03/2010 10:04, Cummins College wrote:
> Hello,
> 
> I have tried this JMX query to modify the connector properties of
> connector.
> http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443&att=secure&val=false
> 
> When I again check the status of the connector with this query,
>  http://localhost:8080/manager/jmxproxy/?qry=*:type=Connector,port=8443
> the secure attribute is changes to false, but there is no change in the
> sever.xml file for the same connector.
> 
> So, should I assume that atleast for runtime the secure attribute is false
> and https is disabled?

Altering attributes via JMX will never update server.xml

The results of changing attributes whilst a component is running will
vary from having no effect, to causing a crash to having the result you
want. You'll have to check the code for each attribute to see which
applies. Cleaning up the write aspect of JMX access has been on the todo
list for a while but hasn't happened yet.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to