Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
Hi all, I'm new in this mailling list I'm currently end up ways to solve problem out of memory in tomcat this is startup script in my Linux Fedora Core 2 CATALINA_OPTS= -Djava.awt.headless=true -server -Xss128k -Xincgc -Xms256m -Xmx256m CPU is on 1Giga Memory and the problem out of memory,

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
On Tuesday 20 September 2005 20:56, Allistair Crossley wrote: You'll almost likely find that the reload via Ant does not free up all resources and so each time you perform a reload you'll be leaking some memory resulting in OOME after a week. 3 things to do; Get a profiler to see where you

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
On Tuesday 20 September 2005 21:11, Sonja Löhr wrote: I know this problem very well, since I worked on a very memory-consuming app where I coulnd't even reload twice. It has nothing to do with ant, and i think I also had such a case with tomcat 5.5 (now working on normal webapps ;-) what

Can we Trust Runtime.freeMemory() information on tomcat

2005-09-20 Thread NoKideen
hi, Can we trust information about Free memory available to tomcat using Runtime.freeMemory() ? so if those memory won't go nearer to 0 (zero) it won't have problem Out of Memory ? - To unsubscribe, e-mail: [EMAIL PROTECTED]

Automatically Quit from Tomcat if Exception found (Out of Memory Exception)

2005-09-21 Thread NoKideen
Hi, I just worried that my tomcat hangs, if my Probelm Out of Memory occurs, then there will no ways I can stop Tom cat else than use #kill -9 pid_tomcat in my Linux, what can I do in TOmcat so if those out of memory problem occurs, tomcat will quit by it self, then I can prepate in my

ConnectionPool JDBC3, Testing with realtime multiple client

2005-09-22 Thread NoKideen
Somebody please help me , example how to make A DataSource in server.xml/web.xml or in webapps/testapps/WEB-INF/web.xml using postgresql and an example to access it in servlet . Use a PoolConnection, so only connect once, the other use that connection. thank you, currently I write data

Run Tomcat From Own Java Application

2005-09-23 Thread NoKideen
It least I install JProbe Free Edition, I see that JProbe can run Tomcat from JProbe it self, .. How we can build application to run Tomcat, not a Bash Script but A Java Application ... example, we have provide CLASSPATH , and all things. thanks

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread NoKideen
On Tuesday 27 September 2005 15:36, Seak, Teng-Fong wrote: My webapp needs some application string variables for configuration. For the moment, I hard-code them as class static properties and compiled. But I'd like to know if there's any method to define such variables in a text file,

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread NoKideen
On Tuesday 27 September 2005 16:48, Jilles van Gurp wrote: NoKideen wrote: this is example to to read - import lib.ConfLineSeparator; ... ... ConfLineSeparator c = new ConfLineSeparator(/whereis/thefile/file.conf); out.println

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

2005-09-27 Thread NoKideen
is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 I'd try as tomcat , but there is error even if I do # chown -R tomcat:root /usr/tomcat/* - To unsubscribe, e-mail: [EMAIL

PoolConnection always build new Connection

2005-10-08 Thread NoKideen
HI, currently I use Pool Connection like this bottom here, And Works. Only one Connection is made for every COnnection made then ... I tried to recompile for a code changes, a new connection is built again, so every recompile DataSource is built, so the old connection is leak, and the new code