You need to add a line in in your form:
Then in your servlet GetPost() method you put this filename in a variable:
String filename;
filename = req.getParameter("filename");
Then instead of part.write("samplefile");
do:
part.write(filena
My dump file:
-rw-r--r-- 1 root root 1101517561 Feb 23 20:13 heap
When I run jhat on this I get:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Is there a way to make jhat use more memory? I cannot find a command line
option that does this.
Thanks
jon soons
-
, February 21, 2010 4:15 PM
To: Tomcat Users List
Subject: Re: Restart one webapp
Jonathan Soons wrote:
>
> I have one webapp that randomly freezes. I detect this with a script and
> restart tomcat. I would prefer to restart just the one webapp the way the
> manager does.
Are you
sent, awaiting response... 401 Unauthorized
Authorization failed.
www:~#
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Sent: Saturday, February 20, 2010 10:15 AM
To: Tomcat Users List
Subject: RE: Restart one webapp
> From: Jonathan So
I have one webapp that randomly freezes. I detect this with a script and
restart tomcat. I would prefer to restart just the one webapp the way the
manager does. Is there a command line way to do this?
jon soons
Java version "1.6.0_14"
Tomcat 5.5.27
Debian Linux 2.6.24-23-xen
access tomcat
on the first PC via :8080.
Can you tell us the topography of your network? IP addresses, etc? That will
make it far easier to diagnose.
Jonathan Soons
From: Ziggy [zigg...@gmail.com]
Sent: Tuesday, September 15, 2009 5:42 PM
To: Tomcat Users
Tom, Do you have a default gateway?
If you can access anything outside your LAN then you must have one.
It seems your tomcat box does not know about it.
Jonathan Soons
-
To unsubscribe, e-mail: users-unsubscr
UTF-8.
If you are using a stock Debian kernel this will work without
recompiling.
This solved some problems for me but I use en_US.utf8
jonathan soons
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e