Re: Defining DBCP resources in web.xml?

2005-04-26 Thread Andrés Glez.
Do it better in the web app. META-INF/context.xml - Original Message - From: Josh McDonald [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 2:37 PM Subject: Defining DBCP resources in web.xml? The heading says it all - can it be

Context at Host Level

2005-06-02 Thread Andrés Glez.
Hi If i define a jndi resource at the host level, how can i know when tomcat is being stopped to finalize that resource? I mean, in a webapp context level, i can define a ServletContextListener so i can get the event ContextDestroyed and close, say, some opened files. I've been searching

Re: Context at Host Level

2005-06-03 Thread Andrés Glez.
Exactly what i was looking for. Thanks! - Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, June 02, 2005 9:03 PM Subject: Re: Context at Host Level Andrés Glez. wrote: there is no ContainerListener

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Andrés Glez .
Use jsvc. - Original Message - From: NoKideen [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, September 27, 2005 6:13 PM Subject: Running Tomcat as Non-Root under Linux listen for port 80 is there anybody know how to do this ? Running Tomcat as Non-Root under

Re: ClassCastException while sharing objects accross applications

2005-10-04 Thread Andrés Glez .
What about using JNDI to share objects between webapps? I think that: init(){ ... String context = java:comp/env/; InitialContext ic = new InitialContext(); ClassX c = (ClassX) ic.lookup(sContexto); ... } should return the same object to different servlets/webapps, if you define the

Re: log4j log viewer for tomcat

2005-10-04 Thread Andrés Glez .
chainsaw - Original Message - From: Leon Rosenberg [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Sunday, October 02, 2005 1:17 PM Subject: Re: log4j log viewer for tomcat lf5 regards Leon On 10/2/05, matador [EMAIL PROTECTED] wrote: win200x tomcat

Re: cannot setup JNDI with MySQL

2005-10-06 Thread Andrés Glez .
The problem is not JDNI. The problem is you can't connect to MySQL. Probably it's you have to check your MySQL access permissions... Can you connect to MySQL using the same parameters with another tool like MySQL Control Center? - Original Message - From: John Cherouvim [EMAIL