RE: Custom Error Messages (5xx and 4xx)

2008-11-10 Thread Kirchhoff, Florian
I missed anything relevant. > > Currently when an error (500) is generated all I get is a > blank white > screen :(. I can go directly to the error pages both logged > into the > system and not and I get the nice little "Something has > gone wrong .." > custom error

RE: Custom Error Messages (5xx and 4xx)

2008-11-04 Thread Kirchhoff, Florian
Rob, First you need to gather the information about the exception, then send it to who needs to know. You might want to be proactive and send it to the support team regardless of what the users want... One thing to lookout for is that depending on where you exception is thrown the implicit "excep

RE: web.xml documentation

2008-05-28 Thread Kirchhoff, Florian
For Tomcat 5.5, that implements the Servlet 2.4 specifications which you can download at: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html you're looking for the "deployment descriptor" sections that describe web.xml. But it's a bit dry (unless you enjoy reading XML schemas). F

RE: disabling webapps in Tomcat 5.5

2008-05-28 Thread Kirchhoff, Florian
To the best of my knowledge I don't think you can pick and choose. But you can stop tomcat from autodeploying apps (see below) and deploy the applications you want using the Manager or the client deployer (http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html). To disable autodeploy, you may

RE: Defining JDBC Data source

2008-03-07 Thread Kirchhoff, Florian
Sushil, As it turns out, this is really a Spring question... I encountered a similar problem (see http://preview.tinyurl.com/2gge34) all you need to do is, set the reference-ref property of JndiObjectFactoryBean to true: true

RE: JDBC driver JARs in a shared production environment

2008-02-22 Thread Kirchhoff, Florian
Chuck, thank you for your prompt feedback. I have a couple of follow-up questions below: >> 3) Deploy the JDBC jars and commons-dbcp.jar in the WAR in >> WEB-INF/lib?> > >Yes. Great, that's what'll do. But is there anything one must be careful about in this case? For example should a particul

RE: JDBC driver JARs in a shared production environment

2008-02-22 Thread Kirchhoff, Florian
I've never got back into looking at it closer. Just food for thought. jfk -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 12:30 PM To: Tomcat Users List Subject: RE: JDBC driver JARs in a shared production environment > F

JDBC driver JARs in a shared production environment

2008-02-22 Thread Kirchhoff, Florian
Hi everybody, Question: if you cannot place the JDBC driver jars in CATALINA_HOME/commons/lib, where can you put them? Here is the context of my question: * A production environment where each application runs in a separate instance of Tomcat * Each application has it's own $CATALINA_BASE and po

RE: Multiple instances problem...

2007-03-12 Thread Kirchhoff, Florian
Hi Peter, are you making sure to use different ports for each instance for Shutdown, HTTP/HTTPS and AJP? Florian -Original Message- From: Peter Björkman [mailto:[EMAIL PROTECTED] Sent: Sunday, March 11, 2007 6:22 PM To: users@tomcat.apache.org Subject: Multiple instances problem... Hi