Re: Tomcat dies suddenly

2010-02-12 Thread André Warnier
Carl, I would just like to mention that in 90% of the cases where I have seen a Seg Fault, it was due to the attempted execution of a piece of binary code not meant for the current platform. (It's been a while since I've seen one though.) I have no idea what piece of native code would be used

Re: Character encoding for POST x-www-form-urlencoding (a success story)

2010-02-12 Thread Xie Xiaodong
Very nice work, Thank you for the sharing. On Fri, Feb 12, 2010 at 11:23 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > All, > > My company recently decided to alter our password complexity > requirements for our webapp, and

Re: tomcat 6 on solaris losing cookies

2010-02-12 Thread Konstantin Kolinko
2010/2/13 George Baxter : > > Hello, > > We're running into an issue with tomcat 6.0.18 running on solaris. > Occasionally a request will come through that has cookies in the header, but > the request.getCookies() returns no cookies. How do you observe that? You mean that it is present in HttpServ

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/12/2010 3:34 PM, André Warnier wrote: > Carl wrote: >> Andre, >> >> Thanks for the response. >> >> I have read almost all of your posts and realy enjoy the way to take >> problems apart. >> >> Keep on thinking. >> > I'm not quite sure how

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/12/2010 4:59 PM, Carl wrote: > Darn, I thought we were onto something here but, as you suspected, the > line contains a lot of parameters and was truncated. So, now, I think > we know the JVM is seg faulting, we just don't know where or wh

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/12/2010 4:44 PM, Carl wrote: > Now, this is embarrassing: I just checked the other server and it also > has a core file with the date and time of the last failure in the > tomcat/bin directory. And, it shows a seg fault at exactly the same

