Tomcat app. can no longer connect to MySQL

2010-03-28 Thread fred basset
Hi All, My QA guy came me with a problem where he now can't log into our Tomcat web app. at all. The relevant log file is below. It looks like Hibernate can't make a connection to MySQL. We can get to MySQL fine from the command line, and tried restarting MySQL and Tomcat, got the same result.

Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread fred basset
As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? thx, Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.ap

qn. on redirectPort for AJP

2010-03-13 Thread fred basset
Hi All, What is the redirect port in the config. below used for? Does it mean I need to have a tomcat connector listening on that port if I want to use AJP? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

how to configure log4j path to work both in Tomcat and from the CLI?

2010-03-02 Thread fred basset
Hi All, I use log4j, I'm trying to configure it so that log4j uses a non hardcoded path, and it resolves the path both when running under tomcat and running my unit tests from the CLI with ant. Here's the relevant line from log4j.properties: log4j.appender.R.File=${catalina.home}/logs/myapp.log

Re: Viewing JSP's compiled code

2010-01-29 Thread fred basset
7;s" way of doing this is to add a "getXXX" in "p"s class > that calls > The java function and returns the value.  Then, you could just write > something like: > > ${p.XXX} > > Replacing XXX with the name of the function. > > > > -Orig

Re: Viewing JSP's compiled code

2010-01-29 Thread fred basset
n Fri, Jan 29, 2010 at 8:57 AM, Caldarale, Charles R wrote: >> From: fred basset [mailto:fredbasset1...@gmail.com] >> Subject: Viewing JSP's compiled code >> >> Simple question, how do I keep and view the source code generated when >> a JSP is compiled? > > Lo

Viewing JSP's compiled code

2010-01-29 Thread fred basset
Hi All, Simple question, how do I keep and view the source code generated when a JSP is compiled? Thanks, Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apac

Re: Which version of Tomcat to use on Centos?

2009-11-24 Thread fred basset
Thanks guys, good responses, I think I'll not use the Centos packages and go with the "official" versions for the reasons mentioned. On Tue, Nov 24, 2009 at 2:34 PM, André Warnier wrote: > fred basset wrote: >> >> Hi All, >> >> I've got a new serve

Which version of Tomcat to use on Centos?

2009-11-24 Thread fred basset
Hi All, I've got a new server running the latest Centos. I want to install Apace tomcat on there. Should I use tomcat5 installed via yum, or instead use the "original" version from http://tomcat.apache.org? Also, my server currently has OpenJDK1.6. For max. reliability and least hassles is this

Best Linux JVM to use for Tomcat?

2008-11-11 Thread fred basset
Hi All, I have a site running with Tomcat 5.5.27 on Centos 5.2 32 bit. Which is the best JVM on Linux to use with Tomcat? I'm currently using Sun's JDK 1.6.0. Thank you, Fred