Re: digest algorithm in BASIC auth

2010-02-13 Thread banto
hi Chris, thank you very much. I was confused because in the HTTP message exchanges between the browser and tomcat i saw that tomcat sent back to the browser the realm value. for that i thought was involved some kind of digest. Antonio Christopher Schultz-2 wrote: -BEGIN PGP SIGNED

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

2010-02-13 Thread Stefan Rainer
Hello, if we follow the hint to use 1.6 JDK instead of 1.5 JDK, do we get performance improvements also with appliactions compiled for 1.5 ? ? ? This is an interesting question to keep compatibility between different servers, which we can not update to 1.6 at the same time and therefore it would

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

2010-02-13 Thread Edoardo Panfili
On 13/02/10 10.50, Stefan Rainer wrote: Hello, if we follow the hint to use 1.6 JDK instead of 1.5 JDK, do we get performance improvements also with appliactions compiled for 1.5 ? ? ? You are running your application using 1.6, you can benefit of all the improvements of the newer Virtual

How to configure tomcat server.xml....

2010-02-13 Thread Munirathinavel
I'm using Tomcat 6.0.18 with Apache2.2 server.Our application is using MS-SQL server 2008. I want to configure server.xml context.xml files Can anyone please tell me how can i configure server.xml context.xml for high performance heavy traffic.. Below i included my current

How to configure tomcat server.xml....

2010-02-13 Thread Munirathinavel
I'm using Tomcat 6.0.18 apache2.2 server I need to know configure my server.xml context.xml for high performance heavy traffic. Can anyone please tell me how to configure those files. server.xml ?xml version='1.0' encoding='utf-8'? Server port=8006 shutdown=SHUTDOWN Listener

Apache Tomcat/httpd websites problem ?

2010-02-13 Thread André Warnier
Hi. Does anyone else experience problems accessing the Apache websites right now ? I am getting Invalid Encoding errors in Firefox 3.5. Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. I would suspect a

Re: Tomcat dies suddenly

2010-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/12/2010 7:29 PM, André Warnier wrote: 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

Re: digest algorithm in BASIC auth

2010-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio, On 2/13/2010 3:01 AM, banto wrote: I was confused because in the HTTP message exchanges between the browser and tomcat i saw that tomcat sent back to the browser the realm value. for that i thought was involved some kind of digest. The

Re: How to configure tomcat server.xml....

2010-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Munirathinavel, One post is sufficient: we all got a copy. On 2/13/2010 8:48 AM, Munirathinavel wrote: I'm using Tomcat 6.0.18 apache2.2 server I need to know configure my server.xml context.xml for high performance heavy traffic. It's always

RE: Apache Tomcat/httpd websites problem ?

2010-02-13 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Apache Tomcat/httpd websites problem ? Does anyone else experience problems accessing the Apache websites right now ? I am getting Invalid Encoding errors in Firefox 3.5. Same problem here on FF 3.5 and 3.6. Not just the Tomcat portion,

Re: Apache Tomcat/httpd websites problem ?

2010-02-13 Thread Konstantin Kolinko
2010/2/13 André Warnier a...@ice-sa.com: Hi. Does anyone else experience problems accessing the Apache websites right now ? I am getting Invalid Encoding errors in Firefox 3.5. Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported

Re: performance problems with Tomcat 6 and JSF 1.2

2010-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 2/12/2010 11:11 AM, Michael Heinen wrote: I noticed serious performance problems with JSF 1.2 and Tomcat which seems to be caused by Tomcat. One major performace problem is bug

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chris and Andre, Andre's note that it was always code that was not meant for the platform triggered a thought that it might be remnants of the jre Slackware includes in their distribution. Let me explain. I have been installing Slackware by just saying 'load everything'. Then, I would

RE: Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat dies suddenly Maybe another run through memtest86+ would be a good idea. Does memtest86+ fire up enough threads to heat up all the cores? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: tomcat 6 on solaris losing cookies

2010-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 2/12/2010 5:32 PM, Konstantin Kolinko wrote: What connectors are you using? HTTP/AJP? Nio/Bio/Apr? (usually some org.apache.coyote.* class is mentioned in the startup log in a Starting Coyote .. message) Do you have Apache HTTPD

Re: Apache Tomcat/httpd websites problem ?

2010-02-13 Thread Konstantin Kolinko
2010/2/13 André Warnier a...@ice-sa.com: Hi. Does anyone else experience problems accessing the Apache websites right now ? I am getting Invalid Encoding errors in Firefox 3.5. Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chuck, I don't know. Memtest86 states that it has 'support for execution with multiple CPUs' but I recall that process froze when I tried it and the suggestion (from memtest86) was to use a different option. I will revisit this after I have tried rebuilding the server sans jre and building

