Content compression in Tomcat

2004-07-01 Thread Gabi
Hi! I'm trying to compress the served jsp. As I'm using Apache 2 + Tomcat 4 + mod_jk, I suppose I can use mod_gzip apache module, but this have some problems (I'll use SSL in apache too, and mod_ssl+mod_gzip does not work very well in combination) so I wonder how with my configuration can I

RE: Content compression in Tomcat

2004-07-01 Thread Gabi
Not exactly, I donĀ“t want to compress ssl, I want Tomcat to compress the jsp file, then Apache will make the SSL. Hi, why should you compress it? ssl does that job for you already... (I think ;)) But don't know how you can configure compression for ssl...

RE: default user for administrate and manage Tomcat

2004-07-01 Thread Gabi
and pwd for what you want. Gabi. (Happy for answering something ;-) ) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Parameters and where is log

2004-06-16 Thread Gabi
I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context; context=session.getServletContext(); context.log(test message!!!); But I don't see this message in the log. And, there is a global way I can

RE: Parameters and where is log

2004-06-16 Thread Gabi
That's what I've done, I've created a Context path=... docBase=... Logger className=org.apache.catalina.logger.FileLogger prefix=web_log. suffix=.txt timestamp=true/ I see all the webapp output in web_log file, but not the message from the applicacion, where I use the lines: ServletContext

RE: Parameters and where is log

2004-06-16 Thread Gabi
With the first solution commented: ServletContext context; context=session.getServletContext(); context.log(test message!!!); I can`t read anything but it's solved, because if i try the original System.out and .err it outputs in catalina.out. Thanks to everubody. Now I've to configure parameters

RE: Using Tomcat's HTTP processor and SSL

2004-06-16 Thread Gabi
In what I've read people use Apache+Tomcat because better performance in apache serving static content, and the potential to use PHP served by apache for example. In the case that you only use dinamic java code, it's better because it's easier to mantain one service that two!!! But I'ver read too

RE: How to optimize Tomcat SSL

2004-06-15 Thread Gabi
I write only to comment that you can support more connections if you serve pages through https BUT images from http. (You'll remember many https pages where the browser warms you something like this page contains insecure elements or something similar... from the old benchmarks Remy and I ran, 20

Execute servlet at an interval.

2004-06-11 Thread Gabi
Hello, I'm going to migrate a Resin to Tomcat application, I'm beggining with Tomcat, I'm very interested reading Tomcat feature, etc... But I can't find a similar feature to Resin run-at parameter in the configuration files for the servlets, wich is used to execute at regular intervals a servlet.

Virtual Host and servlet

2004-06-11 Thread Gabi
Sorry I'm a newbie so I'm asking trivial questions for you but I can't find the error!!! If I put my cutpaste servlet from a tutorial I've no proble, it works. If I use a virtual host, a not found error appears. The web.xml is: web-app display-nameServlets test/display-name description