Re: Tomcat response

2013-03-27 Thread Daniel Mikusa
On Mar 27, 2013, at 1:59 AM, Dhaval Jaiswal wrote: Sometime i am facing an issue with the tomcat response. Can you be more specific about the issue that you are facing? What happens to the response? Do you get any error codes or stack traces? Tomcat not responding to the httpd web server

Tomcat response

2013-03-26 Thread Dhaval Jaiswal
Sometime i am facing an issue with the tomcat response. Tomcat not responding to the httpd web server. Is there any tool or way wherein i can check the response of the tomcat through sessionid or some other method.

Re: CRLF Stripped in Tomcat Response Header

2011-09-04 Thread Mark Thomas
On 04/09/2011 05:54, Nadav Katz wrote: Hi All! First, let me assure everyone that I am not a hacker, exactly the opposite, but I have a related problem. I am in the process of implementing code that protects against header manipulation. I created a filter that strips line feed and carriage

RE: CRLF Stripped in Tomcat Response Header

2011-09-04 Thread Nadav Katz
, September 04, 2011 12:58 PM To: Tomcat Users List Subject: Re: CRLF Stripped in Tomcat Response Header On 04/09/2011 05:54, Nadav Katz wrote: Hi All! First, let me assure everyone that I am not a hacker, exactly the opposite, but I have a related problem. I am in the process of implementing code

RE: CRLF Stripped in Tomcat Response Header

2011-09-04 Thread Nadav Katz
manipulated with attack code (using an interceptor). Again, any input you might have would be welcome. Thanks Again, Nadav -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Sunday, September 04, 2011 12:58 PM To: Tomcat Users List Subject: Re: CRLF Stripped in Tomcat

Re: CRLF Stripped in Tomcat Response Header

2011-09-04 Thread Mark Thomas
Again, Nadav I don't think the attack you are describing can possibly succeed. Mark -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Sunday, September 04, 2011 12:58 PM To: Tomcat Users List Subject: Re: CRLF Stripped in Tomcat Response Header On 04/09/2011 05:54

RE: CRLF Stripped in Tomcat Response Header

2011-09-04 Thread Nadav Katz
04, 2011 3:10 PM To: Tomcat Users List Subject: Re: CRLF Stripped in Tomcat Response Header On 04/09/2011 12:16, Nadav Katz wrote: Sorry Mark, I just noticed your input regarding the filter. I am really only worried about attackers tampering with request headers. The reason is that we may have

CRLF Stripped in Tomcat Response Header

2011-09-03 Thread Nadav Katz
Hi All! First, let me assure everyone that I am not a hacker, exactly the opposite, but I have a related problem. I am in the process of implementing code that protects against header manipulation. I created a filter that strips line feed and carriage return characters from requests to avoid

Re: Tomcat response Blank Page

2010-03-08 Thread Pid
bytes does the access log say it sent? Is there any error in any other log? p Shirley n828cl wrote: From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display blank page, it will not update the session counter and also didn't read

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: Tomcat response Blank Page Admittedly, I can't think of a way for the page to stop there as a result of an exception and still send a 200 status, but it's worth exploring. It's chunked output, so zero-length content is quite valid. I'm

Re: Tomcat response Blank Page

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/8/2010 6:42 AM, Pid wrote: What happens if the line: Utility.writeToFile(/WP.txt,str +\n); throws an exception? The only line which writes output to the response is after that line, so if something stops the page before or at that

Re: Tomcat response Blank Page

2010-03-08 Thread Pid
On 08/03/2010 15:13, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/8/2010 6:42 AM, Pid wrote: What happens if the line: Utility.writeToFile(/WP.txt,str +\n); throws an exception? The only line which writes output to the response is after that line, so

RE: Tomcat response Blank Page

2010-03-08 Thread Shirely
] Subject: Re: Tomcat response Blank Page Admittedly, I can't think of a way for the page to stop there as a result of an exception and still send a 200 status, but it's worth exploring. It's chunked output, so zero-length content is quite valid. I'm guessing whatever's been queued is just sent

Re: Tomcat response Blank Page

