adding vhosts without restarting tomcat from a script and keeping them persistent

2009-07-25 Thread Mathijs Kwik
Hi all, I'm using tomcat 6. I would like to be able to add vhosts without restarting tomcat. I found this ability using the host-manager application that's included. But I want to do this from CLI. I found ant tasks for the manager application to deploy/undeploy apps on-the-fly, but I couldn't

Re: How to apply security patches.

2009-07-25 Thread Mark Thomas
Dave Thomson wrote: Does anyone have any suggestions on how to apply these security patches? Is it just a matter of copying the appropriate .jar files to the appropriate location while Tomcat is turned off? No. You have two options. 1. Wait until 5.5.28 is released which should be in around a

Re: Need some SSL Config help.

2009-07-25 Thread Mark Thomas
Josh Gooding wrote: One more thing. Here is my server.xml information that is relative: Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on SSLRandomSeed=builtin / Looks like you are trying to use the APR connector. Connector port=443 protocol=HTTP/1.1

Re: adding vhosts without restarting tomcat from a script and keeping them persistent

2009-07-25 Thread Mark Thomas
Mathijs Kwik wrote: Hi all, I'm using tomcat 6. I would like to be able to add vhosts without restarting tomcat. I found this ability using the host-manager application that's included. But I want to do this from CLI. I found ant tasks for the manager application to deploy/undeploy apps

SSL mode configurations

2009-07-25 Thread Anisha Parveen -X (anparvee - Infosys at Cisco)
Hi all, I want to configure SSL mode in my tomcat. I have cross checked my configurations with the default ss.conf. Everything seems fine. But https://localhost does not work. I use mod_jk for apache-tomcat connection. I am a beginner here and dont have much knowledge on same. Kindly let me

Re: How to apply security patches.

2009-07-25 Thread Dave Thomson
Thanks Mark, we were wanting to wait til 5.5.28, I will see if we can. But thanks for the steps on the build. On Sat, Jul 25, 2009 at 3:07 AM, Mark Thomas ma...@apache.org wrote: Dave Thomson wrote: Does anyone have any suggestions on how to apply these security patches? Is it just a

Re: SSL mode configurations

2009-07-25 Thread Juha Laiho
Anisha Parveen -X (anparvee - Infosys at Cisco) wrote: I want to configure SSL mode in my tomcat. I have cross checked my configurations with the default ss.conf. Everything seems fine. But https://localhost does not work. I use mod_jk for apache-tomcat connection. I am a beginner here and

Tomcat upgrade 5.5 - 6 affecting apache server

2009-07-25 Thread Lucas Vickers
Hello, I'm on a pre-configured box (I'm learning). I upgraded my tomcat from 5.5 to 6, and I found that my apache server can not start because: /usr/local/apache/conf/jk.conf references JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties which is not available in tomcat 6. what

Re: Tomcat upgrade 5.5 - 6 affecting apache server

2009-07-25 Thread David Smith
If I remember write, this file has all the mount directives for various webapps hosted by tomcat. It might have even been auto-generated in your tomcat 5.5 environment by the tomcat service. I would migrate the stuff in workers.properties to their equivalent in apache httpd config files and drop

JSPwriterImpl generates IO exception while processing jsp:include that gets forwarded.

2009-07-25 Thread Leonard Gestrin
Hello, This is my second attempt to get anyone's opinion if what's happening is a defect or it can be prevented somehow. I hope it generates more replies. In my webapp application I have servlet filter that handles error handling for runtime exceptions; when such exception happens, it

On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread Paul van Hoven
I just rented a server for providing an internet service. Before, i developped the application on my local machine which is running mac os x leopard. I also installed tomcat for testing my application. After creating a war file i place the webapp in the CATALINA_HOME/webapps folder on my local

Re: SSL mode configurations

2009-07-25 Thread Bill Barker
If you are using mod_jk, then you need to configure SSL for Apache httpd. Go to http://httpd.apache.org and pick the documentation for your version from the menu on the left. Anisha Parveen -X (anparvee - Infosys at Cisco) anpar...@cisco.com wrote in message

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread David Smith
What jars are in your webapp? Did you include any that might duplicate those distributed in the servlet-api.jar file? --David Paul van Hoven wrote: I just rented a server for providing an internet service. Before, i developped the application on my local machine which is running mac os x

RE: JSPwriterImpl generates IO exception while processing jsp:include that gets forwarded.

2009-07-25 Thread Martin Gainty
dont understand why you want to forward before jsp:include has been processed? could you explain a bit about webapp architecture or workflow you wish to implement? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

RE: JSPwriterImpl generates IO exception while processing jsp:includethat gets forwarded.

2009-07-25 Thread Caldarale, Charles R
From: Leonard Gestrin [mailto:leonard.gest...@markettools.com] Subject: JSPwriterImpl generates IO exception while processing jsp:includethat gets forwarded. Is it illegal to forward request while processing include? No, but it's illegal to forward a request after the response has been

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread Paul van Hoven
Thanks for the answer. Here's a list of all the jars that i include: activation.jar antlr-2.7.6.jar c3p0-0.9.1.2.jar commons-beanutils-1.8.0.jar commons-codec-1.3.jar commons-collections-3.2.1.jar commons-fileupload-1.2.1.jar commons-httpclient-3.1.jar commons-io-1.4.jar commons-lang-2.4.jar

RE: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread Caldarale, Charles R
From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Subject: Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet gwt-servlet.jar I have some recollection that the above jar is the trouble maker; take a look inside it. - Chuck THIS COMMUNICATION

RE: JSPwriterImpl generates IO exception while processing jsp:includethat gets forwarded.

2009-07-25 Thread Leonard Gestrin
I have servlet filter that is invoked ahead of any application code that catches all unhandled exceptions, and then it forwards request to appropriate page depending on the exception. I am indeed doing requestDispatcher.forward() and I set attributes on the request that are later used in

RE: JSPwriterImpl generates IO exception while processing jsp:include that gets forwarded.

2009-07-25 Thread Leonard Gestrin
Hi Martin, The filter is just a pass through to application code - it only gets to work if there is runtime exception coming back from processing request. ErrorHandlerFilter is mapped to REQUEST, FORWARD, INCLUDE It has Try{ filterChain.doFilter(request, response); } catch (throwable