RE: Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: Carl [mailto:c...@etrak-plus.com] Subject: Re: Tomcat dies suddenly building the jvm from source Just be aware that Sun is rather explicit about the specific versions of the compilers and libraries used to build the JVM - it can be a major hassle to get it all set up right. - Chuck

Re: digest algorithm in BASIC auth

2010-02-13 Thread banto
yes!! that´s base64 encoding, you are perfectly right!!! thanks Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio, On 2/13/2010 3:01 AM, banto wrote: I was confused because in the HTTP message exchanges between the browser and tomcat i saw that

RE: Socket Error in tomcat, white screen in browser

2010-02-13 Thread millerKiller
I do not mean to insult your intelligence on the matter, but we are not getting anywhere on the matter. I feel like we are going off on a tangent and are just wasting time (because you don't know the solution). Everything you have told me to do then I already know about and would like to

Re: Socket Error in tomcat, white screen in browser

2010-02-13 Thread millerKiller
I do not mean to insult your intelligence on the matter, but we are not getting anywhere on the matter. I feel like we are going off on a tangent and are just wasting time (because you don't know the solution). Everything you have told me to do then I already know about and would like to

Re: Socket Error in tomcat, white screen in browser

2010-02-13 Thread Konstantin Kolinko
2010/2/13 millerKiller smille8...@hotmail.com: And then as far as Root and ROOT, then come on, you know what I am talking about.  Were not talking about case sensitive environmental operating system features / registry files.  I feel like the comment on this was more of an insult then to

Re: Socket Error in tomcat, white screen in browser

2010-02-13 Thread millerKiller
Thanks for the reply. I will look into closer and see what I come up with. When I figure out the solution, if I do, then I will let post a comment so that it is available to everyone. -- View this message in context:

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Andre, I tried this and 1) I am now permamently cross eyed and 2) didn't see anything that was out of place or looked like a binary that should not be there. Thanks, Carl - Original Message - From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent:

Re: Tomcat dies suddenly

2010-02-13 Thread Tsirkin Evgeny
Carl , At this point it is probably would be much simpler for you to just move away from Slackware . Building jvm from source ,debugging with strace - this is a very hard path . And once you find the bug - there is nothing that you can do with it. You are not going to fix jvm/libc bugs ,right? You

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Tsirkin, I tried part of that. I brought up a server with openSuse (64 bit), the latest Sun Java and the latest Tomcat. Failed in about 15 minutes with the same indicators (no tracks in any log, didn't know to look for a core file at that time.) Could try this again and check for the core

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
The oomParachute does not seem a likely candidate for solving the issue because 1) we have never seem the memory (from JConsole or VisualJVM) fill the heap or approach the max memory in the machine (never uses swap) or come close to blowing the permGem memory. More and more it does not seem

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chris, This is the only thing I see from gdb: r...@tomcat_liv:/# gdb -c core GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chris, I find it hard to believe two brand new machines with different processors, etc. would have a hardware problem that showed itself in exactly the same way. Further, I have run memTest86 for 30 hours on one of the servers and it showed nothing (although, as Chuck pointed out, the test

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Donn, It looks like the total files opened are less than 1,000 and the ulimit is set to 4,096 (this was increased as a way to check if ulimit was a problem... did not change the behavior of the system.) We use jdbc with the commons pooling process. We follow the number of open connections

RE: Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: Carl [mailto:c...@etrak-plus.com] Subject: Re: Tomcat dies suddenly We use jdbc with the commons pooling process. Is your JDBC driver type 4, or does it utilize some native code? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

Re: Tomcat dies suddenly