2010-03-08 Thread Shirely
...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display blank page, it will not update the session counter and also didn't read to text file. Sounds like something in between is responding to the request, rather than it reaching the server. Try running Wireshark

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
From: Shirely [mailto:shir...@powerelab.com] Subject: RE: Tomcat response Blank Page I don't undestand it. But my page is not empty so why send out empty? The output isn't empty - it's a chunked response with zero bytes in the body. Perfectly valid, and typical of a servlet that quits

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page What is the access log? How to check it? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access%20Log%20Valve - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Re: Tomcat response Blank Page

2010-03-07 Thread Shirely
Shirley n828cl wrote: From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display blank page, it will not update the session counter and also didn't read to text file. Sounds like something in between is responding

Re: Tomcat response Blank Page

2010-03-06 Thread Shirely
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Tomcat-response-Blank-Page-tp27792029p27805751.html Sent from the Tomcat - User mailing list archive at Nabble.com

RE: Tomcat response Blank Page

2010-03-06 Thread Caldarale, Charles R
From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display blank page, it will not update the session counter and also didn't read to text file. Sounds like something in between is responding to the request, rather than

RE: Tomcat response Blank Page

2010-03-06 Thread Shirely
. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Tomcat-response-Blank-Page

Re: Tomcat response Blank Page

2010-03-06 Thread Pid
? Is there any error in any other log? p Shirley n828cl wrote: From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display blank page, it will not update the session counter and also didn't read to text file. Sounds like something

Tomcat response Blank Page

2010-03-05 Thread Shirely
in context: http://old.nabble.com/Tomcat-response-Blank-Page-tp27792029p27792029.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat response Blank Page

2010-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shirley, On 3/5/2010 5:05 AM, Shirely wrote: I have a Tomcat 6.0 run at Window Server 2008. We mainly used it to show some dynamic JSP by running java method at background. However, I found that tomcat server sometimes run abnormally. I see a

Re: Tomcat response Blank Page

2010-03-05 Thread Shirely
-END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Tomcat

Re: Tomcat response Blank Page

