RE: Get active session list

2012-11-20 Thread Cosio, Raul
As far as I know there is no way to get the list of active sessions for security reasons, some time ago I wanted to display in my application a list of active sessions, what I did is to implement some listeners, it is tricky but fun once you understand how it works. The first listener I impleme

RE: Problem with uploading large files

2012-08-17 Thread Cosio, Raul
I wonder if you are downloading to a FAT formattted drive which has a limit of 4GB per file. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Viernes, 17 de Agosto de 2012 08:56 a.m. To: Tomcat Users List Subject: Re: Problem with uploading large files

RE: Redeploy leaks

2009-01-03 Thread Cosio, Raul
Memory leak is an advanced task. But once understood is very easy to fix them, just follow some simple rules, most common situations are: 1) Not de-registering jdbc driver, 2) shutdown log4j after use. To de-register jdbc driver just put this code in the contextDestroyed() method inside a ServletC

RE: FW: Rotate stdout_xxx.log without Restart Tomcat

2008-08-05 Thread Cosio, Raul
I run tomcat under "java service wrapper" little slow to install but great to work with, and it supports rolling of logs... http://wrapper.tanukisoftware.org/doc/english/props-nt.html Raúl Cosío Business Technology (+52) 55 5481 9600 ext 9333

RE: undeploy doesn't completely remove classes from memory

2006-09-14 Thread Cosio, Raul
Finding memory leaks is a complex task, you have to read a lot and know everything about garbage collect, try these links: http://tomcat.apache.org/faq/memory.html http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 -Original Message- From: Gormley, Josh

RE: decompiling classes

2006-09-12 Thread Cosio, Raul
Use DJ Java decompiler, free to try... http://www.download.com/DJ-Java-Decompiler/3000-2417-10046809.html http://dj.navexpress.com/ -Original Message- From: Steve R Burrus [mailto:[EMAIL PROTECTED] Sent: Jueves, 07 de Septiembre de 2006 10:53 p.m. To: Tomcat Users List Subject: Re: decom

RE: Handling huge amount data

2006-09-12 Thread Cosio, Raul
I'm pretty sure you have a memory leak in your program. For year I've been thinking the JVM never returns memory and only increases it when needed, but after many weeks of experimentation, reading and analysis now I know the JVM reduces the java heap, when it doesn't I would look for memory leak

RE: out of memory error

2006-07-24 Thread Cosio, Raul
This link may help... http://tomcat.apache.org/faq/memory.html -Original Message- From: Shinya Koizumi [mailto:[EMAIL PROTECTED] Sent: Jueves, 20 de Julio de 2006 07:10 p.m. To: Tomcat Users List Subject: Re: out of memory error One of solution for out of memory problem is to upgrade

FW: Deploying web application thats not located in the webapps di rectory

2006-07-18 Thread Cosio, Raul
This is what I do: Are you missing the "/" at the end? Or including an tag? -Original Message- From: tomjerry [mailto:[EMAIL PROTECTED] Sent: Jueves, 13 de Julio de 2006 12:20 p.m. To: users@tomcat.apache.org Subject: Deploying web application thats not located in the webapps direct

RE: Tomcat shutdowns unexpectedly - Please help

2006-07-18 Thread Cosio, Raul
David, - Do you have in your web.xml some kind of tag sometimes used to start a background thread that might be causing the problem? Unfortunately I work with WinXP and not everithing is written to catalina.out, what I do is run tomcat in a DOS prompt, if it hangs then I can read all the output g