Re: automatic login

2008-08-26 Thread Thomas Haines
Hi Chris Thanks. This looks like 'just the ticket' - I'll take a look. Tom On 27/08/2008, at 5:23 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Haines wrote: I'm trying to figure out a way to automatically login a user. It arises when

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-24 Thread Thomas Haines
Hi edponce so if i understood everything i just need to duplicate the tomcat folder, do i need to rename it or something? Yes, you just need to duplicate it. You can call the duplicate folder whatever you like. Then On the duplicated tomcat directory, you need to edit the server.xml

automatic login

2008-08-24 Thread Thomas Haines
Hi all I'm trying to figure out a way to automatically login a user. It arises when they have created an account, and I don't want to then direct them back to a login page - rather, I want to, in this instance, just log them in. I am using Tomcat's container-managed security. I am

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread Thomas Haines
edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start

Re: is it possible more than 1 tomcat in single system?

2008-07-31 Thread Thomas Haines
From: Edi [mailto:[EMAIL PROTECTED] consider, i had 4 java application running in one tomcat, if one application crashes, all the other 3 application gets crashes. right? Edi It's also worth remembering that when your java webapp 'crashes', tomcat will catch the exception and display the

Re: Log4J logging from server not working

2008-07-29 Thread Thomas Haines
Hi Denis What do you mean by the internal logging works fine in both cases? Does the call from the servlet produce an error in the tomcat logs? Do you call an initializer servlet (load-on-startup) to load the log4j.properties file? Tom On 30/07/2008, at 12:34 AM, Denis Kezerashvili wrote:

Re: Problems with logout with Tomcat JDBCRealm

2008-07-02 Thread Thomas Haines
Hi André I'm using Tomcat JDBCRealm to authentication and authorization in my app. Login works fine, and when the user press the logout button(calls the session.invalidate()), he cannot login again. You could try adding: session.removeAttribute(User); before you invalidate the session.

Re: Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Thomas Haines
Hello Nix Are you looking for a memory leak in your web application or in tomcat? Short answer is it's not easy. The garbage collection mechanism in the JVM will cleanup any objects that are no longer referenced. Therefore, you are only concerned with objects that remain referenced (which

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread Thomas Haines
to switch from DBCP to c3po. Note also that the config you provided is not using any pooling at all. Datasources are not pooled by default. On Sat, Jun 21, 2008 at 8:18 AM, Thomas Haines [EMAIL PROTECTED] wrote: Hello I am experiencing a reproducible problem with connection pooling in Tomcat

Tomcat Connection Pooling - wait_timeout

2008-06-20 Thread Thomas Haines
Hello I am experiencing a reproducible problem with connection pooling in Tomcat, although I suspect it is not a Tomcat issue per se. I am running: mysql server 5.0.58 tomcat 6.0.16 mysql connector 5.1.6 java version 1.5.0_13 all on CentOS 5 The following error occurs when there has been no

Re: tomcat 6 memory

2008-06-19 Thread Thomas Haines
luke l wrote: Hi. I'm running a webApplication on Tomcat 6.0.16: it's quite simple some jsf, jsp pages (every page is periodically reloaded). Running it on a linux environment there is a memory leak on client browser (iExplore or firefox): browser memory costantly increase and webappl