out of memory when there is plenty

2005-02-19 Thread Oleg
Windows 2003 Tomcat 5.0.28 Ok I searched and searched endless and still cannot understand what the problem in my case. Ok, I understand that there can be a leak in teh code and thats why Tomcat runs out of memory. However, the server got total 2GB Ram memory, Tomcat is set to use min 512, max

Re: out of memory when there is plenty

2005-02-19 Thread shakeel
how did you set min and max values for memory in tomcat 5 From: Oleg [EMAIL PROTECTED] Date: 2005/02/19 Sat AM 04:09:12 EST To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: out of memory when there is plenty Windows 2003 Tomcat 5.0.28 Ok I searched and searched endless

Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: out of memory when there is plenty

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Programmatically call the error page for a 500 error

2005-02-19 Thread Tim Funk
Try tomcat 5.5.7 and see if you get the same result. -Tim Chris Hyzer wrote: Hello, This works in Tomcat 4, but not 5 (5.0.25) response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); RequestDispatcher dispatcher = request.getRequestDispatcher(somePage); dispatcher.forward(request,

RE: out of memory when there is plenty

2005-02-19 Thread Joe Reger, Jr.
Throw the following code into a jsp and view it. It'll give you a little graph showing you how much memory Tomcat can use, has allocated and is using. This will tell you if you've properly set the max memory value and may help you figure out what's happening. Best, Joe StringBuffer mb = new

RE: out of memory when there is plenty

2005-02-19 Thread Caldarale, Charles R
From: Oleg [mailto:[EMAIL PROTECTED] Subject: out of memory when there is plenty My question is what can cause Tomcat to report out of memory error when so much is still available. As has been discussed before on this mailing list, the OutOfMemory exception is somewhat of a catch-all. The

Visibility of resources under WEB-INF/classes

2005-02-19 Thread Rico
Hello Everyone. I'm using Tomcat 4.1.31, and observed a similar problem on 4.1.18. It is possible to deploy web applications to a location of one's choice, other than CATALINA_HOME/webapps/app_folder, by adding a Context to server.xml. With such a setup, I've been stuck with Tomcat not seeing

Re: Programmatically call the error page for a 500 error

2005-02-19 Thread Rick Wong
Even if Tomcat 5 works this way, you are counting on a container specific implementation behavior that may be changed in future version. Why not do it with a standard servlet approach? You can specify an error handler in web.xml to handle different exception classes. error-page

Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-19 Thread Michael Greer
I have been looking around the web to figure out how to implement server quiescence (starving sessions from server in balanced set to take it down for maintenance). The documentation on the jakarta site confused me, and it looks like I am not alone. More people have questions than answers. I

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-19 Thread Mladen Turk
Michael Greer wrote: Should I take the trouble? local_worker and local_worker_only flags will be deprecated. (already are with the current 1.2.9-dev) There has been more powerful mechanism implemented, that is IMO more clearer and acts like it should. 1.2.9 has shared memory and status page that

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-19 Thread Michael Greer
Mladen , That sounds like the right solution! I think I remember the status page from jk2, and it is a good idea. -Michael Greer On Feb 19, 2005, at 2:29 PM, Mladen Turk wrote: Michael Greer wrote: Should I take the trouble? local_worker and local_worker_only flags will be deprecated. (already

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-19 Thread Mladen Turk
Michael Greer wrote: Mladen , That sounds like the right solution! I think I remember the status page from jk2, and it is a good idea. Yes, we are trying to backport all goodies from jk2 now that is deprecated and no longer maintained. Not only that. It will have options to fully edit properties,

Spam?

2005-02-19 Thread Behrang Saeedzadeh
Is everybody recieving this spam email too with the title like it's time to go? Regards, -- Behrang Saeedzadeh http://www.jroller.com/page/behrangsa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Visibility of resources under WEB-INF/classes

2005-02-19 Thread sven morales
Hi, Are you putting your classes at tomcat5/webapps/yourwebapp/WEB-INF/classes ? or the corresponding tomcat5/webapps/youwebapp/WEB-INF/lib if it is archived? aka_Sergio --- Rico [EMAIL PROTECTED] wrote: Hello Everyone. I'm using Tomcat 4.1.31, and observed a similar problem on 4.1.18.

ThreadDeath with tomcat 5.5.7 and bouncycastle

2005-02-19 Thread Adam Jenkins
Hi All, I'm getting a really odd error when I try to init a ciphers (or any other artifact for that matter) using BC as the provider in tomcat 5.5.7 (struts application). The call is simply final Cipher rsaCipher = Cipher.getInstance(RSA/ECB/PKCS1Padding, BC); and I get the following:

Re: Sysadmin question

2005-02-19 Thread ed
On Sat, 12 Feb 2005 23:41:21 + ed [EMAIL PROTECTED] wrote: I currently have a number of sites in /var/www/sites/virtual_site directories, and I would like to enable them all with JSP abilities. Can someone tell me what I should do with Tomcat 4 in order to accomplish this. I am very new

RE: Sysadmin question

2005-02-19 Thread Caldarale, Charles R
From: ed [mailto:[EMAIL PROTECTED] Subject: Re: Sysadmin question Hi, I posted this about 15 days ago, does anyone have any information they can provide to help me with this? 1) Read the Servlet and JSP specs from java.sun.com. 2) Read the Tomcat documentation on jakarta.apache.org/tomcat.

Re: out of memory when there is plenty

2005-02-19 Thread Oleg
Hey guys, thanks for response. Yes JVM is 1.4.2_06 So it can be pretty much anything not just the memory, alright that makes perfect sense, but creates a bigger problem, how do I find out now whats wrong. Will memory profiling help? JProbe or Optimizeit I think those are the only two I keep on

RE: out of memory when there is plenty

2005-02-19 Thread Caldarale, Charles R
From: Oleg [mailto:[EMAIL PROTECTED] Subject: Re: out of memory when there is plenty how do I find out now whats wrong. Try specifying -verbose:gc on the command line; this will at least tell you whether or not it is a heap memory problem. Also, look at the stack trace from the exception

Session replication with jk 1.2.8

2005-02-19 Thread Dan Carwin
I'm setting up session replication in tomcat 5.0.30, using apache 2.0.52 with jk 1.2.8 as the LB mechanism. I'm currently failing to get sessions to stick to a tomcat instance. I used this article for a reference: http://www.javaworld.com/javaworld/jw-12-2004/jw-1220-tomcat.html But the author

Re: ThreadDeath with tomcat 5.5.7 and bouncycastle

2005-02-19 Thread Adam Jenkins
FYI This seems to relate to tomcat bug 26372. On Sun, 2005-02-20 at 09:00 +1100, Adam Jenkins wrote: Hi All, I'm getting a really odd error when I try to init a ciphers (or any other artifact for that matter) using BC as the provider in tomcat 5.5.7 (struts application). The call is

Re: out of memory when there is plenty

2005-02-19 Thread Oleg
The out of memory errors all look like: 2005-02-17 14:55:48 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError or 2005-02-17 15:10:33 ApplicationDispatcher[/myuserapp1] Servlet.service() for servlet jsp threw exception

RE: out of memory when there is plenty

2005-02-19 Thread Caldarale, Charles R
From: Oleg [mailto:[EMAIL PROTECTED] Subject: Re: out of memory when there is plenty 2005-02-17 14:55:48 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError You need to find the stack trace that should have been generated at the time of

moving all classes to shared

2005-02-19 Thread Oleg
If I have 200 users deployed on tomcat with 99% using identical classes, would it be ok to move all classes to shared/classes directory? Will that give better memory usage? Also, can I later add the classes that are different directly to WEB-INF/classes and will they be given priority? Thank you

Re: Re: out of memory when there is plenty

2005-02-19 Thread shakeel
JProfiler is best in case of Tomcat. Shakeel. From: Oleg [EMAIL PROTECTED] Date: 2005/02/19 Sat PM 06:15:10 EST To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: out of memory when there is plenty Hey guys, thanks for response. Yes JVM is 1.4.2_06 So it can be pretty

Avoid Directory Listings

2005-02-19 Thread Eduardo Andrés Alfonso Sierra
Hi I'm trying to stop tomcat from list contents of directories. I've tried securing it and it works but has the BIG problem that you must secure every directory separated. Is there any posibility to secure the directory listings of every directory in an application ?? Thanks in advance. I'm