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
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
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
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
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
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
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