2010-03-05 Thread Pid
On 05/03/2010 15:09, Shirely wrote: I just try a very very simple code, here is the code. %@ page language=java import=java.text.*, java.util.*, tools.* errorPage= % % int count = 0; if(session.getAttribute(WH_Count)!= null){ Integer t = (Integer)session.getAttribute(WH_Count);

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

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

Re: tomcat response chunk size

2010-02-12 Thread fredk2
: -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

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. out of curiosityany reason with 8K being a good number and

Re: Tomcat response time extremely high (minutes)

2007-12-18 Thread Nabble-Member1
- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Tomcat-response-time-extremely-high-%28minutes%29-tp12311908p14408225

Tomcat response time extremely high (minutes)

2007-08-24 Thread Rapthor
255.255.224.0. Any ideas? -- View this message in context: http://www.nabble.com/Tomcat-response-time-extremely-high-%28minutes%29-tf4323432.html#a12311908 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start

Re: Tomcat response time extremely high (minutes)

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rapthor, Rapthor wrote: But after 1 day the same issue reappeared (response times of about 2 minutes). When you observe the lng response time, try doing a thread-dump of the JVM to see what's going on. You can see which threads are waiting on

How to configure Tomcat response timeout?

2007-05-09 Thread Ignacio Iborra
Hi! We are trying to call a JSP file that inserts a lot of records into a database, but Tomcat stops the process before it is finished. Anyone knows if there is any configuration tag anywhere to set this timeout? Thanks! -

RE: How to configure Tomcat response timeout?

2007-05-09 Thread Propes, Barry L
I belive you can do it in a connection pool setting. -Original Message- From: Ignacio Iborra [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 7:57 AM To: users@tomcat.apache.org Subject: How to configure Tomcat response timeout? Hi! We are trying to call a JSP file that inserts

Re: How to configure Tomcat response timeout?

2007-05-09 Thread Filip Hanik - Dev Lists
, 2007 7:57 AM To: users@tomcat.apache.org Subject: How to configure Tomcat response timeout? Hi! We are trying to call a JSP file that inserts a lot of records into a database, but Tomcat stops the process before it is finished. Anyone knows if there is any configuration tag anywhere to set

Re: How to configure Tomcat response timeout?

2007-05-09 Thread Rashmi Rubdi
On 5/9/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: I agree, from my experience IE times out when the connection is taking too long to send a response back, I haven't experienced a timeout with FF. You may want to consider a paging algorithm, if your data set is too large, it is not good practice

Re: strange ssl tomcat response

2006-12-14 Thread Tsirkin Evgeny
I have did yet another try,now on windows machine . The same problem! Here are the steps to reproduce : [1] Do a regular (vanilla) installation of tomcat (Linux and Windows i have already tried) . [2] Setup ssl: Uncomment the ssl setup in server.xml create a key with the following:

Re: strange ssl tomcat response

2006-12-14 Thread Martin Heiden
Hi! http://localhost:8443 (note the http not the https) I am pretty sure that this is NOT valid behaviour. Why do you think so? I that tomcat will initialise the SSL negotiation. Client and Server have to exchange the keys. If you do not tell the browser that it has to do this negotiation (you

Re: strange ssl tomcat response

2006-12-14 Thread Tsirkin Evgeny
On 12/14/06, Martin Heiden [EMAIL PROTECTED] wrote: It's pretty valid! I don't think so.Just checked out the TLS rfc and found this (TLS ver. 1.0): These goals are achieved by the handshake protocol, which can be summarized as follows: The client sends a client hello message to which

Re: strange ssl tomcat response

2006-12-14 Thread Hassan Schroeder
Yes, trying this (http://localhost:8443) with FF results in a prompt to download a BIN file, which turns out to be: prompt od -a ldlepaov\(2\).bin 000 nak etx soh nul stx stx nl 007 I'll leave interpretation of the correctness of that to you :-) -- Hassan Schroeder

RE: strange ssl tomcat response

2006-12-14 Thread Andrew Friebel
Thanks Chuck. It is clear that I am still a little behind the times. Regards, Andrew -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 December 2006 1:23 PM To: Tomcat Users List Subject: RE: strange ssl tomcat response From: Andrew Friebel

strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
Hi list! Hope this will not be posted twice. I have setted up a tomcat to listen to ssl on 8443 port. When i use url https://myhost:8443/ everything works fine. However when pointing my browser to http://myhost:8443/ I am getting strange response . It looks something like this in text

RE: strange ssl tomcat response

2006-12-13 Thread Caldarale, Charles R
From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] Subject: strange ssl tomcat response Hope this will not be posted twice. If you don't provide basic information, it will have to be. 1) What version of Tomcat? 2) What JVM (vendor and level)? 3) What OS? 4) Do you have APR installed? (SSL

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
for the answer! Hope you will be able to help me. Evgeny. On 12/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] Subject: strange ssl tomcat response Hope this will not be posted twice. My first post did not work ,so i was afraid that i am

Re: strange ssl tomcat response

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evgeny, Tsirkin Evgeny wrote: I have setted up a tomcat to listen to ssl on 8443 port. When i use url https://myhost:8443/ everything works fine. However when pointing my browser to http://myhost:8443/ I am getting strange response. What did

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
I don't expect it to work . I expect to return either 404 , 500 http status (maybe any other) or nothing . try this: telnet mail.google.com 443 You will get a connection however NOTHING will be returned . Now ,I am trying ssl connection to tomcat : telnet myhost 8443 And getting the strange bits.

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Tsirkin Evgeny [EMAIL PROTECTED] wrote: Basically that can be checked in a very simple manner: try to setup ssl for a tomcat and then telnet to it (8443 port). Do you get any response? Just tried on a 5.5.9 non-APR system -- no response :-) [1] If no that is problem in my

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
On TLS i am getting the same result. How do i check for an APR existens ? Chuck suggested that this is the problem. However I don't know where to look . I am using 5.5.20 could that be a problem? Thanks. Evgeny. On 12/13/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 12/13/06, Tsirkin Evgeny

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
Hassan ,just a thought: when connecting via telnet i am first getting an empty response typing in some character and only then i am getting the bits. Is that what you tried? - telnet localhost 8443 Trying 127.0.0.1... Connected to localhost.

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Tsirkin Evgeny [EMAIL PROTECTED] wrote: when connecting via telnet i am first getting an empty response typing in some character and only then i am getting the bits. The strange response bits are what i got here just befor Connection closed. No, if I enter something after

