Garbage Collector

2004-07-09 Thread Freddy Villalba Arias
Hi everybody, What's the best / simplest way to implement a garbage collector that starts running as soon as the web application (Tomcat) is up? In my particular case, this garbage collector cleans certain records meeting a certain criteria. The idea is quite simple: every n seconds, the

RE: Garbage Collector

2004-07-09 Thread Freddy Villalba Arias
Whoa, it was so obvious I almost feel stupid! Thanks, Simon! -Mensaje original- De: simon colston [mailto:[EMAIL PROTECTED] Enviado el: viernes, 09 de julio de 2004 11:07 Para: Tomcat Users List Asunto: Re: Garbage Collector Freddy Villalba Arias wrote: What's the best / simplest

RE: JNDI Datasource advanced use

2004-06-08 Thread Freddy Villalba Arias
Hi Enrico, I suppose that by closing you mean freeing up the resource. When you close a connection that has been obtained from a DataSource, I believe it is not actually closed, but only released, hence made available to other processes. How many connections are there, for how long, and that

RE: How to monitor hits on static web pages?

2004-05-04 Thread Freddy Villalba Arias
Hello, If I understood, I believe a Servlet Filter would do the job... You'd just have to make sure the pattern doesn't leave out anything you'd want to monitor / include anything you don't want to monitor. HTH. Freddy. -Mensaje original- De: Matrix [mailto:[EMAIL PROTECTED] Enviado

JTA support

2004-04-15 Thread Freddy Villalba Arias
Hello everybody, I've been going up and down DBCP's (and Tomcat's) homesite and haven't found the answer to this: Does Tomcat support (and manage) JTA? I know there is Tyrex, which provides this support, but I don't want to use it. From what I've read, it's somewhat obsolete, replaced

RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
this helps, Robert Freddy Villalba Arias wrote: Hello everybody, I've been going up and down DBCP's (and Tomcat's) homesite and haven't found the answer to this: Does Tomcat support (and manage) JTA? I know there is Tyrex, which provides this support, but I don't want

RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
of our current hacked Tyrex-based JTA solution. Regards, Robert Freddy Villalba Arias wrote: Thanks, Robert. You've been quite helpful! In Fact, I'd already installed and configured JBoss, knowing that it was the best (cheapest / safest / easiest) option available; that is, those I could

RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
Hi, Sorry if I misled you. I'm using JBoss v3.2.3. According to that version's download page: (includes Tomcat 4.1.29 JBossWeb HTTP server and JSP/Servlet engine, EJB, CMP2.0, JCA, IIOP, Clustering, JTA, JMX and more) I suppose (would have to start it up and check the logger's output) that's

RE: JTA support

2004-04-15 Thread Freddy Villalba Arias
:19 Para: Tomcat Users List Asunto: Re: JTA support Freddy Villalba Arias wrote: Hi, Sorry if I misled you. I'm using JBoss v3.2.3. According to that version's download page: (includes Tomcat 4.1.29 JBossWeb HTTP server and JSP/Servlet engine, EJB, CMP2.0, JCA, IIOP, Clustering, JTA, JMX

RE: JNDI and DataSource

2004-04-13 Thread Freddy Villalba Arias
Huang [mailto:[EMAIL PROTECTED] Enviado el: lunes, 12 de abril de 2004 20:57 Para: Tomcat Users List Asunto: RE: JNDI and DataSource Where did you put your db driver jar file? You want to put it under $CATILINA/common/lib. Regards, Daniel -Original Message- From: Freddy Villalba Arias

RE: Tomcat 5 : Connection Pool to Access database

2004-04-13 Thread Freddy Villalba Arias
Hi Franz, I'm experiencing EXACTLY the same problem, but in Tomcat 4.1 (running from a Jbuilder X). HAVEN't solved it yet. However, I've received some valid feedback that may prove to be effective for you. Let me know of any adavances you make in this regard. Jee... it's good to know I'm not

RE: Tomcat 5 : Connection Pool to Access database

2004-04-13 Thread Freddy Villalba Arias
BTW, the topic is JNDI and DataSource and I'm trying to connect to an Oracle DB. :) Freddy. -Mensaje original- De: Francesco Pellegrini [mailto:[EMAIL PROTECTED] Enviado el: martes, 13 de abril de 2004 9:28 Para: Tomcat-User-ML Asunto: Tomcat 5 : Connection Pool to Access database

JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
Hi everybody, This is a fairly simple problem, however this is one of those days a huge truck could easily pass over you without you even noticing it... anyway, here it goes! The environment is: JBuilder X + Tomcat 4.1 + DBCP The problem: I want to obtain a DB connection through a

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
I MEANT OVER ME!!! Sorry... as you can see, I'm a little burned-out here... Thankx. -Mensaje original- De: Freddy Villalba Arias Enviado el: lunes, 12 de abril de 2004 15:44 Para: [EMAIL PROTECTED] Asunto: JNDI and DataSource Hi everybody, This is a fairly simple problem, however

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
2004 17:32 Para: Tomcat Users List Asunto: Re: JNDI and DataSource You have a default context right after the wa context that doesn't specify a Resource . Is that what you meant? Sandy On Apr 12, 2004, at 9:44 AM, Freddy Villalba Arias wrote: [...] /ResourceParams

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
reloadable=true /Context /Host /Engine /Service /Server HTH Sandy On Apr 12, 2004, at 11:36 AM, Freddy Villalba Arias wrote: Yes and no... :) I have only one web application to be deployed (wa). Then, I read in some places that it's mandatory to have a default

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
, at 18:35 Europe/Brussels, Freddy Villalba Arias wrote: image.tiff     Hi Sandy,   Thanks, it certainly looked better than mine. I appreciate it. However, the problem persists...   Any other suggestion? (I'll keep looking at it, too... obviously)     -Mensaje original

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
- Our JTA for your transactions On maandag, apr 12, 2004, at 18:35 Europe/Brussels, Freddy Villalba Arias wrote: image.tiff     Hi Sandy,   Thanks, it certainly looked better than mine. I appreciate it. However, the problem persists...   Any other suggestion? (I'll keep looking