pre load Webapp before deploying to tomcat
Hi, i have a rather large webapp with spring and hibernate which takes some time to startup (30 seconds) when i redeploy this webapp the application is not available for 30 seconds until everything is loaded. I looked at hot deployment but this is only about not restarting tomcat, but tomcat still does: 1. undeploy 2. deploy so i still have 30 seconds of unavailability. (thats not what i call hot deployment) is it possible to load a webapp in a different Context and move it afterwards to the running context? Say i have my running webapp version 1 in context /production. no i deploy my new webapp version 2 in context /upgrade and everything gets initalized. i even can check my new version running. after this i would like to just move /upgrade to /production Is it possible? kind regards, janning - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Ajp Connector with Apache Frontend and mod_deflate
Hi, i am trying to build a cluster of tomcats with mod_proxy_balancer. At the moment my tomcats are connected via mod_proxy_http protocol port 80 tomcat uses compression and mod_proxy_balancer is doing fine with sending the compressed content to the client. I wonder if i can do the same with mod_proxy_ajp. As AJP is a binary protocol anyway it doesn't need any compression for the response to my proxy server, right? But the response send to the client from my proxy needs compression for faster downloads. How can i tell my mod_proxy_balancer to compress the response with mod_deflate it tried the simple configuration AddOutputFilterByType DEFLATE text/html text/plain text/xml but it didn't work. did i misconfigure my proxy or isn't it possible at all to have mod_deflate filter the response from mod_proxy_ajp? Sorry for being a little bit off-topic but i hope this question still relates to tomcat-users. kind regards, janning - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.5 Debian Startup Script
Hi, i have some problems with the debian (4.0) startup script and after googeling a day about named pipes and so on, i hope some guru can help me with it. I know its not directly tomcat related, but as it relates to tomcat5.5 debian package i hope i am allowed to ask on this list. this is part of the standard debian script: su -p -s /bin/sh $TOMCAT5_USER \ -c $ROTATELOGS \$CATALINA_BASE/logs/catalina_%F.log\ 86400 \ $CATALINA_BASE/logs/catalina.out su -p -s /bin/sh $TOMCAT5_USER \ -c \$DAEMON\ start $STARTUP_OPTS $CATALINA_BASE/logs/catalina.out 21 now i want to start my tomcat5.5 instance via ssh like this: ssh [EMAIL PROTECTED] /etc/init.d/tomcat5.5 start i get this output: Starting Tomcat servlet engine: tomcat5.5. After this output the command does not return and hangs forever. Only if i stop tomcat, this command returns. I can hit Ctrl-C and tomcat keeps on running, but as i want to use it in an ant script its quite annoying. i tried adding nohup in front and adding stdout and stderr redirection to the first command to no avail. nohup su -p -s /bin/sh $TOMCAT5_USER \ -c $ROTATELOGS \$CATALINA_BASE/logs/catalina_%F.log\ 86400 \ $CATALINA_BASE/logs/catalina.out 21 /dev/null nohup su -p -s /bin/sh $TOMCAT5_USER \ -c \$DAEMON\ start $STARTUP_OPTS \ $CATALINA_BASE/logs/catalina.out 21 it seems to me that this named pipe catalina.out causes the trouble. But as it seems nobody else on debian got this problem. Can somebody please help me? I hope i gave you enough information for helping me kind regards, janning - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]