RE: strange ssl tomcat response

2006-12-13 Thread Caldarale, Charles R
From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] Subject: Re: strange ssl tomcat response How do i check for an APR existens ? Since this is a Linux box and you did not explicitly build and install it, it's extremely unlikely that you have it. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
with strange bits when telneting to the ssl port. Anybody please? Evgeny. On 12/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] Subject: Re: strange ssl tomcat response How do i check for an APR existens ? Since this is a Linux box and you did

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Tsirkin Evgeny [EMAIL PROTECTED] wrote: tomcat 5.5.20 I remembered I had a vanilla install of 5.5.20 not yet in use, so I uncommented the https connector and created a keystore java version 1.5.0_09 /me == 1.5.0_06 on this machine Linux SuSe /me == SuSE 10.0 So, pretty close

RE: strange ssl tomcat response

2006-12-13 Thread Andrew Friebel
, Andrew -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 December 2006 7:38 AM To: Tomcat Users List Subject: Re: strange ssl tomcat response On 12/13/06, Tsirkin Evgeny [EMAIL PROTECTED] wrote: tomcat 5.5.20 I remembered I had a vanilla install

RE: strange ssl tomcat response

2006-12-13 Thread Caldarale, Charles R
From: Andrew Friebel [mailto:[EMAIL PROTECTED] Subject: RE: strange ssl tomcat response This is going to seem like a dumb question, but are you running the SDK or RTE with tomcat? You need to be running the SDK. Your information is out of date, as a cursory look at the 5.5 docs would

RE: how to do a redirect for a wsdl url without tomcat response / tomcat interference

2006-10-24 Thread Caldarale, Charles R
From: Roth, Michael [mailto:[EMAIL PROTECTED] Subject: how to do a redirect for a wsdl url without tomcat response / tomcat interference So any help in conjunction with the use of Jk2 would be appreciated. The jk2 package has been deprecated for over a year, so you're not likely to get

how to do a redirect for a wsdl url without tomcat response / tomcat interference

2006-10-24 Thread Roth, Michael
14:37 An: 'users@tomcat.apache.org' Betreff: how to do a redirect for a wsdl url without tomcat response / tomcat interference Hello, I asked this on IRC already (nick: PennFan), but didn´t get a satisfying answer so far. I´m running: Red Hat Enterprise Linux ES release 3 (Taroon Update 6

tomcat response slow

2006-05-19 Thread Patil, Sheetal
Hello all I am using tomcat 5.0 for my application. My application in created be using struts+jsp Tomcat was functioning very well before few days Mean while I deploy another module on server in my application After few days tomcat become slow, means it give starting page fast but

Re: tomcat response slow

2006-05-19 Thread Rajeev Jha
what does the logs say? turn debug on and check the logs. Also see if the DB URL, user password etc are correct. And I dont think people will like your posting image blobs in mail. Thanks - Rajeev. Patil, Sheetal wrote: Hello all I am using tomcat 5.0 for my application. My application in

Re: tomcat response slow

2006-05-19 Thread vineesh kumar
Undeploy the other application and make sure that the problem is caused by the new application or some changes in older one. Also check the database for performance. There can be many reasons like, the buffers may not be configures correctly to share the load etc on the db.Aslo check that whether

Re: tomcat response on Linux is very slow for clients behind proxy server

2005-11-11 Thread faria hassan
On 11/10/05, faria hassan [EMAIL PROTECTED] wrote: Hi, I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux 2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a proxy and making requests over Http1.0, the response time is very slow. However, for

tomcat response on Linux is very slow for clients behind proxy server

2005-11-10 Thread faria hassan
Hi, I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux 2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a proxy and making requests over Http1.0, the response time is very slow. However, for clients who are not behind a proxy server, the response time