2010-02-13 Thread André Warnier
Carl wrote: Chris, I find it hard to believe two brand new machines with different processors, etc. would have a hardware problem that showed itself in exactly the same way. Further, I have run memTest86 for 30 hours on one of the servers and it showed nothing (although, as Chuck pointed

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chris, I will start the newly rebuilt server with strace tomorrow morning before anyone comes on. Hopefully, strace will yield some useful information. Thanks, Carl - Original Message - From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List

RE: Tomcat dies suddenly

2010-02-13 Thread Anthony J. Biacco
If #1 is correct maybe you should just revert back until you can do more testing outside production. Of course that's only if you're not using some tomcat 6/java 1.6 specific features for your apps -Tony Sent from my Windows® phone. -Original Message- From: André Warnier

Re:[OT] Tomcat dies suddenly

2010-02-13 Thread André Warnier
(re relativistic gamma rays, dark energy and all that stuff). I'll take that back quickly before Chuck does me in. Gamma rays being photons, they are always relativistic. Read relativistic protons instead. - To

RE: Re:[OT] Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re:[OT] Tomcat dies suddenly Read relativistic protons instead. Now you're talking about something that can do real damage. (Unlike a WIMP, which seems to be too shy to even show up at the party.) BTW, I was thinking that since the

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Andre, You have the ability to boil things down to the bare essentials. 1) you never saw this issue under a previous JVM 1.5 and Tomcat version 5.5.x Correct. (Running on a P4 with 32 bit Slackware.) 2) the problem happens on two separate servers, which seems to rule out a common server

Re: [OT] Tomcat dies suddenly

2010-02-13 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re:[OT] Tomcat dies suddenly Read relativistic protons instead. Now you're talking about something that can do real damage. (Unlike a WIMP, which seems to be too shy to even show up at the party.) BTW, I was

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Anthony, I have to get through this as quickly as possible and I have never been able to rig up a stress test that duplicates what I am seeing in production so I am basically using the production servers for working the problem out. When a server fails, I just redirect the traffic to the

RE: [OT] Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Tomcat dies suddenly Since we must have by now exhausted all the normal causes of such errors, maybe we should recommend a) a visual inspection of the systems, to see if there are any pinsize holes, or paint flaking off or so

Re: Re:[OT] Tomcat dies suddenly

2010-02-13 Thread Carl
Chuck, The cases and even power supplies are very different. The T105 is destined to be a backup server and the T110 is supposed to be the front line guy. Thanks, Carl - Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chuck, I am using the mysql-connector/j version 3.1.12. Interesting because the latest driver is version 5.1.11. Is this worth a shot or is it likely to just miuddy the waters? We typically have less than 20 open connections. Thanks, Carl - Original Message - From: Caldarale,

RE: Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: Carl [mailto:c...@etrak-plus.com] Subject: Re: Tomcat dies suddenly This Tomcat is straight out of the box except for some modifications to JAVA_OPTS in tomcat/bin/catalina.sh Have you tried using the default GC mechanism, rather than CMS? (Sorry if I'm repeating something you've

RE: Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: Carl [mailto:c...@etrak-plus.com] Subject: Re: Tomcat dies suddenly I am using the mysql-connector/j version 3.1.12. Interesting because the latest driver is version 5.1.11. Is this worth a shot or is it likely to just miuddy the waters? I think it would be muddying, since I'm

RE: Socket Error in tomcat, white screen in browser

2010-02-13 Thread millerKiller
I accept your apology and owe you one to. The post that threw me off the rocker was the post that told me to look through all of the messages and not just parts of. I apologize... ,but now that we are on the same page and using the same terminology, would you mind if I ask you some questions?

Re: Tomcat dies suddenly

2010-02-13 Thread Carl
Chuck, I started with the default (except for Xms, Xmx and the PermSize settings) and only added the others after the failures started piling up. They are easy to remove and are not likely to be helping or hurting but may be muddying the waters. Thanks, Carl - Original Message -

Re: [OT] Tomcat dies suddenly

2010-02-13 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Tomcat dies suddenly Since we must have by now exhausted all the normal causes of such errors, maybe we should recommend a) a visual inspection of the systems, to see if there are any pinsize holes, or

RE: Socket Error in tomcat, white screen in browser

2010-02-13 Thread Caldarale, Charles R
From: millerKiller [mailto:smille8...@hotmail.com] Subject: RE: Socket Error in tomcat, white screen in browser (1) On startup, does Tomcat have to set up these dormant sockets(inactive/listening/passive) or, does Tomcat create them upon a need base? They're established during Tomcat

RE: [OT] Tomcat dies suddenly

2010-02-13 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Tomcat dies suddenly Maybe we should also investigate if the SegFaults are simultaneous with anyone specific entering the room where the servers are. Ah yes, the old nylon underwear problem... Or the pizza with plutonium

RE: Socket Error in tomcat, white screen in browser

2010-02-13 Thread millerKiller
No - it shows that *something* is listening on 8005, but it's not likely to be Tomcat. Use the Task Manager to find out what PID 520 is. As I mentioned before, lots of products have Tomcat embedded in them, and at least one (VMware) leaves the shutdown port set to the default, creating

RE: Socket Error in tomcat, white screen in browser

2010-02-13 Thread Caldarale, Charles R
From: millerKiller [mailto:smille8...@hotmail.com] Subject: RE: Socket Error in tomcat, white screen in browser The wierd thing about all of this is whenever I shut my tomcat down then the 127.0.0.1:8005 dissapears from the netstat list. Again, use Task Manager to verify - you don't need to

Re: Socket Error in tomcat, white screen in browser

2010-02-13 Thread Ken Bowen
Note that http://wiki.eclipse.org/WTP_Tomcat_FAQ has gobs of (sometimes opaque) information about Eclipse and Tomcat. If you configure Eclipse to use an external (separate) Tomcat, it uses the external Tomcat , but at minimum, distorts the logging configuration to just run catalina.out

RE: Socket Error in tomcat, white screen in browser

2010-02-13 Thread millerKiller
Maybe I should move this to the eclipse forums. Before I go though, then could we finish up with a few more things that I found and see if anyone knows? I looked at my netstat and saw the following: 127.0.0.1:2402 127.0.0.1:2403 Established 4360 127.0.0.1:2403

Alias not working for me in Tomcat 6.0.24

2010-02-13 Thread Peter McNeil
G'day, I have the following Host setup in server.xml:- ... Host name=cjugaustralia.org appBase=cjugapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliaswww.cjugaustraila.org/Alias Valve

Re: Alias not working for me in Tomcat 6.0.24

2010-02-13 Thread Konstantin Kolinko
2010/2/14 Peter McNeil pe...@mcneils.net: Here is a patch for you: - Aliaswww.cjugaustraila.org/Alias + Aliaswww.cjugaustralia.org/Alias Best regards, Konstantin Kolinko - To unsubscribe, e-mail:

Re: Alias not working for me in Tomcat 6.0.24

2010-02-13 Thread Peter McNeil
On 14/02/10 13:58, Konstantin Kolinko wrote: 2010/2/14 Peter McNeilpe...@mcneils.net: Here is a patch for you: -Aliaswww.cjugaustraila.org/Alias +Aliaswww.cjugaustralia.org/Alias Best regards, Konstantin Kolinko - To

Re: Alias not working for me in Tomcat 6.0.24

2010-02-13 Thread Konstantin Kolinko
2010/2/14 Peter McNeil pe...@mcneils.net: On 14/02/10 13:58, Konstantin Kolinko wrote: 2010/2/14 Peter McNeilpe...@mcneils.net: Here is a patch for you: -Aliaswww.cjugaustraila.org/Alias +Aliaswww.cjugaustralia.org/Alias lol, you're suggesting that the whitespace in front of the tag is a

Re: Alias not working for me in Tomcat 6.0.24

2010-02-13 Thread Peter McNeil
On 14/02/10 14:38, Konstantin Kolinko wrote: 2010/2/14 Peter McNeilpe...@mcneils.net: On 14/02/10 13:58, Konstantin Kolinko wrote: 2010/2/14 Peter McNeilpe...@mcneils.net: Here is a patch for you: -Aliaswww.cjugaustraila.org/Alias +Aliaswww.cjugaustralia.org/Alias lol,

Re: [OT] Tomcat dies suddenly

2010-02-13 Thread Jorge Medina
There have been 144 messages on this thread...and you have spent already months trying to solve the problem...I think it will be more cost effective to replace the boxes, run a standard JVM from Sun..and close this thread! On Sat, Feb 13, 2010 at 6:11 PM, Caldarale, Charles R

Re: [OT] Tomcat dies suddenly

2010-02-13 Thread anthonyvierra
CentOS, Sun JVM, IBM Hardware = 100% Uptime On Sat, Feb 13, 2010 at 9:44 PM, Jorge Medina cerebrotecnolog...@gmail.comwrote: There have been 144 messages on this thread...and you have spent already months trying to solve the problem...I think it will be more cost effective to replace the

Tomcat not seeing servlet

2010-02-13 Thread David Short
Hello, I'm having a problem with Tomcat no seeing my servlet. I have the servlet defined and mapped in my web.xml file. I've been Googling this for hours and every example I find instructs to use the following setup. Web.xml snippet: servlet

RE: Tomcat not seeing servlet

2010-02-13 Thread Caldarale, Charles R
From: David Short [mailto:dsh...@san.rr.com] Subject: Tomcat not seeing servlet description The requested resource (/AuthLogin) is not available. Where is your webapp deployed? Do you have a Context element for it? (You may not need one.) If there is one, where is it, and what's in it?