Re: tomcat6 configuration best practice?

2009-05-07 Thread Kevin Jackson
> Why are you using httpd?  If everything is being forwarded to Tomcat, adding > httpd just slows things down and makes your life more complicated. We are using httpd as we serve *many* static files too and not every request is being forwarded to Tomcat - we have our reasons for using apache as a

tomcat6 configuration best practice?

2009-05-07 Thread Kevin Jackson
Hi, I'm currently trying to understand the best practices for tomcat6 application deployments given certain restrictions: 1 - We deploy exploded dirs only, not WAR files 2 - We need to be able to hot deploy jsps (but not classes/jars) without restarting tomcat 3 - The application must be the ROOT

Re: Deployment Web App on Debian

2008-11-07 Thread Kevin Jackson
Do you have the JDK installed or just the jre? Remember tomcat really needs a jdk to compile jsps Kev - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: JNDIRealm - mapping LDAP group to security role

2008-10-09 Thread Kevin Jackson
>> I am trying to configure a JNDIRealm to authenticate against an Active >> Directory. >> http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm >> >> The authentication seems to work but I wonder how to map LDAP groups >> to security roles. >> I do not want to add groups in the LDAP s

Re: Comet-Client

2008-03-25 Thread Kevin Jackson
Hi On Wed, Mar 26, 2008 at 7:39 AM, Steffen Heil <[EMAIL PROTECTED]> wrote: > Hi > > I am searching for comet clients for java, perl and C. > (I know, this is basically the wrong list, but I expect to find people here > who had the same problem and maybe solutions...) > > In Java HTTPClient, w

Re: Tracking Authentication rejects in Tomcat 5.5

2007-10-29 Thread Kevin Jackson
Hi, > Does anyone have a suggestion? Does the general approach seem > reasonable? We have similar requirements, but at the moment we are using a subclass of JDBCRealm, here is our authenticate method: @Override public Principal authenticate(Connection connection, String userName, String

Unit Testing DataSourceRealm

2007-10-23 Thread Kevin Jackson
Hi, We have to add functionality to the provided realms. We started with a JDBCRealm, extended it and added our custom functionality. Now I've changed from a JDBCRealm (as the super class) to a DataSourceRealm as the super class. The problem is - how can I unit test a DataSourceRealm outside of

Re: Cleanly shutdown tomcat

2007-10-22 Thread Kevin Jackson
Hi, > I have occasionally seen this problem, but every time I have seen it is > due to a poorly written JEE application. For example I have seen in > Tomcat 5.5 if the JEE application creates a thread but due to some > problem or exception it does not remove the thread, tomcat will not > shutdown.

Cleanly shutdown tomcat

2007-10-22 Thread Kevin Jackson
Hi, We have tomcat 6.0.14 installed on fedora core running JDK6. Using 'service tomcat start' works fine (executes /etc/init.d/tomcat.sh) : su -c $TOMCAT_USER "$TOMCAT_SCRIPT start" (where $TOMCAT_USER == tomcat; $TOMCAT_SCRIPT == catalina.sh) However when we run the corresponding stop (equiva