Re: Disabling http connector

2010-03-21 Thread Cummins College
Hi, Regarding our question and intention, there is not much to convince. Actually we have been given this task and we have no option but to do it even though it is crazy. We figured out a way to make the removeConnector() method work, ie we are disabling/removing the http/https connector. now to

Re: Disabling http connector

2010-03-19 Thread Cummins College
Hi, We found this MBeanfactory method. It has a remove connector method. This takes argument as the Mbean-name of component to be removed. We have tried passing 'HTTPConnector', 'CoyoteConnector','Catalina','http-8080' and 'http11connector'. Could you tell us how to find the mbean names of the

Tomcat doent run on Vista

2010-03-13 Thread Cummins College
Hi, Does tomcat have a problem running on Windows Vista? I cannot run my web application with vista as OS and jdk1.5 What changes do I need to make? I also have Fedora loaded on my machine. Thanks

Disabling http connector

2010-03-11 Thread Cummins College
Hi, I know that https by enabling the secure attribute to true. But what if I want to "disable" the http connector? To elaborate, I want the https connector to be disabled when http runs and vice versa. What changes should be done? However, not by changing the secure attribute. We know most of y

JMX query to modify attribute value

2010-03-08 Thread Cummins College
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=*:typ

Re: Access to Tomcat's MBeans

2010-03-07 Thread Cummins College
Hi, Thanks a lot for your help. jmxsh seems to be for Linux based environment but we're using Windows. Lambda probe is a good option similar to JConsole. But 'Source code of manager app' seems to be the thing we were looking for. Thank you, - Cummins Group21

Access to Tomcat's MBeans

2010-03-02 Thread Cummins College
Hi, Could someone please help us how to access Tomcat's Mbeans using Java code. How is the basic logic to access the default mbeans present in Tomcat. Please help.

Re: Regarding Connector in tomcat 6

2010-02-24 Thread Cummins College
Hi, Actually we are designing a security layer over our web app. We want to give the user an option of choosing between http or https on login. Hence the need of changing from http to https or vice-versa at runtime. We are aware of . But that is not at runtime. We had also thought of JMX as an o

Re: Regarding Connector in tomcat 6

2010-02-21 Thread Cummins College
Hi, I know the problem is slightly different but we want to access the server.xml for the http connector so that we can set its secure attribute depending on the protocol to be used is http or https. This has to done at runtime i.e without shutting down tomcat and re-starting it. Is it possible t

Re: Regarding Connector in tomcat 6

2010-02-21 Thread Cummins College
Hi, I am aware of the concepts regarding the http connector and the . I am able to run the entire web application on https. But i would like to toggle entire web application to http or https at runtime. I do not want to shut down tomcat and make changes in tomcat. Is it possible to code in java

Regarding Connector in tomcat 6

2010-02-18 Thread Cummins College
Hi, My web application is currently deployed on Tomcat 6. Currently it is running on http. I was asked to run it on HTTPS. I was able to run in on HTTPS and for that I need to make changes in server.xml everytime iIf have to run my web app on https. Switching/Toggling between Https and Https req