Re: How to get tomcat configuration inside a servlet

2006-08-23 Thread Miguel Alcalde
I'd try to use MBeans and JMX infrastructure to find out tomcat configuration. http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html The admin webapp depends on MBeans to 'talk' to tomcat. So try this way. You're GREAT ;-). Very thank you. --

Re: How to get tomcat configuration inside a servlet

2006-08-22 Thread Mikolaj Rydzewski
Mikolaj Rydzewski wrote: But we still need to get tomcat ssl configuration inside a servlet. The reason: In our strange architecture (struts-flavour) a servlet is a wrapper for actions with states. Only some of these states have to be secured. Have anybody an idea how to get that information?

Re: How to get tomcat configuration inside a servlet

2006-08-22 Thread Mikolaj Rydzewski
Miguel Alcalde wrote: Mikolaj Rydzewski escribió: You don't have to worry about it. Read about redirectPort attribute at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Thanks, mate. It solves 90% of our problems. But we still need to get tomcat ssl configuration inside a servlet. T

Re: How to get tomcat configuration inside a servlet

2006-08-22 Thread Miguel Alcalde
Mikolaj Rydzewski escribió: You don't have to worry about it. Read about redirectPort attribute at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Thanks, mate. It solves 90% of our problems. But we still need to get tomcat ssl configuration inside a servlet. The reason: In our stran

Re: How to get tomcat configuration inside a servlet

2006-08-18 Thread Mikolaj Rydzewski
Miguel Alcalde wrote: My problem is that I need to get "ssl port" inside a servlet in order to do a transparent redirection to "secure zone". In our architecture we're running multiple tomcat instances with different configurations. Not in all cases ports are set 80/443. We're thinking to get t

How to get tomcat configuration inside a servlet

2006-08-18 Thread Miguel Alcalde
Hi All. My problem is that I need to get "ssl port" inside a servlet in order to do a transparent redirection to "secure zone". In our architecture we're running multiple tomcat instances with different configurations. Not in all cases ports are set 80/443. We're thinking to get tomcat configur