Character encoding for POST x-www-form-urlencoding (a success story)

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, My company recently decided to alter our password complexity requirements for our webapp, and I got to implement the changes. What fun! We use a regular expression to enforce our password complexity, and it needed to be changed. Since we are sta

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Konstantin, Both servers (T105 and T110) have temperature monitoring. I pulled and sent some information (don't remember how I got it) to Dell and they said the system was operating in a normal range. Also, the fact that it occurs on two different, brand new boxes makes me think it is unlike

Re: Tomcat dies suddenly

2010-02-12 Thread Konstantin Kolinko
Can it be hardware? Do you have ways to monitor temperature in your box? http://www.bitwizard.nl/sig11/ Best regards, Konstantin Kolinko 2010/2/13 Carl : > Chuck, > > Darn, I thought we were onto something here but, as you suspected, the line > contains a lot of parameters and was truncated.  So

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chuck, Darn, I thought we were onto something here but, as you suspected, the line contains a lot of parameters and was truncated. So, now, I think we know the JVM is seg faulting, we just don't know where or why. I'm guessing we have to somehow get a stack trace at the point of failure... a

Re: tomcat response chunk size

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 2/12/2010 3:31 PM, fredk2 wrote: > I just remembered after i did my post that I can set in apache a > BrowserMatch downgrade-1.0 for this client - works like a charm. Sounds good. > any reason with 8K being a good number and where that > wo

RE: tomcat 6 on solaris losing cookies

2010-02-12 Thread George Baxter
Since nabble posts (but not edits) are also being sent to tomcat user mailing lists, I'll repost my question and apologize for the spam now! Hello, We're running into an issue with tomcat 6.0.18 running on solaris. Occasionally a request will come through that has cookies in the header, but th

RE: Tomcat dies suddenly

2010-02-12 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: Re: Tomcat dies suddenly > > How does this line: > > `/usr/local/java/bin/java - > Djava.util.logging.config.file=/usr/local/tomcat/conf' > > know that it is supposed to use the logging.properties > file if that is the problem? It doesn't kn

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chris, I was preparing to try out your checking the jvm exit code and noticed (drum roll) that this morning's failure left a core dump in the tomcat/bin directory. Opening it with gdb -c yielded: This GDB was configured as "x86_64-slackware-linux". (no debugging symbols found) Core was gener

Re: Tomcat dies suddenly

2010-02-12 Thread André Warnier
Donn Aiken wrote: ... For each leaked connection, we had an open file descriptor that never went away, until the process went away. If memory serves, we finally found it by looking at entries in /proc/{pid of jvm}/fd, doing a bunch of find . | wc and watching that over time. As another flash

Re: tomcat 6 on solaris losing cookies

2010-02-12 Thread Hassan Schroeder
On Fri, Feb 12, 2010 at 12:55 PM, George Baxter wrote: > > Yes, yes, I accidentally hit return instead of tab when jumping from subject > line to message.. mea culpa!  I filled in the text with an edit later! I, for one, welcome our vistor from the future, where emails can be retroactively edited

Re: Tomcat dies suddenly

2010-02-12 Thread Donn Aiken
Carl - I did have something like this happen to me - not with Tomcat but with another JEE container. The container would run for a while, without incident, then suddenly simply die, with nothing in any log, and not on any apparent time schedule. We had some code that was manipulating LDAP that h

RE: tomcat 6 on solaris losing cookies

2010-02-12 Thread George Baxter
Yes, yes, I accidentally hit return instead of tab when jumping from subject line to message.. mea culpa! I filled in the text with an edit later! n828cl wrote: > > Appears to be losing more than just cookies... > > Anybody have lemon juice so we can read the hidden text? > > - Chuck > >

Re: Tomcat dies suddenly

2010-02-12 Thread André Warnier
Carl wrote: Andre, Take my comment as a compliment because that is the way it was meant... you have helped a lot of people on this least and I, for one, really appreciate that. I was waiting to see if someone could give me an idea how to implement what you remembered and, if not, then I wou

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Andre, Take my comment as a compliment because that is the way it was meant... you have helped a lot of people on this least and I, for one, really appreciate that. I was waiting to see if someone could give me an idea how to implement what you remembered and, if not, then I would google aro

RE: tomcat 6 on solaris losing cookies

2010-02-12 Thread Caldarale, Charles R
Appears to be losing more than just cookies... Anybody have lemon juice so we can read the hidden text? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Konstantin, When I shut Tomcat down using shutdown.sh, I see these messages (from 1:10AM this morning): Feb 12, 2010 1:10:02 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Feb 12, 2010 1:10:02 AM org.apache.coyote.http11.Http11Protocol pause INFO: P

tomcat 6 on solaris losing cookies

2010-02-12 Thread George Baxter
-- View this message in context: http://old.nabble.com/tomcat-6-on-solaris-losing-cookies-tp27569008p27569008.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@to

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chris, That script would also (I think) kill the VisualJVM and my small java server, wouldn't it. That is not happening... those are staying very much alive, just Tomcat goes down. Thanks, Carl - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Frid

Re: Tomcat dies suddenly

2010-02-12 Thread André Warnier
Carl wrote: Andre, Thanks for the response. I have read almost all of your posts and realy enjoy the way to take problems apart. Keep on thinking. I'm not quite sure how to take the above answer.. So, just in case, and maybe to my own ultimate embarassment, I want to indicate that I was s

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chuck, Didn't know that but there is nothing in the catalina.2010-02-12.log except the lines from stopping Tomcat at 1:10AM this morning (the scripted restart after rolling out the changes from yesterday.) There is nothing in any of the other logs in the ~/tomcat/logs directory either. Than

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread Caldarale, Charles R
> From: millerKiller [mailto:smille8...@hotmail.com] > Subject: RE: Socket Error in tomcat, white screen in browser > The socket I showed before is the socket that Tomcat is using > when I open it. That's not a socket, it's a connection. So where are the other two ports Tomcat should also be l

Re: tomcat response chunk size

2010-02-12 Thread fredk2
thanks for the reply. I just remembered after i did my post that I can set in apache a BrowserMatch downgrade-1.0 for this client - works like a charm. any reason with 8K being a good number and where that would be set? Thanks again - Fred Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNE

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chris, Another great idea. I can deal with huge log files a whole lot better than continued failures. Thanks, Carl - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Friday, February 12, 2010 3:01 PM Subject: Re: Tomcat dies suddenly -BEGIN PGP S

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Andre, Thanks for the response. I have read almost all of your posts and realy enjoy the way to take problems apart. Keep on thinking. Thanks, Carl - Original Message - From: "André Warnier" To: "Tomcat Users List" Sent: Friday, February 12, 2010 2:49 PM Subject: Re: Tomcat die

Re: Socket Error in tomcat, white screen in browser

2010-02-12 Thread André Warnier
millerKiller wrote: I apologize, I put across my last post a little misleading. The socket I showed before is the socket that Tomcat is using when I open it. Local Address Foreign Address - 127.0.0.1:8005 0.0.0.0.0 I am running

Re: Tomcat dies suddenly

2010-02-12 Thread Konstantin Kolinko
2010/2/12 Carl : > Chuck, > > Oooo, that's interesting.  Just tried kill -9 xxx (the process id of the > java process) on one the servers not currently in production and it put > nothing in the catalina.out file and nothing in the Slackware messages file. > > Time to test the ideas from Chris and P

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread millerKiller
I apologize, I put across my last post a little misleading. The socket I showed before is the socket that Tomcat is using when I open it. > Local Address Foreign Address > - > 127.0.0.1:8005 0.0.0.0.0 I am running tomcat through th

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/12/2010 3:03 PM, Carl wrote: > Oooo, that's interesting. Just tried kill -9 xxx (the process id of the > java process) on one the servers not currently in production and it put > nothing in the catalina.out file and nothing in the Slackwar

RE: Tomcat dies suddenly

2010-02-12 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: Re: Tomcat dies suddenly > > Just tried kill -9 xxx (the process id of the java process) on > one the servers not currently in production and it put nothing > in the catalina.out file and nothing in the Slackware messages > file. The message w

Re: tomcat response chunk size

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 2/12/2010 2:48 PM, fredk2 wrote: > I have an old client that does not understand the Transfer-Encoding: > chunked. My tomcat response is chunked with hex 2000 (8K and a little bit > less via AJP: 1FF8). Do you mean that it's returned in chu

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chuck, Oooo, that's interesting. Just tried kill -9 xxx (the process id of the java process) on one the servers not currently in production and it put nothing in the catalina.out file and nothing in the Slackware messages file. Time to test the ideas from Chris and Peter. Thanks for your in

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/12/2010 2:42 PM, Carl wrote: > Great ideas (did you see Chris's response with a way of testing the exit > code?) [snip] > There is no native code in the application (used to do a lot of work in > C and I am familiar with mayhem of buffer

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Konstantin, Your response provides some interesting ideas. Remember that I had tried shutting Tomcat down by killing (kill -9 xxx where xxx is the process id) the java process and saw the same ending in the logs that I have been seeing when the system 'fails'. So it would seem that I could t

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread Caldarale, Charles R
> From: millerKiller [mailto:smille8...@hotmail.com] > Subject: RE: Socket Error in tomcat, white screen in browser > > Here is my port information in conf/server.xml: > > redirectPort="8443" /> > So there are three ports configured for this Tomcat: 8005, 80, and 8009. > I pull up netstat -a

Re: Tomcat dies suddenly

2010-02-12 Thread André Warnier
Carl wrote: .. a lot of messages, and I have not yet read all of them, but I sympathise with the predicament. I am very far from any kind of Java expertise, so just something that I vaguely seem to remember, although it may be from a very long time ago, not applicable, already mentioned by so

tomcat response chunk size

2010-02-12 Thread fredk2
Hi, I have an old client that does not understand the Transfer-Encoding: chunked. My tomcat response is chunked with hex 2000 (8K and a little bit less via AJP: 1FF8). Is there a way to configure Tomcat's chunk size to e.g 100K or another question where or why is it set to 8K? Interestingly, i

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Tony, I tried stressing it with JMeter and came up no results. I could push it hard enough to force an OOM but it performed/failed as expected leaving tracks all over the place. The stressing was not very sophisticated (just a couple of the production jsp's) but, like I said, it didn't show

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Peter, Great ideas (did you see Chris's response with a way of testing the exit code?) Of course I am willing to add some debug code (I'll do almost anything at this point)... I will look at the links you provided and try it out. I've contented right along that the major issue is that the f

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread millerKiller
Here is my port information in conf/server.xml: I pull up netstat -ano Here is the only thing that relates to these port numbers: Local Address Foreign Address - 127.0.0.1:8005 0.0.0.0.0 So it appears that nothing is using

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chris, Thank you... I would never have thought about this script. I'll fire that baby up tonight. Thanks, Carl - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Friday, February 12, 2010 10:49 AM Subject: Re: Tomcat dies suddenly -BEGIN PGP SI

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Tony, Thanks for your response. Way back (several months ago), I did start with an older version of Tomcat. When it showed the failures, I moved forward to the current version with a step in between. I did not try to go back to 5.5 or Java 1.5 (and I think that would be counter productive.)

RE: Re-deploying a war file - RESOLVED

2010-02-12 Thread Joe Wallace
> -Original Message- > After reading the Tomcat 6.0 User Guide, Section 4, Deployer > -Deploying on a running war Tomcat I expected to be able to > just drop the updated war file into the web apps folder, > overwriting the old war file of the same name and it would > automatically re

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread Caldarale, Charles R
> From: millerKiller [mailto:smille8...@hotmail.com] > Subject: RE: Socket Error in tomcat, white screen in browser > > I believe I have Tomcat configured to go through port 80 That configuration is in conf/server.xml; be aware that Eclipse often uses its own Tomcat config, not the one you think

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread millerKiller
Thanks for the quick response Chuck. I might need a little guidance on some of the things you mentioned. I believe I have Tomcat configured to go through port 80 and it is going through my machine locally. Where do I check to make sure? I checked windows firewall and it is allowing eclipse to

Re: digest algorithm in BASIC auth

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio, On 2/12/2010 6:12 AM, banto wrote: > my tomcat conf has basic auth and i have a the following in web.xml > > > BASIC > The HTML Application > now i´m seeing that the password during the auth is digested and has value. > > Authorization:

RE: Socket Error in tomcat, white screen in browser

2010-02-12 Thread Caldarale, Charles R
> From: millerKiller [mailto:smille8...@hotmail.com] > Subject: Socket Error in tomcat, white screen in browser > I don't understand, my tomcat was working last week just fine and now > it is acting weird? Is there anyone that can help me figure it out? Welcome to the Wacky World of Windows. 1)

RE: Tomcat dies suddenly

2010-02-12 Thread Caldarale, Charles R
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Subject: Re: Tomcat dies suddenly > > Actually, 6.0.24 version *will* exit silently if it is terminated > by a signal. > > To reproduce (on Windows): > 1. Run Tomcat in a console window. > 2. Press Ctrl+C > 3. Tomcat shutdowns in sever

Socket Error in tomcat, white screen in browser

2010-02-12 Thread millerKiller
I am having a problem a strange problem in my Tomcat application. Before I get started then here is my system information: - Eclipse 3.4.2 - apache-tomcat-6.0.20 It used to work, but now it doesn't. The problem is when I try to view my tomcat pages in my browser then it goes straight to a whi

Re: Tomcat dies suddenly

2010-02-12 Thread Konstantin Kolinko
2010/2/12 Carl : > More details: the Dell 105 has an AMD processor and (currently) 8 GB memory. > The T110 has a Xeon 3440 processor and 4 GB memory.  The current Java > version is 1.6.0_18-b07.  The current Tomcat version is 6.0.24. Actually, 6.0.24 version *will* exit silently if it is terminate

RE: download a small file from tomcat server

2010-02-12 Thread Joseph Morgan
Go to the sun forums, sign up there, and then proceed to the correct area and ask your questions there. What you are asking is all very primitive programming, and many there will be able to give you answers. As a friendly hint, some out there are very abrasive towards these kinds of questions,

Re: Tomcat dies suddenly

2010-02-12 Thread anthonyvierra
Is it possible to run this server with a basic tomcat application under load to rule out the application causing the crash? On Fri, Feb 12, 2010 at 4:20 AM, Carl wrote: > This problem continues to plague me. > > A quick recap so you don't have to search your memory or archives. > > The 10,000 fo

Re: Tomcat dies suddenly

2010-02-12 Thread Peter Crowther
On 12 February 2010 16:43, Carl wrote: > 1.  There is no place in the code that we intentionally put an exit().  I > have grepped for exit() and found nothing.  The system stops in a different > place every time... the last entry in catalina.out has never been the same > (over 15-20 failures.) I'

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Jeffrey, Thanks for taking the time to give this some thought. 1. There is no place in the code that we intentionally put an exit(). I have grepped for exit() and found nothing. The system stops in a different place every time... the last entry in catalina.out has never been the same (over

Re: download a small file from tomcat server

2010-02-12 Thread Pid
On 12/02/2010 16:21, albertkao wrote: Joseph Morgan-2 wrote: Albert, This is a topic for a web programming forum, not a Tomcat forum. In the meantime, just copy the file to your local machine, create an HTML page with a link to the file, and test your JS. If in tomcat, stick the file in t

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chris, Thanks for your response. I'll try to find a memtest for 64 bit. On the 32 bit topic. I have run successfully for several years on a Slackware 12.1 32 bit system (Java 1.5 something, Tomcat 5.5.25.) When I brought up Slackware 13.0 32 bit, and the latest Tomcat and Java (32 bit, of

RE: download a small file from tomcat server

2010-02-12 Thread albertkao
Joseph Morgan-2 wrote: > > Albert, > > This is a topic for a web programming forum, not a Tomcat forum. > > In the meantime, just copy the file to your local machine, create an > HTML page with a link to the file, and test your JS. If in tomcat, > stick the file in the tomcat root, create

performance problems with Tomcat 6 and JSF 1.2

2010-02-12 Thread Michael Heinen
Hi, I noticed serious performance problems with JSF 1.2 and Tomcat which seems to be caused by Tomcat. One major performace problem is bug https://issues.apache.org/bugzilla/show_bug.cgi?id=48600 Setting metadata-complete="true" in web.xml improved the speed significantly But there seems to be

Re: What governs a URL connection timeout?

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/12/2010 10:46 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: What governs a URL connection timeout? >> >> It's possible that (the other) Chris is using a library > > The

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 2/12/2010 10:31 AM, Jeffrey Janner wrote: > Also, the OP mentioned that it doesn't seem to occur if only the > production app is being hit. It takes someone using one of the other > copies first to generate the problem. So the questions o

RE: What governs a URL connection timeout?

2010-02-12 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: What governs a URL connection timeout? > > It's possible that (the other) Chris is using a library The OP already posted the code of interest, and it would be simple to modify it to set an appropriate timeout value,

Re: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-12 Thread Mark Thomas
On 12/02/2010 13:51, Caldarale, Charles R wrote: >> From: Stefan Rainer [mailto:s.rai...@teamaxess.com] >> Subject: AW: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28? >> >> I would now like to optimize the thread configuration of our Tomcat > > There's not much point in trying to optimize an unsu

RE: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-12 Thread Caldarale, Charles R
> From: Stefan Rainer [mailto:s.rai...@teamaxess.com] > Subject: AW: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28? > > if we decide to upgrade our Tomcat 5.0.28 to some > more reason version, should we go to 5.5.* or 6.0.24 ?? Definitely 6.0.24 (or whatever's current when you do move up). Also

RE: Tomcat dies suddenly

2010-02-12 Thread Anthony J. Biacco
You haven't said if you tried a previous java version or tomcat version (6.0.20)? -Tony Sent from my Windows® phone. -Original Message- From: Carl Sent: Friday, February 12, 2010 5:22 AM To: Tomcat Users List Subject: Re: Tomcat dies suddenly This problem continues to plague me. A q

RE: Tomcat dies suddenly

2010-02-12 Thread Jeffrey Janner
I've been following this thread with interest, but haven't weighed in since I'm doing much development these days. I have to say that I'm agreeing with Chuck and Chris that it is a resource issue - especially since it doesn't appear to be a problem unless under load. Also, the OOP mentioned th

Re: What governs a URL connection timeout?

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 2/12/2010 7:34 AM, Peter Crowther wrote: > Chris, did you actually read the link or was that a knee-jerk > response? Notably the following, taken from between the first and > second boxed pieces of code on that page: > > "The openStream()

AW: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-12 Thread Stefan Rainer
Hello, if we decide to upgrade our Tomcat 5.0.28 to some more reason version, should we go to 5.5.* or 6.0.24 ?? Our most important requirement is "high performance", memory consumption is not so important. Thank you! -Ursprungliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.ca

Re: Tomcat dies suddenly

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/12/2010 7:20 AM, Carl wrote: > The 10,000 foot view: new Dell T105 and T110, Slackware 13.0 (64 bit), > latest Java (64 bit) and latest Tomcat. Machines only run Tomcat and a > small, special purpose Java server (which I have also moved t

RE: download a small file from tomcat server

2010-02-12 Thread Joseph Morgan
Albert, This is a topic for a web programming forum, not a Tomcat forum. In the meantime, just copy the file to your local machine, create an HTML page with a link to the file, and test your JS. If in tomcat, stick the file in the tomcat root, create an HTML page with a link to the file, and

Re: problem with tomcat 5.5 and apache AJP

2010-02-12 Thread David Delbecq
A bit late, but we made progress in identifying the culprit. It seems that, for some reason, the password we used for AJP connection was the problem. Remove the password both side and everything works happily. We will try less complicated password, assuming that some special caracters were problema

Re: Web application for access folder on server machine

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 2/11/2010 4:35 PM, Paul Chany wrote: > Christopher Schultz writes: >> Wait, why can only some of the "Windows boxes" (clients) access your "PC >> box" (the server)? I would think that if you just want to have shared >> folders, you ought to

download a small file from tomcat server

2010-02-12 Thread albertkao
I like to download a small file (C:\dir1\data.txt) from tomcat server to my local machine which is running a Prototype javascript. How to do that? Any sample code or tutorial? -- View this message in context: http://old.nabble.com/download-a-small-file-from-tomcat-server-tp27564758p27564758.html

RE: tomcat directing

2010-02-12 Thread Blueberry
n828cl wrote: > >> From: Blueberry [mailto:sandro.lamp...@zeitag.ch] >> Subject: RE: tomcat directing >> >> Okey, I'm sorry for my bad English... > > The English was fine, it was the content of the question that was lacking. > >> if the url contains more than "http://srv01/"; e.x. >> "http:/

RE: tomcat directing

2010-02-12 Thread Caldarale, Charles R
> From: Blueberry [mailto:sandro.lamp...@zeitag.ch] > Subject: RE: tomcat directing > > Okey, I'm sorry for my bad English... The English was fine, it was the content of the question that was lacking. > if the url contains more than "http://srv01/"; e.x. "http://srv01/instance"; > then he should

RE: tomcat directing

2010-02-12 Thread Blueberry
n828cl wrote: > >> From: Blueberry [mailto:sandro.lamp...@zeitag.ch] >> Subject: tomcat directing >> >> >> I have Tomcat with Jira. Is there a way to directing so that Tomcat the >> link "srv01\instance" in "srv01" redirect? > > Have someone unfamiliar with your project read the above; can t

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
Chuck, Thanks for your quick reply. I don't think any of the file systems are in danger (we purposely spec'd large disks because they were cheap and we wouldn't have to deal with space shortages.) df gives: Filesystem 1K-blocks Used Available Use% Mounted on /dev/root

RE: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-12 Thread Caldarale, Charles R
> From: Stefan Rainer [mailto:s.rai...@teamaxess.com] > Subject: AW: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28? > > I would now like to optimize the thread configuration of our Tomcat There's not much point in trying to optimize an unsupported, six-year-old version of Tomcat. Your time wou

AW: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-12 Thread Stefan Rainer
Hello, tank you very much, we're running now the described architecture on 64 bit environment! I would now like to optimize the thread configuration of our Tomcat and therefore I would like to use the "manager" information like "Current thread count", "Current thread busy" or "error count: " ...

RE: tomcat directing

2010-02-12 Thread Caldarale, Charles R
> From: Blueberry [mailto:sandro.lamp...@zeitag.ch] > Subject: tomcat directing > > > I have Tomcat with Jira. Is there a way to directing so that Tomcat the > link "srv01\instance" in "srv01" redirect? Have someone unfamiliar with your project read the above; can they make any sense of your qu

RE: Tomcat dies suddenly

2010-02-12 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: Re: Tomcat dies suddenly > > The fact that the failures occur after some amount of processing > implies that the issue is related to memory usage, and, potentially, > caused by a memory leak in the application. Actually, it's looking less and l

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
After the long email I just wrote stating that the failure had never happened early in the day, the system just failed. When it failed, 226MB of the 512MB heap and 60MB of the 384MB permGen space were being used (reported by VisualJVM... I think this should be what was being used at the point o

Re: What governs a URL connection timeout?

2010-02-12 Thread Peter Crowther
Chris, did you actually read the link or was that a knee-jerk response? Notably the following, taken from between the first and second boxed pieces of code on that page: "The openStream() method is actually just a shortcut for openConnection().getInputStream()." ... plus the source of openStream(

Re: What governs a URL connection timeout?

2010-02-12 Thread Chris Mannion
Thanks Peter but we're not using a URLConnection, nor are we explicitly setting any timeouts, as you can see from the code. On 12 February 2010 12:06, Peter Crowther wrote: > A swift Google for: >  java url openStream timeout > reveals: >  http://stuffthathappens.com/blog/2007/09/10/urlopenstream

Re: Tomcat dies suddenly

2010-02-12 Thread Carl
This problem continues to plague me. A quick recap so you don't have to search your memory or archives. The 10,000 foot view: new Dell T105 and T110, Slackware 13.0 (64 bit), latest Java (64 bit) and latest Tomcat. Machines only run Tomcat and a small, special purpose Java server (which I ha

Re: What governs a URL connection timeout?

2010-02-12 Thread Peter Crowther
A swift Google for: java url openStream timeout reveals: http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/ as its first hit. In essence: the timeout is controlled by setTimeout on UrlConnection. On 12 February 2010 11:59, Chris Mannion wrote: > Hi all > > Ho

What governs a URL connection timeout?

2010-02-12 Thread Chris Mannion
Hi all Hoping someone can shed some light on a little puzzle I have. This may be more a Java programming problem than a Tomcat problem so apologies if that is the case but it's specific to a system running on Tomcat so I'm asking here too. One of our servlets is opening a URL connection to hit a

Tomcat web.xml

2010-02-12 Thread Sharda, Ravi
I have set Session-Config/session-timeout eleemnt's value in application's web.xml as 100. However, the sessions seem to timeout in the default 30 minutes. However, setting this value lesser than 30, seems to work fine. Appreciate help on this. Thanks & Best Regds.- Ravi Sharda This communic

Re: digest algorithm in BASIC auth

2010-02-12 Thread Konstantin Kolinko
2010/2/12 banto : > I´m trying all the combination, i mean i´m digesting > > user:realm:password with all of the algorithms but i cannot get that value. > See RFC 2617 or at least http://en.wikipedia.org/wiki/Basic_access_authentication Best regards, Konstantin Kolinko --

tomcat directing

2010-02-12 Thread Blueberry
Hello I have Tomcat with Jira. Is there a way to directing so that Tomcat the link "srv01\instance" in "srv01" redirect? I have a Windows XP Server (I know, I know win XP isn't a server edition ;) ) regards Blueberry -- View this message in context: http://old.nabble.com/tomcat-directing-tp275

digest algorithm in BASIC auth

2010-02-12 Thread banto
Hi all, my tomcat conf has basic auth and i have a the following in web.xml BASIC The HTML Application http://old.nabble.com/digest-algorithm-in-BASIC-auth-tp27562000p27562000.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Read-only tomcat manager app?

2010-02-12 Thread Mark Thomas
On 12/02/2010 09:32, emerson cargnin wrote: > Is there a way to have the manager app to be read-only, so to disable > stop, undeployment and reload of apps through the manager? Try adding a role that only has permission to access /html/list Mark

Read-only tomcat manager app?

2010-02-12 Thread emerson cargnin
Is there a way to have the manager app to be read-only, so to disable stop, undeployment and reload of apps through the manager? regards Emerson - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional command