Re: Tomcat starts slow

2010-08-10 Thread Maxim Kuleshov
2010/8/10 Christopher Schultz > > It could be that Tomcat is attempting to resolve the SYSTEM URL for > certain XML files it uses to configure itself. Could you re-enable the > DROP and take a thread dump during the long wait? That will help > nail-down the problem. Perhaps Tomcat can be modified

RE: 2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi Ok I have copied the wire shark test samples for the 2 Post Requests [ Apache to JBOSS (Tomcat Internal )..This was taken Aug 9, 2010 ~~ 1nd Post Request No. TimeSourceDestination

RE: 2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi >>wireshark or tcpdump running on the external + internal segments >>simultaneously. I can provide u the tcp dump samples which we used to validate using White shark. Of course I need some time (probably by EOD ) to get permission from my authorities for the same. Is this ok with u Wit

Re: 2 POST requests to underlying Server

2010-08-10 Thread Hassan Schroeder
On Tue, Aug 10, 2010 at 10:07 PM, Karthik Nanjangude wrote: > The same test performed on the Internal IP (http:///ABCD), and was > observed that the single Post request was observed with single Insertion to > DB ... compared to 2 POST request via External IO ( http://ABCD.com ) > > So how does

RE: 2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi >> the point is your JavaScript "filter to disable multiple Clicks" may not be as fool proof as you think. The same test performed on the Internal IP (http:///ABCD), and was observed that the single Post request was observed with single Insertion to DB ... compared to 2 POST request via Ext

Re: WARNING: Error registering request

2010-08-10 Thread VenkateswaraRao Eswar
Thanks for your suggestions. Upgrading to newer versions is defenetely a good solution. But unfortunately, we are not looking to upgrade our production environment at this point of time. Any alternate solution to this issue with the current jdk/tomcat/Apache proxy versions instead of upgrading t

java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.

2010-08-10 Thread Jing Chen
After getting a new SSL certificate from GeoTrust, I keep getting the following error after starting JBoss 4.0.5: java.net.SocketException: SSL handshake errorj avax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled. I first imported th

Re: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread André Warnier
Ok guys, my curiosity is satisfied in the absolute, and I know understand why one /could/ need a very large Heap size. I would still like to hear the OP's answer however. His questions led me to believe that he wasn't quite sure how much memory he needed just to run Tomcat. Maybe he was horrib

RE: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] Tomcat unexpectedly shuts down > > N.B. I was unable to get a predictable maximum heap size when > running with -Xmx: You'll need to set -Xms and -Xmx to the same value if you want consistency and predictabili

Re: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/10/2010 5:31 PM, André Warnier wrote: > It is just that 3000 MB is *a lot* of bytes (3,145,728,000 of them). Yup. 3000MiB is even bigger (3,221,225,472 of them), and what you'll get from the JVM. (See below) > Which means that each time

Re: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread David Fisher
Hi Andre, > So I am not objecting to using 3000 MB of Heap, I am just curious. > If someone like Eric Robinson can run a non-trivial multi-user Tomcat > application with an average 64 MB of Heap and you can do pretty much the > same, then I am curious as to which Tomcat application (or situation

Re: 2 POST requests to underlying Server

2010-08-10 Thread André Warnier
Ðavîd Låndïs wrote: 3) As I have already said We have put a Java script filter to disable multiple Clicks for dual request from the Browser ( IE 7+ / FF 3+ ) I had a similar issue once due to jQuery. If you attach the same click listener twice to the same button, it'll submit 2 POST's or GET's

Re: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread André Warnier
Christopher, I have no fundamental contest with anything you say below (except one, see in text). It is just that 3000 MB is *a lot* of bytes (3,145,728,000 of them). It is, for example, the number of letters contained in 3,000 books, each of 500 pages. So even if you had 3,000 users, it would

Re: 2 POST requests to underlying Server

2010-08-10 Thread Ðavîd Låndïs
3) As I have already said We have put a Java script filter to disable multiple Clicks for dual request from the Browser ( IE 7+ / FF 3+ ) I had a similar issue once due to jQuery. If you attach the same click listener twice to the same button, it'll submit 2 POST's or GET's for one mouse click (

Re: 2 separate clusters, crosstalk?

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/6/2010 12:35 PM, cnnfntop wrote: > Below are the configs, one from one of the prod servers, the other from one > of > the stage servers (note that the member/receiver settings are correct for > each > pair in each cluster, they reference each

Re: Configuring Tomcat 6.0.28 with SSL

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 8/10/2010 3:41 PM, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: > I am abandoning the IIS/isapi_redirect.dll method of authenticating via SSL > into our web application due to the "authentication" process taking a while, > causing

Re: Configuring Tomcat 6.0.28 with SSL

2010-08-10 Thread Jorge Medina
There are two ways to add SSL support to Tomcat a) Pure java support b) Using OpenSSL through the APR library For (b) you need to compile (or use a distribution with) the Tomcat Native Library. Configuring SSL using (a) is different than when using (b). You may now if your server is running the

Configuring Tomcat 6.0.28 with SSL

2010-08-10 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
I am abandoning the IIS/isapi_redirect.dll method of authenticating via SSL into our web application due to the "authentication" process taking a while, causing the web app to run abnormally slow. I am wanting to use our server certificate (PKCS12) as the keystore. I've been doing a lot of resea

Anyone using Tomcat 6 Comet with Apache mod_proxy?

2010-08-10 Thread Nabble User
I have a CometProcessor servlet similar to the one in the sample here: http://tomcat.apache.org/tomcat-6.0-doc/aio.html#Example_code One difference is that we close the writer after sending the message in the MessageSender thread. It all works fine hitting Tomcat directly. However, I'd like to p

Re: Installing Bugzilla on the Apache Tomcat 6

2010-08-10 Thread Petr Dvořák
Hi Chris, thank you for the feedback - I appreciate it! Seriously, I believe I am the first person on the Internet to write some consistent post (maybe you'll prove me wrong), so it's better be perfect! ;-) To make one thing clear - the post was based on the large script I prepare for my mast

Re: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/9/2010 6:20 PM, André Warnier wrote: > I must say that your 3000 MB of Heap kind of makes my head spin. What > kind of application are you running that you would think you need as much ? Are you saying that "___ of memory ought to be eno

Re: Tomcat starts slow

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim, On 8/10/2010 8:58 AM, Maxim Kuleshov wrote: >> Tomcat on my ubuntu 8.04 (x64) server starts too slow. >> > I resolved this problem. I strace'd tomcat's start and figured out it > stucks in 'connect' method to ipv6 loopback (::1). Than I tcpdump

Re: Installing Bugzilla on the Apache Tomcat 6

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Petr, On 8/10/2010 8:46 AM, Petr Dvořák wrote: > I have written a short how-to on installing Bugzilla on Tomcat - I thought I > could share it with the community, since there is not much written about this > subject on the Internet (usually, people

Re: 2 POST requests to underlying Server

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, On 8/10/2010 9:08 AM, Karthik Nanjangude wrote: > Problem exists ,Proof given No: Problem is observed, very little in the way of proof has been given. You've made assertions about the circumstances and observed results. You have actually p

Re: 64 bit version for linux

2010-08-10 Thread Tobias Crefeld
Am Tue, 10 Aug 2010 08:07:06 -0500 schrieb "Caldarale, Charles R" : > > JAVA_OPTS="$JAVA_OPTS -d64 -Xms512m -Xmx4096m" > > Odd; -d64 is not valid on any JVM I have installed. Interesting! I never tested leaving out this parameter on a 64bit-JVM under Linux but after a short test it looks as i

RE: Cluster Logging

2010-08-10 Thread Petrov, Petar
Hi, You can set the log level to "OFF". Regards, Petar -Original Message- From: Oscar Segarra Rey [mailto:osega...@gencat.cat] Sent: Tuesday, August 10, 2010 9:39 AM To: Tomcat Users List Subject: RE: Cluster Logging Hi, Another question related to this issue... is there any level k

Re: Tomcat 7 authentication error only with IE8 or IE7

2010-08-10 Thread Konstantin Kolinko
2010/8/10 Eli Chernos : > Hi all, > > I have migrated a Tom Cat 6.0.14 server running on Windows 2003 server to a > Windows 2008 server running Tom Cat 7.0.0. > Every thing is running great except for when I try to access a restricted > folder(password protected) configured with (POST method). > Wh

Re: Tomcat starts slow

2010-08-10 Thread Tobias Crefeld
Am Tue, 10 Aug 2010 16:58:45 +0400 schrieb Maxim Kuleshov : > But for some reason tomcat wants IPv6 connection and while time > (retries * timeout) passed - it hangs at start. > > And I even don't know - what subsystem use such kind of > interconnection (via IPv6 loopback). Just an idea: Tomcat

Tomcat 7 authentication error only with IE8 or IE7

2010-08-10 Thread Eli Chernos
Hi all, I have migrated a Tom Cat 6.0.14 server running on Windows 2003 server to a Windows 2008 server running Tom Cat 7.0.0. Every thing is running great except for when I try to access a restricted folder(password protected) configured with (POST method). When I try to access a restricted folde

Re: 2 POST requests to underlying Server

2010-08-10 Thread Hassan Schroeder
On Tue, Aug 10, 2010 at 6:08 AM, Karthik Nanjangude wrote: > Problem exists ,Proof given Sorry, if you're not monitoring all parts of the request path, you've "proved" nothing. >>> If that were true, you wouldn't have *any* requests. > >  For simple test case we used 1 simple transaction Page

RE: 2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi >> dialing the nearest exorcist... HAHA Very Funny Problem exists ,Proof given >> If that were true, you wouldn't have *any* requests. For simple test case we used 1 simple transaction Page to do the activity For insertion, but the since 2 request to web server ,we see 2 rows inserted

RE: 64 bit version for linux

2010-08-10 Thread Caldarale, Charles R
> From: Angelo Chen [mailto:angelochen...@yahoo.com.hk] > Subject: Re: 64 bit version for linux > > JAVA_OPTS="$JAVA_OPTS -d64 -Xms512m -Xmx4096m" Odd; -d64 is not valid on any JVM I have installed. > Am I really in the 64bit mode JVM? Look at the somewhat mislabeled "OS Architecture" cell on t

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-10 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Significant would mean that I notice how slow the page loads (painfully - 10 to 20 times longer) compared to hitting the web application on 8080. I had ServletExec AS running on our server and did not experience these issues. We are required to use Single Sign On when accessing web applications fr

Re: Tomcat starts slow

2010-08-10 Thread Maxim Kuleshov
> > > Tomcat on my ubuntu 8.04 (x64) server starts too slow. > > > I resolved this problem. I strace'd tomcat's start and figured out it stucks in 'connect' method to ipv6 loopback (::1). Than I tcpdump'ed loopback and noticed many connect fails. The problem was IPv6 policy set to drop and no any

Re: 2 POST requests to underlying Server

2010-08-10 Thread Hassan Schroeder
On Tue, Aug 10, 2010 at 5:16 AM, Karthik Nanjangude wrote: >>> Have you really traced the browser -> server side to see if the duplicate >>> POST request > > As I have already said by using the TCP Thread dump using command >  "tcpdump -i bond0 -s 1500 -w / tmp / test.pcap " > > We are clearly a

Installing Bugzilla on the Apache Tomcat 6

2010-08-10 Thread Petr Dvořák
Hi folks, I have written a short how-to on installing Bugzilla on Tomcat - I thought I could share it with the community, since there is not much written about this subject on the Internet (usually, people answer it is not possible): http://blog.inmite.eu/2010/08/installing-bugzilla-on-the-a

Re: 2 POST requests to underlying Server

2010-08-10 Thread André Warnier
Karthik Nanjangude wrote: Hi Have you really traced the browser -> server side to see if the duplicate POST request As I have already said by using the TCP Thread dump using command "tcpdump -i bond0 -s 1500 -w / tmp / test.pcap " We are clearly able to see the IP Address of Apache writte

RE: 2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi >> Have you really traced the browser -> server side to see if the duplicate >> POST request As I have already said by using the TCP Thread dump using command "tcpdump -i bond0 -s 1500 -w / tmp / test.pcap " We are clearly able to see the IP Address of Apache written 2 times POST for the

Re: 2 POST requests to underlying Server

2010-08-10 Thread André Warnier
Karthik Nanjangude wrote: Hi (*) do you have any particular reason to use this setting, instead of the default ? Or is it just something you copied from some blog page ? 1) I have not copied the same from any Blog , it is as defined configuration as is from the N/w team 2) Where can I

RE: 2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi >>(*) do you have any particular reason to use this setting, instead of the >>default ? Or is it just something you copied from some blog page ? 1) I have not copied the same from any Blog , it is as defined configuration as is from the N/w team 2) Where can I fine the default setting

Re: 64 bit version for linux

2010-08-10 Thread Angelo Chen
Hi Tobias, I use this: JAVA_OPTS="$JAVA_OPTS -d64 -Xms512m -Xmx4096m" but can not find -d64 in the command line passed to java, looks like -d64 is not needed. in the tomcat manager, it does show JVM memory as: Free memory: 325.24 MB Total memory: 490.68 MB Max memory: 3640.93 MB Am I really

Re: 2 POST requests to underlying Server

2010-08-10 Thread André Warnier
Karthik Nanjangude wrote: Hi Spec Java 1.5 O/s : Linux APP Server: JBOSS4.2.1 (Tomcat built with) HTTP Server : apache_2.2.11 [ With out SSL ] Mod library: mod_jk-1.2.28-httpd-2.2.X.so LB 1 Apache : 1 JBOSS:Port of application Question : Some times We have observ

Tomcat starts slow

2010-08-10 Thread Maxim Kuleshov
Hi! Tomcat on my ubuntu 8.04 (x64) server starts too slow. I tried both bundled ubuntu version (tomcat 5.5.25) and newer tomcat 6.0.29. The start time does not depend on application installed - even empty tomcat distribution starts slow. I googled that problem is somehow related to random genera

2 POST requests to underlying Server

2010-08-10 Thread Karthik Nanjangude
Hi Spec Java 1.5 O/s : Linux APP Server: JBOSS4.2.1 (Tomcat built with) HTTP Server : apache_2.2.11 [ With out SSL ] Mod library: mod_jk-1.2.28-httpd-2.2.X.so LB 1 Apache : 1 JBOSS:Port of application Question : Some times We have observed that on WEB Application